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

Unified Diff: chrome/test/pyautolib/pyautolib.i

Issue 10692067: Convert PyAuto's NavigateToURL, GetActiveTabIndex, Refresh, RefreshActiveTab, and AppendTab to the … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 6 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
« chrome/test/pyautolib/pyauto.py ('K') | « chrome/test/pyautolib/pyautolib.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/pyautolib/pyautolib.i
diff --git a/chrome/test/pyautolib/pyautolib.i b/chrome/test/pyautolib/pyautolib.i
index 7d959a6cc6baa13b8f2ebc2c080aacaba0613964..0ee4bea16932d72e4910fd37df5db9a5921e458c 100644
--- a/chrome/test/pyautolib/pyautolib.i
+++ b/chrome/test/pyautolib/pyautolib.i
@@ -275,21 +275,6 @@ class PyUITestBase {
set_clear_profile;
void set_clear_profile(bool clear_profile);
- // Navigation Methods
- %feature("docstring", "Navigate to the given url in the given tab and given "
- "window (or active tab in first window if indexes not given). "
- "Note that this method also activates the corresponding tab/window "
- "if it's not active already. Blocks until page has loaded.")
- NavigateToURL;
- void NavigateToURL(const char* url_string);
- void NavigateToURL(const char* url_string, int window_index);
- void NavigateToURL(const char* url_string, int window_index, int tab_index);
-
- %feature("docstring", "Reload the active tab in the given window (or first "
- "window if index not given). Blocks until page has reloaded.")
- ReloadActiveTab;
- void ReloadActiveTab(int window_index = 0);
-
// BrowserProxy methods
%feature("docstring", "Apply the accelerator with given id "
"(IDC_BACK, IDC_NEWTAB ...) to the given or first window. "
@@ -394,9 +379,6 @@ class PyUITestBase {
GetBrowserWindowCount;
int GetBrowserWindowCount();
- %feature("docstring", "Get the index of the active tab in the given or "
- "first window. Indexes are zero-based.") GetActiveTabIndex;
- int GetActiveTabIndex(int window_index=0);
%feature("docstring", "Activate the tab at the given zero-based index in "
"the given or first window. Also brings the window to the front. "
"Returns True on success.") ActivateTab;
@@ -413,10 +395,6 @@ class PyUITestBase {
%feature("docstring", "Count of the number of tabs in the given or "
"first window.") GetTabCount;
int GetTabCount(int window_index=0);
- %feature("docstring", "Create a new tab at the end of given or first browser "
- "window and activate it. Blocks until the page is loaded. "
- "Returns True on success.") AppendTab;
- bool AppendTab(const GURL& tab_url, int window_index=0);
%feature("docstring", "Set the value of the cookie at cookie_url to value "
"for the given window index and tab index. "
« chrome/test/pyautolib/pyauto.py ('K') | « chrome/test/pyautolib/pyautolib.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698