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

Side by Side Diff: tools/telemetry/telemetry/core/browser.py

Issue 134243004: Telemetry: allow user to specify source type for synthetic gestures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-upload Created 6 years, 10 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 | « no previous file | tools/telemetry/telemetry/core/browser_options.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 # 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 import os 5 import os
6 6
7 from telemetry.core import browser_credentials 7 from telemetry.core import browser_credentials
8 from telemetry.core import exceptions 8 from telemetry.core import exceptions
9 from telemetry.core import extension_dict 9 from telemetry.core import extension_dict
10 from telemetry.core import platform 10 from telemetry.core import platform
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 @property 66 @property
67 def supports_extensions(self): 67 def supports_extensions(self):
68 return self._browser_backend.supports_extensions 68 return self._browser_backend.supports_extensions
69 69
70 @property 70 @property
71 def supports_tab_control(self): 71 def supports_tab_control(self):
72 return self._browser_backend.supports_tab_control 72 return self._browser_backend.supports_tab_control
73 73
74 @property 74 @property
75 def synthetic_gesture_source_type(self):
76 return self._browser_backend.browser_options.synthetic_gesture_source_type
77
78 @property
75 def tabs(self): 79 def tabs(self):
76 return self._tabs 80 return self._tabs
77 81
78 @property 82 @property
79 def extensions(self): 83 def extensions(self):
80 """Returns the extension dictionary if it exists.""" 84 """Returns the extension dictionary if it exists."""
81 if not self.supports_extensions: 85 if not self.supports_extensions:
82 raise browser_backend.ExtensionsNotSupportedException( 86 raise browser_backend.ExtensionsNotSupportedException(
83 'Extensions not supported') 87 'Extensions not supported')
84 return self._extensions 88 return self._extensions
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 365
362 @property 366 @property
363 def supports_system_info(self): 367 def supports_system_info(self):
364 return self._browser_backend.supports_system_info 368 return self._browser_backend.supports_system_info
365 369
366 def GetSystemInfo(self): 370 def GetSystemInfo(self):
367 """Returns low-level information about the system, if available. 371 """Returns low-level information about the system, if available.
368 372
369 See the documentation of the SystemInfo class for more details.""" 373 See the documentation of the SystemInfo class for more details."""
370 return self._browser_backend.GetSystemInfo() 374 return self._browser_backend.GetSystemInfo()
OLDNEW
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/browser_options.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698