Index: chrome/test/pyautolib/pyauto.py |
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py |
index dce9741ea025af71d62a3e028a09d3edcb26282a..32282a9984181386c68dc6448ee9651d88b27f1a 100755 |
--- a/chrome/test/pyautolib/pyauto.py |
+++ b/chrome/test/pyautolib/pyauto.py |
@@ -1966,28 +1966,6 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase): |
} |
self._GetResultFromJSONRequest(cmd_dict, windex=None) |
- def GetInstantInfo(self, windex=0): |
- """Return info about the instant overlay tab. |
- |
- Args: |
- windex: The window index, default is 0. |
- |
- Returns: |
- A dictionary. |
- Examples: |
- { u'enabled': True, |
- u'active': True, |
- u'current': True, |
- u'loading': True, |
- u'location': u'http://cnn.com/', |
- u'showing': False, |
- u'title': u'CNN.com - Breaking News'}, |
- |
- { u'enabled': False } |
- """ |
- cmd_dict = {'command': 'GetInstantInfo'} |
- return self._GetResultFromJSONRequest(cmd_dict, windex=windex)['instant'] |
- |
def GetSearchEngineInfo(self, windex=0): |
"""Return info about search engines. |
@@ -3691,29 +3669,6 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase): |
else: |
logging.warn('Heap-profiling is not supported in this OS.') |
- def AppendSwitchASCIIToCommandLine(self, switch, value): |
- """Appends --switch=value to the command line. |
- |
- NOTE: This doesn't change the startup commandline, i.e., flags used to |
- launch the browser. Use ExtraChromeFlags() if you want to do that. Instead, |
- use this if you want to alter flags dynamically, say to affect a feature |
- that looks at the flags everytime, instead of only at program startup. |
- |
- Note that although this appends the switch, CommandLine::Get*() methods |
- generally return only the most recently added value, so this effectively |
- overrides any existing switch with the same name. |
- |
- Args: |
- switch: the name of the switch to be set. |
- value: the value to be set for the switch. |
- """ |
- cmd_dict = { |
- 'command': 'AppendSwitchASCIIToCommandLine', |
- 'switch': switch, |
- 'value': value, |
- } |
- self._GetResultFromJSONRequest(cmd_dict, windex=None) |
- |
def GetNTPThumbnails(self): |
"""Return a list of info about the sites in the NTP most visited section. |
SAMPLE: |