#ifndef EXTENSIONS_COMMON_API_WEB_VIEW_INTERNAL_H__
#define EXTENSIONS_COMMON_API_WEB_VIEW_INTERNAL_H__
#include <stdint.h>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "base/values.h"
#include <string_view>
#include "extensions/common/api/extension_types.h"
namespace extensions {
namespace api {
namespace web_view_internal {
extern const int MAX_CAPTURE_VISIBLE_REGION_CALLS_PER_SECOND;
struct DataTypeSet { … };
struct RemovalOptions { … };
enum class ZoomMode { … };
const char* ToString(ZoomMode as_enum);
ZoomMode ParseZoomMode(std::string_view as_string);
std::u16string GetZoomModeParseError(std::string_view as_string);
enum class StopFindingAction { … };
const char* ToString(StopFindingAction as_enum);
StopFindingAction ParseStopFindingAction(std::string_view as_string);
std::u16string GetStopFindingActionParseError(std::string_view as_string);
enum class SetPermissionAction { … };
const char* ToString(SetPermissionAction as_enum);
SetPermissionAction ParseSetPermissionAction(std::string_view as_string);
std::u16string GetSetPermissionActionParseError(std::string_view as_string);
struct InjectionItems { … };
struct ContentScriptDetails { … };
namespace GetAudioState {
struct Params { … };
namespace Results {
base::Value::List Create(bool audible);
}
}
namespace SetAudioMuted {
struct Params { … };
}
namespace IsAudioMuted {
struct Params { … };
namespace Results {
base::Value::List Create(bool muted);
}
}
namespace ExecuteScript {
struct Params { … };
namespace Results {
base::Value::List Create(const base::Value::List& result);
}
}
namespace InsertCSS {
struct Params { … };
namespace Results {
base::Value::List Create();
}
}
namespace AddContentScripts {
struct Params { … };
}
namespace RemoveContentScripts {
struct Params { … };
}
namespace SetZoom {
struct Params { … };
namespace Results {
base::Value::List Create();
}
}
namespace GetZoom {
struct Params { … };
namespace Results {
base::Value::List Create(double zoom_factor);
}
}
namespace SetZoomMode {
struct Params { … };
namespace Results {
base::Value::List Create();
}
}
namespace GetZoomMode {
struct Params { … };
namespace Results {
base::Value::List Create(const ZoomMode& zoom_mode);
}
}
namespace Find {
struct Params { … };
namespace Results {
struct Results { … };
base::Value::List Create(const Results& results);
}
}
namespace StopFinding {
struct Params { … };
}
namespace LoadDataWithBaseUrl {
struct Params { … };
namespace Results {
base::Value::List Create();
}
}
namespace Go {
struct Params { … };
namespace Results {
base::Value::List Create(bool success);
}
}
namespace OverrideUserAgent {
struct Params { … };
}
namespace Reload {
struct Params { … };
}
namespace SetAllowTransparency {
struct Params { … };
}
namespace SetAllowScaling {
struct Params { … };
}
namespace SetName {
struct Params { … };
}
namespace SetPermission {
struct Params { … };
namespace Results {
base::Value::List Create(bool allowed);
}
}
namespace Navigate {
struct Params { … };
}
namespace Stop {
struct Params { … };
}
namespace Terminate {
struct Params { … };
}
namespace CaptureVisibleRegion {
struct Params { … };
namespace Results {
base::Value::List Create(const std::string& data_url);
}
}
namespace SetSpatialNavigationEnabled {
struct Params { … };
}
namespace IsSpatialNavigationEnabled {
struct Params { … };
namespace Results {
base::Value::List Create(bool spatial_nav_enabled);
}
}
namespace ClearData {
struct Params { … };
namespace Results {
base::Value::List Create();
}
}
}
}
}
#endif