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

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

Issue 661342: Build pyauto on win (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: using subprocess.call() Created 10 years, 9 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/chrome_tests.gypi ('k') | chrome/test/pyautolib/pyautolib.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 // This file declares the C++ side of PyAuto, the python interface to 5 // This file declares the C++ side of PyAuto, the python interface to
6 // Chromium automation. It access Chromium's internals using Automation Proxy. 6 // Chromium automation. It access Chromium's internals using Automation Proxy.
7 7
8 #ifndef CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_ 8 #ifndef CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_
9 #define CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_ 9 #define CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Determines the visibility of the download shelf 65 // Determines the visibility of the download shelf
66 bool IsDownloadShelfVisible(int window_index = 0); 66 bool IsDownloadShelfVisible(int window_index = 0);
67 67
68 // Open the Find box 68 // Open the Find box
69 void OpenFindInPage(int window_index = 0); 69 void OpenFindInPage(int window_index = 0);
70 70
71 // Determines the visibility of the Find box 71 // Determines the visibility of the Find box
72 bool IsFindInPageVisible(int window_index = 0); 72 bool IsFindInPageVisible(int window_index = 0);
73 73
74 // Get the path to the downloads directory 74 // Get the path to the downloads directory
75 std::string GetDownloadDirectory(); 75 FilePath GetDownloadDirectory();
76 76
77 // AutomationProxy methods 77 // AutomationProxy methods
78 78
79 // Open a new browser window. Returns false on failure. 79 // Open a new browser window. Returns false on failure.
80 bool OpenNewBrowserWindow(bool show); 80 bool OpenNewBrowserWindow(bool show);
81 81
82 // Installs the extension crx. Returns true only if extension was installed 82 // Installs the extension crx. Returns true only if extension was installed
83 // and loaded successfully. Overinstalls will fail. 83 // and loaded successfully. Overinstalls will fail.
84 bool InstallExtension(const FilePath& crx_file); 84 bool InstallExtension(const FilePath& crx_file);
85 85
86 private: 86 private:
87 base::ScopedNSAutoreleasePool pool_; 87 base::ScopedNSAutoreleasePool pool_;
88 }; 88 };
89 89
90 #endif // CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_ 90 #endif // CHROME_TEST_PYAUTOLIB_PYAUTOLIB_H_
91 91
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/pyautolib/pyautolib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698