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

Side by Side Diff: chrome/test/pyautolib/pyautolib.i

Issue 1599038: Revert 44885 - Select and close previous theme info bars when resetting to de... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/pyautolib/pyautolib.cc ('k') | chrome/test/ui/infobars_uitest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Swig Interface for PyAuto. 5 // Swig Interface for PyAuto.
6 // PyAuto makes the Automation Proxy interface available in Python 6 // PyAuto makes the Automation Proxy interface available in Python
7 // 7 //
8 // Running swig as: 8 // Running swig as:
9 // swig -python -c++ chrome/test/pyautolib/pyautolib.i 9 // swig -python -c++ chrome/test/pyautolib/pyautolib.i
10 // would generate pyautolib.py, pyautolib_wrap.cxx 10 // would generate pyautolib.py, pyautolib_wrap.cxx
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 bool AppendTab(const GURL& tab_url, int window_index=0); 300 bool AppendTab(const GURL& tab_url, int window_index=0);
301 301
302 // Misc methods 302 // Misc methods
303 %feature("docstring", "Determine if the browser is running. " 303 %feature("docstring", "Determine if the browser is running. "
304 "Returns False if user closed the window or if the browser died") 304 "Returns False if user closed the window or if the browser died")
305 IsBrowserRunning; 305 IsBrowserRunning;
306 bool IsBrowserRunning(); 306 bool IsBrowserRunning();
307 307
308 %feature("docstring", "Install an extension from the given file. Returns " 308 %feature("docstring", "Install an extension from the given file. Returns "
309 "True if successfully installed and loaded.") InstallExtension; 309 "True if successfully installed and loaded.") InstallExtension;
310 bool InstallExtension(const FilePath& crx_file, bool with_ui); 310 bool InstallExtension(const FilePath& crx_file);
311 311
312 %feature("docstring", "Get a proxy to the browser window at the given " 312 %feature("docstring", "Get a proxy to the browser window at the given "
313 "zero-based index.") GetBrowserWindow; 313 "zero-based index.") GetBrowserWindow;
314 scoped_refptr<BrowserProxy> GetBrowserWindow(int window_index); 314 scoped_refptr<BrowserProxy> GetBrowserWindow(int window_index);
315 315
316 // Meta-method 316 // Meta-method
317 %feature("docstring", "Send a sync JSON request to Chrome. " 317 %feature("docstring", "Send a sync JSON request to Chrome. "
318 "Returns a JSON dict as a response. " 318 "Returns a JSON dict as a response. "
319 "Internal method.") 319 "Internal method.")
320 _SendJSONRequest; 320 _SendJSONRequest;
321 std::string _SendJSONRequest(int window_index, std::string request); 321 std::string _SendJSONRequest(int window_index, std::string request);
322 322
323 }; 323 };
324 324
OLDNEW
« no previous file with comments | « chrome/test/pyautolib/pyautolib.cc ('k') | chrome/test/ui/infobars_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698