#include "chrome/test/chromedriver/chrome/chrome_android_impl.h"
#include <utility>
#include "base/strings/string_split.h"
#include "chrome/test/chromedriver/chrome/device_manager.h"
#include "chrome/test/chromedriver/chrome/devtools_client.h"
#include "chrome/test/chromedriver/chrome/devtools_event_listener.h"
#include "chrome/test/chromedriver/chrome/devtools_http_client.h"
#include "chrome/test/chromedriver/chrome/status.h"
#include "chrome/test/chromedriver/chrome/web_view_impl.h"
ChromeAndroidImpl::ChromeAndroidImpl(
BrowserInfo browser_info,
std::set<WebViewInfo::Type> window_types,
std::unique_ptr<DevToolsClient> websocket_client,
std::vector<std::unique_ptr<DevToolsEventListener>>
devtools_event_listeners,
std::optional<MobileDevice> mobile_device,
std::string page_load_strategy,
std::unique_ptr<Device> device,
bool autoaccept_beforeunload)
: … { … }
ChromeAndroidImpl::~ChromeAndroidImpl() = default;
Status ChromeAndroidImpl::GetAsDesktop(ChromeDesktopImpl** desktop) { … }
std::string ChromeAndroidImpl::GetOperatingSystemName() { … }
Status ChromeAndroidImpl::GetWindow(const std::string& target_id,
internal::Window& window) { … }
Status ChromeAndroidImpl::MaximizeWindow(const std::string& target_id) { … }
Status ChromeAndroidImpl::MinimizeWindow(const std::string& target_id) { … }
Status ChromeAndroidImpl::FullScreenWindow(const std::string& target_id) { … }
bool ChromeAndroidImpl::HasTouchScreen() const { … }
Status ChromeAndroidImpl::QuitImpl() { … }