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

Side by Side Diff: chrome/test/pyautolib/omnibox_info.py

Issue 8680018: Fix python scripts in src/chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 9 years 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/history_info.py ('k') | chrome/test/pyautolib/perf_snapshot.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2
3 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
4 # 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
5 # found in the LICENSE file. 3 # found in the LICENSE file.
6 4
7 """Python representation for Chromium Omnibox. 5 """Python representation for Chromium Omnibox.
8 6
9 Obtain one of these from PyUITestSuite::GetOmniboxInfo() call. 7 Obtain one of these from PyUITestSuite::GetOmniboxInfo() call.
10 8
11 Example: 9 Example:
12 class MyTest(pyauto.PyUITest): 10 class MyTest(pyauto.PyUITest):
13 def testBasic(self): 11 def testBasic(self):
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 132
135 This need not be the same as the user-inputted text, since omnibox may 133 This need not be the same as the user-inputted text, since omnibox may
136 autocomplete some URLs, or the user may move omnibox popup selection 134 autocomplete some URLs, or the user may move omnibox popup selection
137 up/down. 135 up/down.
138 """ 136 """
139 return self.Properties('text') 137 return self.Properties('text')
140 138
141 def IsQueryInProgress(self): 139 def IsQueryInProgress(self):
142 """Determine if a query is in progress.""" 140 """Determine if a query is in progress."""
143 return self.Properties('query_in_progress') 141 return self.Properties('query_in_progress')
144
OLDNEW
« no previous file with comments | « chrome/test/pyautolib/history_info.py ('k') | chrome/test/pyautolib/perf_snapshot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698