diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-16 05:06:09 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-16 05:06:09 +0000 |
commit | 66aa80642ff7c69481e60dddd4963cd440b54684 (patch) | |
tree | a4bff2cfb4290340ba0cb69645156f6e2fc6ea93 /chrome/browser/automation/testing_automation_provider.h | |
parent | 7e84b912f7ef7e5eb5b6b89342e14031d8c4845c (diff) | |
download | chromium_src-66aa80642ff7c69481e60dddd4963cd440b54684.zip chromium_src-66aa80642ff7c69481e60dddd4963cd440b54684.tar.gz chromium_src-66aa80642ff7c69481e60dddd4963cd440b54684.tar.bz2 |
Convert the keyboard access interactive ui_test use InProcessBrowserTest. Deflake the tests.
BUG=121574, 62311, 62310
Review URL: https://chromiumcodereview.appspot.com/10389154
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137365 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/testing_automation_provider.h')
-rw-r--r-- | chrome/browser/automation/testing_automation_provider.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h index ba40105..5c135c6 100644 --- a/chrome/browser/automation/testing_automation_provider.h +++ b/chrome/browser/automation/testing_automation_provider.h @@ -63,8 +63,6 @@ class TestingAutomationProvider : public AutomationProvider, virtual void OnChannelError() OVERRIDE; private: - class PopupMenuWaiter; - // Storage for ImportSettings() to resume operations after a callback. struct ImportSettingsData { string16 browser_name; @@ -170,23 +168,6 @@ class TestingAutomationProvider : public AutomationProvider, const std::wstring& script, IPC::Message* reply_message); -#if defined(TOOLKIT_VIEWS) - void GetFocusedViewID(int handle, int* view_id); - - // Block until the focused view ID changes to something other than - // previous_view_id. - void WaitForFocusedViewIDToChange(int handle, - int previous_view_id, - IPC::Message* reply_message); - - // Start tracking popup menus. Must be called before executing the - // command that might open the popup menu; then call WaitForPopupMenuToOpen. - void StartTrackingPopupMenus(int browser_handle, bool* success); - - // Wait until a popup menu has opened. - void WaitForPopupMenuToOpen(IPC::Message* reply_message); -#endif // defined(TOOLKIT_VIEWS) - void HandleInspectElementRequest(int handle, int x, int y, @@ -1601,15 +1582,6 @@ class TestingAutomationProvider : public AutomationProvider, const string16& frame_xpath, const string16& script, IPC::Message* reply_message, content::RenderViewHost* render_view_host); -#if defined(TOOLKIT_VIEWS) - // Keep track of whether a popup menu has been opened since the last time - // that StartTrackingPopupMenus has been called. - bool popup_menu_opened_; - - // A temporary object that receives a notification when a popup menu opens. - PopupMenuWaiter* popup_menu_waiter_; -#endif // defined(TOOLKIT_VIEWS) - #if defined(OS_CHROMEOS) // Avoid scoped ptr here to avoid having to define it completely in the // non-ChromeOS code. |