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

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: 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
« 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 1e9b388dd983626c2624266c705aa3086ca8dfa6..cb679dbe1729f942013c10213116973d7ffef5ca 100644
--- a/chrome/test/pyautolib/pyautolib.i
+++ b/chrome/test/pyautolib/pyautolib.i
@@ -275,27 +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;
- bool GetBookmarkBarVisibility();
-
%feature("docstring", "Determine if the bookmark bar is detached. "
"This usually is only true on the NTP.") IsBookmarkBarDetached;
bool IsBookmarkBarDetached();
@@ -380,19 +362,6 @@ class PyUITestBase {
"first window.") GetTabCount;
int GetTabCount(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. "
- "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;
« 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