Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8204)

Unified Diff: chrome/test/automation/browser_proxy.h

Issue 10388175: Remove all the unnused automation IPCs. These were used by UI tests that have been converted to bro… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/automation/automation_proxy.cc ('k') | chrome/test/automation/browser_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/browser_proxy.h
===================================================================
--- chrome/test/automation/browser_proxy.h (revision 137438)
+++ chrome/test/automation/browser_proxy.h (working copy)
@@ -51,9 +51,6 @@
// Returns true if successful.
bool AppendTab(const GURL& tab_url) WARN_UNUSED_RESULT;
- // Appends a new tab in the background (as if middle-clicking).
- bool AppendBackgroundTab(const GURL& tab_url) WARN_UNUSED_RESULT;
-
// Gets the (zero-based) index of the currently active tab. Returns true if
// successful.
bool GetActiveTabIndex(int* active_tab_index) const WARN_UNUSED_RESULT;
@@ -66,10 +63,6 @@
// successful.
bool GetType(Browser::Type* type) const WARN_UNUSED_RESULT;
- // Sets |is_application| to whether the browser is currently in application
- // mode.
- bool IsApplication(bool* is_application) WARN_UNUSED_RESULT;
-
// Returns the TabProxy for the tab at the given index, transferring
// ownership of the pointer to the caller. On failure, returns NULL.
//
@@ -120,10 +113,6 @@
// you don't need to call this function, just use FindInPage(...) directly.
bool OpenFindInPage() WARN_UNUSED_RESULT;
- // Get the x, y coordinates for the Find window. If animating, |x| and |y|
- // will be -1, -1. Returns false on failure.
- bool GetFindWindowLocation(int* x, int* y) WARN_UNUSED_RESULT;
-
// Returns whether the Find window is fully visible If animating, |is_visible|
// will be false. Returns false on failure.
bool IsFindWindowFullyVisible(bool* is_visible) WARN_UNUSED_RESULT;
@@ -177,45 +166,10 @@
// Shows or hides the download shelf.
bool SetShelfVisible(bool is_visible) WARN_UNUSED_RESULT;
- // Sets the int value of the specified preference.
- bool SetIntPreference(const std::string& name, int value) WARN_UNUSED_RESULT;
-
- // Sets the string value of the specified preference.
- bool SetStringPreference(const std::string& name,
- const std::string& value) WARN_UNUSED_RESULT;
-
- // Gets the boolean value of the specified preference.
- bool GetBooleanPreference(const std::string& name,
- bool* value) WARN_UNUSED_RESULT;
-
- // Sets the boolean value of the specified preference.
- bool SetBooleanPreference(const std::string& name,
- bool value) WARN_UNUSED_RESULT;
-
- // Sets default content settings.
- bool SetDefaultContentSetting(ContentSettingsType content_type,
- ContentSetting setting) WARN_UNUSED_RESULT;
-
- // Sets content settings for a particular host (overriding the default).
- bool SetContentSetting(const std::string& host,
- ContentSettingsType content_type,
- ContentSetting setting) WARN_UNUSED_RESULT;
-
// Simulates a termination the browser session (as if the user logged off the
// mahine).
bool TerminateSession() WARN_UNUSED_RESULT;
- // Sets |is_fullscreen| to whether the browser is currently in fullscreen
- // mode.
- bool IsFullscreen(bool* is_fullscreen) WARN_UNUSED_RESULT;
-
- // Sets |is_visible| to whether the browser's fullscreen bubble is visible.
- bool IsFullscreenBubbleVisible(bool* is_visible) WARN_UNUSED_RESULT;
-
- // Shuts down the session service for the browser's profile. Returns true
- // on success.
- bool ShutdownSessionService() WARN_UNUSED_RESULT;
-
// Generic pattern for sending automation requests.
bool SendJSONRequest(const std::string& request,
int timeout_ms,
« no previous file with comments | « chrome/test/automation/automation_proxy.cc ('k') | chrome/test/automation/browser_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698