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

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

Issue 4731001: Fix pyauto tests, to refer to chrome_command_ids.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 | « no previous file | 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
11 11
12 // When adding a new class or method, make sure you specify the doc string using 12 // When adding a new class or method, make sure you specify the doc string using
13 // %feature("docstring", "doc string goes here") NODENAME; 13 // %feature("docstring", "doc string goes here") NODENAME;
14 // and attach it to your node (class or method). This doc string will be 14 // and attach it to your node (class or method). This doc string will be
15 // copied over in the generated python classes/methods. 15 // copied over in the generated python classes/methods.
16 16
17 %module(docstring="Python interface to Automtion Proxy.") pyautolib 17 %module(docstring="Python interface to Automtion Proxy.") pyautolib
18 %feature("autodoc", "1"); 18 %feature("autodoc", "1");
19 19
20 %include <std_wstring.i> 20 %include <std_wstring.i>
21 %include <std_string.i> 21 %include <std_string.i>
22 22
23 %include "chrome/test/pyautolib/argc_argv.i" 23 %include "chrome/test/pyautolib/argc_argv.i"
24 24
25 // NOTE: All files included in this file should also be listed under 25 // NOTE: All files included in this file should also be listed under
26 // pyautolib_sources in chrome_tests.gypi. 26 // pyautolib_sources in chrome_tests.gypi.
27 27
28 // Headers that can be swigged directly. 28 // Headers that can be swigged directly.
29 %include "chrome/app/chrome_dll_resource.h" 29 %include "chrome/app/chrome_command_ids.h"
30 %include "chrome/common/pref_names.h" 30 %include "chrome/common/pref_names.h"
31 %include "chrome/test/automation/automation_constants.h" 31 %include "chrome/test/automation/automation_constants.h"
32 32
33 %{ 33 %{
34 #include "chrome/common/pref_names.h" 34 #include "chrome/common/pref_names.h"
35 #include "chrome/test/automation/automation_constants.h" 35 #include "chrome/test/automation/automation_constants.h"
36 #include "chrome/test/automation/browser_proxy.h" 36 #include "chrome/test/automation/browser_proxy.h"
37 #include "chrome/test/automation/tab_proxy.h" 37 #include "chrome/test/automation/tab_proxy.h"
38 #include "chrome/test/pyautolib/pyautolib.h" 38 #include "chrome/test/pyautolib/pyautolib.h"
39 %} 39 %}
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 int window_index=0, 377 int window_index=0,
378 int tab_index=0, 378 int tab_index=0,
379 const std::wstring& frame_xpath=""); 379 const std::wstring& frame_xpath="");
380 380
381 %feature("docstring", "Resets to the default theme. " 381 %feature("docstring", "Resets to the default theme. "
382 "Returns true on success.") ResetToDefaultTheme; 382 "Returns true on success.") ResetToDefaultTheme;
383 bool ResetToDefaultTheme(); 383 bool ResetToDefaultTheme();
384 384
385 }; 385 };
386 386
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698