Home | History | Annotate | Download | only in automation

Lines Matching defs:TestingAutomationProvider

143 TestingAutomationProvider::TestingAutomationProvider(Profile* profile)
154 TestingAutomationProvider::~TestingAutomationProvider() {
158 void TestingAutomationProvider::OnBrowserAdded(const Browser* browser) {
161 void TestingAutomationProvider::OnBrowserRemoved(const Browser* browser) {
170 NewRunnableMethod(this, &TestingAutomationProvider::OnRemoveProvider));
174 void TestingAutomationProvider::OnSourceProfilesLoaded() {
208 void TestingAutomationProvider::Observe(NotificationType type,
218 bool TestingAutomationProvider::OnMessageReceived(
222 IPC_BEGIN_MESSAGE_MAP_EX(TestingAutomationProvider,
419 void TestingAutomationProvider::OnChannelError() {
426 void TestingAutomationProvider::CloseBrowser(int browser_handle,
436 void TestingAutomationProvider::CloseBrowserAsync(int browser_handle) {
444 void TestingAutomationProvider::ActivateTab(int handle,
457 void TestingAutomationProvider::AppendTab(int handle,
487 void TestingAutomationProvider::GetActiveTabIndex(int handle,
496 void TestingAutomationProvider::CloseTab(int tab_handle,
513 void TestingAutomationProvider::GetCookies(const GURL& url, int handle,
521 void TestingAutomationProvider::SetCookie(const GURL& url,
530 void TestingAutomationProvider::DeleteCookie(const GURL& url,
538 void TestingAutomationProvider::ShowCollectedCookiesDialog(
549 void TestingAutomationProvider::NavigateToURLBlockUntilNavigationsComplete(
574 void TestingAutomationProvider::NavigationAsync(int handle,
580 void TestingAutomationProvider::NavigationAsyncWithDisposition(
603 void TestingAutomationProvider::Reload(int handle,
621 void TestingAutomationProvider::SetAuth(int tab_handle,
646 void TestingAutomationProvider::CancelAuth(int tab_handle,
667 void TestingAutomationProvider::NeedsAuth(int tab_handle, bool* needs_auth) {
681 void TestingAutomationProvider::GetRedirectsFrom(int tab_handle,
702 &TestingAutomationProvider::OnRedirectQueryComplete));
713 void TestingAutomationProvider::GetBrowserWindowCount(int* window_count) {
717 void TestingAutomationProvider::GetNormalBrowserWindowCount(int* window_count) {
722 void TestingAutomationProvider::GetBrowserWindow(int index, int* handle) {
729 void TestingAutomationProvider::FindNormalBrowserWindow(int* handle) {
738 void TestingAutomationProvider::GetLastActiveBrowserWindow(int* handle) {
745 void TestingAutomationProvider::GetActiveWindow(int* handle) {
754 void TestingAutomationProvider::ExecuteBrowserCommandAsync(int handle,
768 void TestingAutomationProvider::ExecuteBrowserCommand(
805 void TestingAutomationProvider::GetBrowserLocale(string16* locale) {
809 void TestingAutomationProvider::IsWindowActive(int handle,
822 void TestingAutomationProvider::WindowSimulateClick(const IPC::Message& message,
833 void TestingAutomationProvider::WindowSimulateMouseMove(
841 void TestingAutomationProvider::WindowSimulateKeyPress(
862 void TestingAutomationProvider::WebkitMouseClick(DictionaryValue* args,
907 void TestingAutomationProvider::WebkitMouseMove(
929 void TestingAutomationProvider::WebkitMouseDrag(DictionaryValue* args,
977 void TestingAutomationProvider::GetTabCount(int handle, int* tab_count) {
986 void TestingAutomationProvider::GetType(int handle, int* type_as_int) {
995 void TestingAutomationProvider::GetTab(int win_handle,
1008 void TestingAutomationProvider::GetTabProcessID(int handle, int* process_id) {
1021 void TestingAutomationProvider::GetTabTitle(int handle,
1037 void TestingAutomationProvider::GetTabIndex(int handle, int* tabstrip_index) {
1047 void TestingAutomationProvider::GetTabURL(int handle,
1059 void TestingAutomationProvider::GetShelfVisibility(int handle, bool* visible) {
1074 void TestingAutomationProvider::IsFullscreen(int handle, bool* visible) {
1084 void TestingAutomationProvider::GetFullscreenBubbleVisibility(int handle,
1095 void TestingAutomationProvider::GetAutocompleteEditText(
1107 void TestingAutomationProvider::SetAutocompleteEditText(
1119 void TestingAutomationProvider::AutocompleteEditGetMatches(
1135 void TestingAutomationProvider::WaitForAutocompleteEditFocus(
1158 void TestingAutomationProvider::GetAutocompleteEditForBrowser(
1175 void TestingAutomationProvider::AutocompleteEditIsQueryInProgress(
1189 void TestingAutomationProvider::ExecuteJavascript(
1217 void TestingAutomationProvider::GetConstrainedWindowCount(int handle,
1228 void TestingAutomationProvider::HandleInspectElementRequest(
1243 void TestingAutomationProvider::GetDownloadDirectory(
1252 void TestingAutomationProvider::OpenNewBrowserWindowOfType(
1264 void TestingAutomationProvider::GetWindowForBrowser(int browser_handle,
1279 void TestingAutomationProvider::GetBrowserForWindow(int window_handle,
1301 void TestingAutomationProvider::ShowInterstitialPage(
1325 void TestingAutomationProvider::HideInterstitialPage(int tab_handle,
1335 void TestingAutomationProvider::WaitForTabToBeRestored(
1349 void TestingAutomationProvider::GetSecurityState(int handle,
1369 void TestingAutomationProvider::GetPageType(
1389 void TestingAutomationProvider::GetMetricEventDuration(
1396 void TestingAutomationProvider::ActionOnSSLBlockingPage(
1428 void TestingAutomationProvider::BringBrowserToFront(int browser_handle,
1438 void TestingAutomationProvider::IsMenuCommandEnabled(int browser_handle,
1449 void TestingAutomationProvider::PrintNow(int tab_handle,
1474 void TestingAutomationProvider::SavePage(int tab_handle,
1505 void TestingAutomationProvider::HandleOpenFindInPageRequest(
1513 void TestingAutomationProvider::GetFindWindowVisibility(int handle,
1524 void TestingAutomationProvider::HandleFindWindowLocationRequest(int handle,
1542 void TestingAutomationProvider::GetBookmarkBarVisibility(int handle,
1571 void TestingAutomationProvider::GetBookmarksAsJSON(
1590 void TestingAutomationProvider::WaitForBookmarkModelToLoad(
1608 void TestingAutomationProvider::AddBookmarkGroup(int handle,
1635 void TestingAutomationProvider::AddBookmarkURL(int handle,
1663 void TestingAutomationProvider::ReparentBookmark(int handle,
1689 void TestingAutomationProvider::SetBookmarkTitle(int handle,
1712 void TestingAutomationProvider::SetBookmarkURL(int handle,
1735 void TestingAutomationProvider::RemoveBookmark(int handle,
1759 void TestingAutomationProvider::GetInfoBarCount(int handle, size_t* count) {
1768 void TestingAutomationProvider::ClickInfoBarAccept(
1802 void TestingAutomationProvider::GetLastNavigationTime(
1809 void TestingAutomationProvider::WaitForNavigation(int handle,
1827 void TestingAutomationProvider::SetIntPreference(int handle,
1839 void TestingAutomationProvider::SetStringPreference(int handle,
1851 void TestingAutomationProvider::GetBooleanPreference(int handle,
1864 void TestingAutomationProvider::SetBooleanPreference(int handle,
1876 void TestingAutomationProvider::GetShowingAppModalDialog(bool* showing_dialog,
1893 void TestingAutomationProvider::ClickAppModalDialogButton(int button,
1915 void TestingAutomationProvider::WaitForBrowserWindowCountToBecome(
1929 void TestingAutomationProvider::WaitForAppModalDialogToBeShown(
1942 void TestingAutomationProvider::GoBackBlockUntilNavigationsComplete(
1960 void TestingAutomationProvider::GoForwardBlockUntilNavigationsComplete(
1978 void TestingAutomationProvider::SavePackageShouldPromptUser(
1983 void TestingAutomationProvider::SetShelfVisibility(int handle, bool visible) {
2004 void TestingAutomationProvider::GetBlockedPopupCount(int handle, int* count) {
2023 void TestingAutomationProvider::SendJSONRequest(int handle,
2053 &TestingAutomationProvider::WaitForAllTabsToStopLoading;
2055 &TestingAutomationProvider::GetIndicesFromTab;
2057 &TestingAutomationProvider::NavigateToURL;
2059 &TestingAutomationProvider::ExecuteJavascriptJSON;
2061 &TestingAutomationProvider::GoForward;
2063 &TestingAutomationProvider::GoBack;
2065 &TestingAutomationProvider::ReloadJSON;
2067 &TestingAutomationProvider::GetTabURLJSON;
2069 &TestingAutomationProvider::GetTabTitleJSON;
2071 &TestingAutomationProvider::CaptureEntirePageJSON;
2073 &TestingAutomationProvider::GetCookiesJSON;
2075 &TestingAutomationProvider::DeleteCookieJSON;
2077 &TestingAutomationProvider
2079 &TestingAutomationProvider::GetTabIds;
2081 &TestingAutomationProvider::IsTabIdValid;
2083 &TestingAutomationProvider::CloseTabJSON;
2085 &TestingAutomationProvider::WebkitMouseMove;
2087 &TestingAutomationProvider::WebkitMouseClick;
2089 &TestingAutomationProvider::WebkitMouseDrag;
2091 &TestingAutomationProvider::SendWebkitKeyEvent;
2093 &TestingAutomationProvider::SendOSLevelKeyEventToTab;
2095 &TestingAutomationProvider::ActivateTabJSON;
2097 &TestingAutomationProvider::UpdateExtensionsNow;
2099 &TestingAutomationProvider::GetChromeDriverAutomationVersion;
2101 handler_map["GetLoginInfo"] = &TestingAutomationProvider::GetLoginInfo;
2102 handler_map["LoginAsGuest"] = &TestingAutomationProvider::LoginAsGuest;
2103 handler_map["Login"] = &TestingAutomationProvider::Login;
2105 handler_map["LockScreen"] = &TestingAutomationProvider::LockScreen;
2106 handler_map["UnlockScreen"] = &TestingAutomationProvider::UnlockScreen;
2108 &TestingAutomationProvider::SignoutInScreenLocker;
2110 handler_map["GetBatteryInfo"] = &TestingAutomationProvider::GetBatteryInfo;
2112 handler_map["GetNetworkInfo"] = &TestingAutomationProvider::GetNetworkInfo;
2113 handler_map["NetworkScan"] = &TestingAutomationProvider::NetworkScan;
2115 &TestingAutomationProvider::GetProxySettings;
2117 &TestingAutomationProvider::SetProxySettings;
2119 &TestingAutomationProvider::ConnectToWifiNetwork;
2121 &TestingAutomationProvider::ConnectToHiddenWifiNetwork;
2123 &TestingAutomationProvider::DisconnectFromWifiNetwork;
2125 handler_map["GetUpdateInfo"] = &TestingAutomationProvider::GetUpdateInfo;
2126 handler_map["UpdateCheck"] = &TestingAutomationProvider::UpdateCheck;
2127 handler_map["SetReleaseTrack"] = &TestingAutomationProvider::SetReleaseTrack;
2132 &TestingAutomationProvider::DisablePlugin;
2134 &TestingAutomationProvider::EnablePlugin;
2136 &TestingAutomationProvider::GetPluginsInfo;
2139 &TestingAutomationProvider::GetBrowserInfo;
2142 &TestingAutomationProvider::GetNavigationInfo;
2145 &TestingAutomationProvider::PerformActionOnInfobar;
2148 &TestingAutomationProvider::GetHistoryInfo;
2150 &TestingAutomationProvider::AddHistoryItem;
2153 &TestingAutomationProvider::GetOmniboxInfo;
2155 &TestingAutomationProvider::SetOmniboxText;
2157 &TestingAutomationProvider::OmniboxAcceptInput;
2159 &TestingAutomationProvider::OmniboxMovePopupSelection;
2162 &TestingAutomationProvider::GetInstantInfo;
2165 &TestingAutomationProvider::LoadSearchEngineInfo;
2167 &TestingAutomationProvider::GetSearchEngineInfo;
2169 &TestingAutomationProvider::AddOrEditSearchEngine;
2171 &TestingAutomationProvider::PerformActionOnSearchEngine;
2174 &TestingAutomationProvider::GetPrefsInfo;
2175 browser_handler_map["SetPrefs"] = &TestingAutomationProvider::SetPrefs;
2178 &TestingAutomationProvider::SetWindowDimensions;
2181 &TestingAutomationProvider::GetDownloadsInfo;
2183 &TestingAutomationProvider::WaitForDownloadsToComplete;
2185 &TestingAutomationProvider::PerformActionOnDownload;
2188 &TestingAutomationProvider::GetInitialLoadTimes;
2191 &TestingAutomationProvider::SaveTabContents;
2194 &TestingAutomationProvider::ImportSettings;
2197 &TestingAutomationProvider::AddSavedPassword;
2199 &TestingAutomationProvider::RemoveSavedPassword;
2201 &TestingAutomationProvider::GetSavedPasswords;
2204 &TestingAutomationProvider::ClearBrowsingData;
2207 &TestingAutomationProvider::GetBlockedPopupsInfo;
2209 &TestingAutomationProvider::UnblockAndLaunchBlockedPopup;
2213 &TestingAutomationProvider::GetThemeInfo;
2217 &TestingAutomationProvider::GetExtensionsInfo;
2219 &TestingAutomationProvider::UninstallExtensionById;
2221 browser_handler_map["FindInPage"] = &TestingAutomationProvider::FindInPage;
2224 &TestingAutomationProvider::SelectTranslateOption;
2226 &TestingAutomationProvider::GetTranslateInfo;
2229 &TestingAutomationProvider::GetAutofillProfile;
2231 &TestingAutomationProvider::FillAutofillProfile;
2234 &TestingAutomationProvider::GetActiveNotifications;
2236 &TestingAutomationProvider::CloseNotification;
2238 &TestingAutomationProvider::WaitForNotificationCount;
2241 &TestingAutomationProvider::SignInToSync;
2242 browser_handler_map["GetSyncInfo"] = &TestingAutomationProvider::GetSyncInfo;
2244 &TestingAutomationProvider::AwaitSyncCycleCompletion;
2246 &TestingAutomationProvider::EnableSyncForDatatypes;
2248 &TestingAutomationProvider::DisableSyncForDatatypes;
2251 &TestingAutomationProvider::GetNTPInfo;
2253 &TestingAutomationProvider::MoveNTPMostVisitedThumbnail;
2255 &TestingAutomationProvider::RemoveNTPMostVisitedThumbnail;
2257 &TestingAutomationProvider::UnpinNTPMostVisitedThumbnail;
2259 &TestingAutomationProvider::RestoreAllNTPMostVisitedThumbnails;
2262 &TestingAutomationProvider::KillRendererProcess;
2265 &TestingAutomationProvider::GetNTPThumbnailMode;
2267 &TestingAutomationProvider::SetNTPThumbnailMode;
2269 &TestingAutomationProvider::GetNTPMenuMode;
2271 &TestingAutomationProvider::SetNTPMenuMode;
2273 browser_handler_map["LaunchApp"] = &TestingAutomationProvider::LaunchApp;
2275 &TestingAutomationProvider::SetAppLaunchType;
2307 void TestingAutomationProvider::SetWindowDimensions(
2325 ListValue* TestingAutomationProvider::GetInfobarsInfo(TabContents* tc) {
2380 void TestingAutomationProvider::PerformActionOnInfobar(
2475 TestingAutomationProvider::GetBrowserInfo(
2596 void TestingAutomationProvider::GetNavigationInfo(
2647 void TestingAutomationProvider::GetHistoryInfo(Browser* browser,
2675 void TestingAutomationProvider::AddHistoryItem(Browser* browser,
2717 void TestingAutomationProvider::GetDownloadsInfo(Browser* browser,
2739 void TestingAutomationProvider::WaitForDownloadsToComplete(
2792 void TestingAutomationProvider::PerformActionOnDownload(
2856 void TestingAutomationProvider::LoadSearchEngineInfo(
2872 void TestingAutomationProvider::GetSearchEngineInfo(
2904 void TestingAutomationProvider::AddOrEditSearchEngine(
2945 void TestingAutomationProvider::PerformActionOnSearchEngine(
2981 void TestingAutomationProvider::GetPrefsInfo(Browser* browser,
2992 void TestingAutomationProvider::SetPrefs(Browser* browser,
3021 void TestingAutomationProvider::GetOmniboxInfo(Browser* browser,
3060 void TestingAutomationProvider::SetOmniboxText(Browser* browser,
3081 void TestingAutomationProvider::OmniboxMovePopupSelection(
3098 void TestingAutomationProvider::OmniboxAcceptInput(
3109 void TestingAutomationProvider::GetInstantInfo(Browser* browser,
3136 void TestingAutomationProvider::GetInitialLoadTimes(
3152 void TestingAutomationProvider::GetPluginsInfo(
3202 void TestingAutomationProvider::EnablePlugin(Browser* browser,
3222 void TestingAutomationProvider::DisablePlugin(Browser* browser,
3245 void TestingAutomationProvider::SaveTabContents(
3285 void TestingAutomationProvider::ImportSettings(Browser* browser,
3390 void TestingAutomationProvider::AddSavedPassword(
3433 void TestingAutomationProvider::RemoveSavedPassword(
3466 void TestingAutomationProvider::GetSavedPasswords(
3483 void TestingAutomationProvider::ClearBrowsingData(
3574 void TestingAutomationProvider::FindInPage(
3620 void TestingAutomationProvider::GetTranslateInfo(
3654 void TestingAutomationProvider::SelectTranslateOption(
3774 void TestingAutomationProvider::GetBlockedPopupsInfo(
3806 void TestingAutomationProvider::UnblockAndLaunchBlockedPopup(
3839 void TestingAutomationProvider::GetThemeInfo(
3882 void TestingAutomationProvider::GetExtensionsInfo(
3918 void TestingAutomationProvider::UninstallExtensionById(
3954 void TestingAutomationProvider::GetAutofillProfile(
3995 void TestingAutomationProvider::FillAutofillProfile(
4053 void TestingAutomationProvider::SignInToSync(Browser* browser,
4094 void TestingAutomationProvider::GetSyncInfo(Browser* browser,
4130 void TestingAutomationProvider::AwaitSyncCycleCompletion(
4167 void TestingAutomationProvider::EnableSyncForDatatypes(
4219 void TestingAutomationProvider::DisableSyncForDatatypes(
4282 ListValue* TestingAutomationProvider::GetListFromAutofillProfiles(
4310 ListValue* TestingAutomationProvider::GetListFromCreditCards(
4340 TestingAutomationProvider::GetAutofillProfilesFromList(
4373 std::vector<CreditCard> TestingAutomationProvider::GetCreditCardsFromList(
4406 TestingAutomationProvider::GetAutofillFieldToStringMap() {
4433 TestingAutomationProvider::GetCreditCardFieldToStringMap() {
4445 void TestingAutomationProvider::GetActiveNotifications(
4455 void TestingAutomationProvider::CloseNotification(
4483 void TestingAutomationProvider::WaitForNotificationCount(
4507 void TestingAutomationProvider::GetNTPInfo(
4515 void TestingAutomationProvider::MoveNTPMostVisitedThumbnail(
4549 void TestingAutomationProvider::RemoveNTPMostVisitedThumbnail(
4568 void TestingAutomationProvider::UnpinNTPMostVisitedThumbnail(
4587 void TestingAutomationProvider::RestoreAllNTPMostVisitedThumbnails(
4601 void TestingAutomationProvider::KillRendererProcess(
4622 bool TestingAutomationProvider::BuildWebKeyEventFromArgs(
4704 void TestingAutomationProvider::SendWebkitKeyEvent(
4725 void TestingAutomationProvider::SendOSLevelKeyEventToTab(
4773 &TestingAutomationProvider::SendSuccessReply, reply_message))) {
4779 void TestingAutomationProvider::SendSuccessReply(IPC::Message* reply_message) {
4786 void TestingAutomationProvider::GetNTPThumbnailMode(
4807 void TestingAutomationProvider::SetNTPThumbnailMode(
4851 void TestingAutomationProvider::GetNTPMenuMode(
4874 void TestingAutomationProvider::SetNTPMenuMode(
4917 void TestingAutomationProvider::LaunchApp(
4968 void TestingAutomationProvider::SetAppLaunchType(
5019 void TestingAutomationProvider::WaitForAllTabsToStopLoading(
5026 void TestingAutomationProvider::GetIndicesFromTab(
5071 void TestingAutomationProvider::NavigateToURL(
5099 void TestingAutomationProvider::ExecuteJavascriptJSON(
5136 void TestingAutomationProvider::GoForward(
5157 void TestingAutomationProvider::GoBack(
5178 void TestingAutomationProvider::ReloadJSON(
5193 void TestingAutomationProvider::GetTabURLJSON(
5208 void TestingAutomationProvider::GetTabTitleJSON(
5223 void TestingAutomationProvider::CaptureEntirePageJSON(
5254 void TestingAutomationProvider::GetCookiesJSON(
5259 void TestingAutomationProvider::DeleteCookieJSON(
5264 void TestingAutomationProvider::SetCookieJSON(
5269 void TestingAutomationProvider::GetTabIds(
5285 void TestingAutomationProvider::IsTabIdValid(
5310 void TestingAutomationProvider::CloseTabJSON(
5324 void TestingAutomationProvider::ActivateTabJSON(
5342 void TestingAutomationProvider::UpdateExtensionsNow(
5373 void TestingAutomationProvider::GetChromeDriverAutomationVersion(
5381 void TestingAutomationProvider::WaitForTabCountToBecome(
5398 void TestingAutomationProvider::WaitForInfoBarCount(
5421 void TestingAutomationProvider::GetPageCurrentEncoding(
5433 void TestingAutomationProvider::ShutdownSessionService(int handle,
5444 void TestingAutomationProvider::SetContentSetting(
5465 void TestingAutomationProvider::LoadBlockedPlugins(int tab_handle,
5480 void TestingAutomationProvider::ResetToDefaultTheme() {
5484 void TestingAutomationProvider::WaitForProcessLauncherThreadToGoIdle(
5489 void TestingAutomationProvider::GetParentBrowserOfTab(int tab_handle,
5505 void TestingAutomationProvider::OnRedirectQueryComplete(
5527 void TestingAutomationProvider::OnRemoveProvider() {