telemetry.internal.browser.browser_options
index
telemetry/internal/browser/browser_options.py

# Copyright 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

 
Modules
       
telemetry.internal.browser.browser_finder
telemetry.internal.browser.browser_finder_exceptions
catapult_base.cloud_storage
copy
telemetry.internal.platform.device_finder
logging
net_configs
optparse
os
telemetry.core.platform
telemetry.internal.browser.profile_types
telemetry.internal.platform.profiler.profiler_finder
shlex
socket
sys
telemetry.core.util
telemetry.util.wpr_modes

 
Classes
       
__builtin__.object
BrowserOptions
ChromeBrowserOptions
CrosBrowserOptions
optparse.Values
BrowserFinderOptions

 
class BrowserFinderOptions(optparse.Values)
    Options to be used for discovering a browser.
 
  Methods defined here:
AppendExtraBrowserArgs(self, args)
Copy(self)
CreateParser(self, *args, **kwargs)
MergeDefaultValues(self, defaults)
__init__(self, browser_type=None)
__repr__(self)

Methods inherited from optparse.Values:
__cmp__(self, other)
__str__(self)
ensure_value(self, attr, value)
read_file(self, filename, mode='careful')
read_module(self, modname, mode='careful')

 
class BrowserOptions(__builtin__.object)
    Options to be used for launching a browser.
 
  Methods defined here:
AppendExtraBrowserArgs(self, args)
IsCrosBrowserOptions(self)
UpdateFromParseResults(self, finder_options)
Copies our options from finder_options
__init__(self)
__repr__(self)

Class methods defined here:
AddCommandLineArgs(cls, parser) from __builtin__.type

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
browser_startup_timeout
extra_browser_args
finder_options

 
class ChromeBrowserOptions(BrowserOptions)
    Chrome-specific browser options.
 
 
Method resolution order:
ChromeBrowserOptions
BrowserOptions
__builtin__.object

Methods defined here:
__init__(self, br_options)

Methods inherited from BrowserOptions:
AppendExtraBrowserArgs(self, args)
IsCrosBrowserOptions(self)
UpdateFromParseResults(self, finder_options)
Copies our options from finder_options
__repr__(self)

Class methods inherited from BrowserOptions:
AddCommandLineArgs(cls, parser) from __builtin__.type

Data descriptors inherited from BrowserOptions:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
browser_startup_timeout
extra_browser_args
finder_options

 
class CrosBrowserOptions(ChromeBrowserOptions)
    ChromeOS-specific browser options.
 
 
Method resolution order:
CrosBrowserOptions
ChromeBrowserOptions
BrowserOptions
__builtin__.object

Methods defined here:
IsCrosBrowserOptions(self)
__init__(self, br_options)

Methods inherited from BrowserOptions:
AppendExtraBrowserArgs(self, args)
UpdateFromParseResults(self, finder_options)
Copies our options from finder_options
__repr__(self)

Class methods inherited from BrowserOptions:
AddCommandLineArgs(cls, parser) from __builtin__.type

Data descriptors inherited from BrowserOptions:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
browser_startup_timeout
extra_browser_args
finder_options

 
Functions
       
CreateChromeBrowserOptions(br_options)