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

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

Issue 2827048: PyAuto: Automation hooks to get/set theme (Closed)
Patch Set: use existing ResetToDefaultTheme Created 10 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 unified diff | Download patch
« no previous file with comments | « chrome/test/pyautolib/pyautolib.cc ('k') | no next file » | 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 "True if successfully installed and loaded.") InstallExtension; 323 "True if successfully installed and loaded.") InstallExtension;
324 bool InstallExtension(const FilePath& crx_file, bool with_ui); 324 bool InstallExtension(const FilePath& crx_file, bool with_ui);
325 325
326 %feature("docstring", "Get a proxy to the browser window at the given " 326 %feature("docstring", "Get a proxy to the browser window at the given "
327 "zero-based index.") GetBrowserWindow; 327 "zero-based index.") GetBrowserWindow;
328 scoped_refptr<BrowserProxy> GetBrowserWindow(int window_index); 328 scoped_refptr<BrowserProxy> GetBrowserWindow(int window_index);
329 329
330 // Meta-method 330 // Meta-method
331 %feature("docstring", "Send a sync JSON request to Chrome. " 331 %feature("docstring", "Send a sync JSON request to Chrome. "
332 "Returns a JSON dict as a response. " 332 "Returns a JSON dict as a response. "
333 » » » "Internal method.") 333 "Internal method.")
334 _SendJSONRequest; 334 _SendJSONRequest;
335 std::string _SendJSONRequest(int window_index, std::string request); 335 std::string _SendJSONRequest(int window_index, std::string request);
336 336
337 %feature("docstring", "Resets to the default theme. "
338 "Returns true on success.") ResetToDefaultTheme;
339 bool ResetToDefaultTheme();
340
337 }; 341 };
338 342
OLDNEW
« 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