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

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

Issue 10784009: screenshot disabling policy tests (Closed) Base URL: http://git.chromium.org/chromium/src.git@disable_screenshots
Patch Set: Addressed comments (1) 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 Automation Proxy.") pyautolib 17 %module(docstring="Python interface to Automation Proxy.") pyautolib
18 %feature("autodoc", "1"); 18 %feature("autodoc", "1");
19 19
20 %include <cpointer.i> 20 %include <cpointer.i>
21 %include <std_string.i> 21 %include <std_string.i>
22 %include <std_wstring.i> 22 %include <std_wstring.i>
23 23
24 %include "chrome/test/pyautolib/argc_argv.i" 24 %include "chrome/test/pyautolib/argc_argv.i"
25 25
26 // NOTE: All files included in this file should also be listed under 26 // NOTE: All files included in this file should also be listed under
27 // pyautolib_sources in chrome_tests.gypi. 27 // pyautolib_sources in chrome_tests.gypi.
28 28
29 // Headers that can be swigged directly. 29 // Headers that can be swigged directly.
30 %include "ash/accelerators/accelerator_table.h"
30 %include "chrome/app/chrome_command_ids.h" 31 %include "chrome/app/chrome_command_ids.h"
31 %include "chrome/app/chrome_dll_resource.h" 32 %include "chrome/app/chrome_dll_resource.h"
32 %include "chrome/common/automation_constants.h" 33 %include "chrome/common/automation_constants.h"
33 %include "chrome/common/pref_names.h" 34 %include "chrome/common/pref_names.h"
34 %include "content/public/common/page_type.h" 35 %include "content/public/common/page_type.h"
35 %include "content/public/common/security_style.h" 36 %include "content/public/common/security_style.h"
36 // Must come before cert_status_flags.h 37 // Must come before cert_status_flags.h
37 %include "net/base/net_export.h" 38 %include "net/base/net_export.h"
38 %ignore net::MapNetErrorToCertStatus(int); 39 %ignore net::MapNetErrorToCertStatus(int);
39 %include "net/base/cert_status_flags.h" 40 %include "net/base/cert_status_flags.h"
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 // Initialize a new HTTPSOptions that will use the specified certificate. 526 // Initialize a new HTTPSOptions that will use the specified certificate.
526 explicit HTTPSOptions(ServerCertificate cert); 527 explicit HTTPSOptions(ServerCertificate cert);
527 }; 528 };
528 529
529 %{ 530 %{
530 typedef net::TestServer::HTTPSOptions HTTPSOptions; 531 typedef net::TestServer::HTTPSOptions HTTPSOptions;
531 %} 532 %}
532 533
533 %pointer_class(int, int_ptr); 534 %pointer_class(int, int_ptr);
534 %pointer_class(uint32, uint32_ptr); 535 %pointer_class(uint32, uint32_ptr);
OLDNEW
« chrome/test/pyautolib/pyauto.py ('K') | « chrome/test/pyautolib/pyauto.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698