#ifndef EXTENSIONS_COMMON_API_AUTOMATION_INTERNAL_H__
#define EXTENSIONS_COMMON_API_AUTOMATION_INTERNAL_H__
#include <stdint.h>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "base/values.h"
namespace extensions {
namespace api {
namespace automation_internal {
struct AXEventParams { … };
struct AXTextLocationParams { … };
struct PerformActionRequiredParams { … };
struct PerformCustomActionParams { … };
struct SetSelectionParams { … };
struct ReplaceSelectedTextParams { … };
struct SetValueParams { … };
struct ScrollToPointParams { … };
struct ScrollToPositionAtRowColumnParams { … };
struct SetScrollOffsetParams { … };
struct GetImageDataParams { … };
struct HitTestParams { … };
struct GetTextLocationDataParams { … };
namespace EnableTree {
struct Params { … };
}
namespace EnableDesktop {
namespace Results {
base::Value::List Create(const std::string& tree_id);
}
}
namespace DisableDesktop {
namespace Results {
base::Value::List Create();
}
}
namespace PerformAction {
struct Params { … };
}
namespace OnAccessibilityEvent {
extern const char kEventName[];
base::Value::List Create(const AXEventParams& update);
}
namespace OnAccessibilityTreeDestroyed {
extern const char kEventName[];
base::Value::List Create(const std::string& tree_id);
}
namespace OnGetTextLocationResult {
extern const char kEventName[];
base::Value::List Create(const AXTextLocationParams& params);
}
namespace OnTreeChange {
extern const char kEventName[];
base::Value::List Create(int observer_id, const std::string& tree_id, int node_id, const std::string& change_type);
}
namespace OnChildTreeID {
extern const char kEventName[];
base::Value::List Create(const std::string& tree_id);
}
namespace OnNodesRemoved {
extern const char kEventName[];
base::Value::List Create(const std::string& tree_id, const std::vector<int>& node_i_ds);
}
namespace OnAccessibilityTreeSerializationError {
extern const char kEventName[];
base::Value::List Create(const std::string& tree_id);
}
namespace OnActionResult {
extern const char kEventName[];
base::Value::List Create(const std::string& tree_id, int request_id, bool result);
}
namespace OnAllAutomationEventListenersRemoved {
extern const char kEventName[];
base::Value::List Create();
}
}
}
}
#endif