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

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

Issue 10804038: Convert cookie and download automation commands to the JSON interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 5 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/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 70da0310118278ec88d65ea1ab7dcfb3da5fc5a8..8638ed708c1feef8fdf51d4d5f3d7ef5ffe64636 100644
--- a/chrome/test/pyautolib/pyautolib.i
+++ b/chrome/test/pyautolib/pyautolib.i
@@ -275,22 +275,9 @@ class PyUITestBase {
set_clear_profile;
void set_clear_profile(bool clear_profile);
- // Get/fetch properties
- %feature("docstring",
- "Get the path to download directory.") GetDownloadDirectory;
- FilePath GetDownloadDirectory();
-
%feature("docstring", "Get the path to profile directory.") user_data_dir;
FilePath user_data_dir() const;
- %feature("docstring", "Set download shelf visibility for the given or "
- "first browser window.") SetDownloadShelfVisible;
- void SetDownloadShelfVisible(bool is_visible, int window_index=0);
-
- %feature("docstring", "Determine if the download shelf is visible in the "
- "given or first browser window.") IsDownloadShelfVisible;
- bool IsDownloadShelfVisible(int window_index=0);
-
%feature("docstring", "Determine if the bookmark bar is visible. "
"If the NTP is visible, only return true if attached "
"(to the chrome).") GetBookmarkBarVisibility;
@@ -363,19 +350,6 @@ class PyUITestBase {
GetBrowserWindowCount;
int GetBrowserWindowCount();
- %feature("docstring", "Set the value of the cookie at cookie_url to value "
- "for the given window index and tab index. "
- "Returns True on success.") SetCookie;
- bool SetCookie(const GURL& cookie_url, const std::string& value,
- int window_index=0, int tab_index=0);
-
- %feature("docstring", "Get the value of the cookie at cookie_url for the "
- "given window index and tab index. "
- "Returns empty string on error or if there is no value for the "
- "cookie.") GetCookie;
- std::string GetCookie(const GURL& cookie_url, int window_index=0,
- int tab_index=0);
-
// Misc methods
%feature("docstring", "Get a proxy to the browser window at the given "
"zero-based index.") GetBrowserWindow;
« no previous file with comments | « chrome/test/pyautolib/pyautolib.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698