/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/ |
D | HtmlTooltipHelper.java | 17 import org.eclipse.swt.browser.Browser; 18 import org.eclipse.swt.browser.LocationAdapter; 19 import org.eclipse.swt.browser.LocationEvent; 20 import org.eclipse.swt.browser.ProgressAdapter; 21 import org.eclipse.swt.browser.ProgressEvent; 31 import org.eclipse.ui.browser.IWebBrowser; 32 import org.eclipse.ui.browser.IWorkbenchBrowserSupport; 129 final Browser browser = new Browser(parent, SWT.NONE); in createTooltipControl_Browser() local 130 browser.setText(wrappedHtml); in createTooltipControl_Browser() 132 browser.addLocationListener(new LocationAdapter() { in createTooltipControl_Browser() [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/page/ |
D | cache_temperature.py | 29 def __init__(self, browser, identifier): argument 30 self.browser = browser 35 self.browser.tabs[0].ExecuteJavaScript( 37 self.browser.tabs[0].ExecuteJavaScript( 46 self.browser.tabs[0].ExecuteJavaScript( 48 self.browser.tabs[0].ExecuteJavaScript( 52 def EnsurePageCacheTemperature(page, browser, previous_page=None): argument 61 with MarkTelemetryInternal(browser, 'ensure_diskcache'): 62 tab = browser.tabs[0] 66 any_tab = browser.tabs[0] [all …]
|
D | shared_page_state.py | 12 from telemetry.internal.browser import browser_finder 13 from telemetry.internal.browser import browser_finder_exceptions 14 from telemetry.internal.browser import browser_info as browser_info_module 100 def browser(self): member in SharedPageState 156 self.browser.credentials.LoginNoLongerNeeded( 158 if self._test.StopBrowserAfterPage(self.browser, self._current_page): 175 self._test.DidStartBrowser(self.browser) 179 self.browser.credentials.WarnIfMissingCredentials(page) 199 started_browser = not self.browser 210 if self.browser: [all …]
|
D | legacy_page_test.py | 106 def StopBrowserAfterPage(self, browser, page): argument 116 del browser, page # unused 125 def DidStartBrowser(self, browser): argument 146 def TabForPage(self, page, browser): # pylint: disable=unused-argument argument 150 return browser.tabs[0] 155 browser.tabs.New() 158 browser.tabs[0].WaitForDocumentReadyStateToBeComplete() 159 return browser.tabs[0]
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/ |
D | cros_unittest.py | 138 with self._CreateBrowser(auto_login=False) as browser: 139 browser.oobe.NavigateGaiaLogin(username, password, 149 def _IsScreenLocked(self, browser): argument 150 return self._GetLoginStatus(browser)['isScreenLocked'] 152 def _LockScreen(self, browser): argument 153 self.assertFalse(self._IsScreenLocked(browser)) 155 extension = self._GetAutotestExtension(browser) 163 return (browser.oobe_exists and 164 browser.oobe.EvaluateJavaScript("typeof Oobe == 'function'") and 165 browser.oobe.EvaluateJavaScript( [all …]
|
D | cros_test_case.py | 10 from telemetry.internal.browser import browser_finder 11 from telemetry.internal.browser import extension_to_load 58 def _GetAutotestExtension(self, browser): argument 60 extension = browser.extensions[self._load_extension] 70 def _GetLoginStatus(self, browser): argument 71 extension = self._GetAutotestExtension(browser)
|
D | tab_list_backend.py | 9 from telemetry.internal.browser import tab 41 app=self._browser_backend.browser, 64 app=self._browser_backend.browser, 84 app=self._browser_backend.browser, 102 return tab.Tab(inspector_backend, self, self._browser_backend.browser)
|
/external/autotest/client/common_lib/cros/ |
D | enrollment.py | 11 def _ExecuteOobeCmd(browser, cmd): argument 13 oobe = browser.oobe 19 def SwitchToRemora(browser): argument 25 lambda: _ExecuteOobeCmd(browser, 27 utils.poll_for_condition(lambda: browser.oobe_exists, timeout=30) 30 def RemoraEnrollment(browser, user_id, password): argument 37 SwitchToRemora(browser) 39 lambda: browser.oobe.NavigateGaiaLogin( 44 def EnterpriseEnrollment(browser, user_id, password): argument 52 lambda: browser.oobe.NavigateGaiaLogin(
|
D | arc_util.py | 17 from telemetry.internal.browser import extension_page 146 def enable_arc_setting(browser): argument 157 settings_tab = browser.tabs.New() 191 def find_opt_in_extension_page(browser): argument 204 extension_pages = browser.extensions.GetByExtensionId( 271 def opt_in(browser): argument 283 if not enable_arc_setting(browser): 285 extension_main_page = find_opt_in_extension_page(browser)
|
/external/autotest/client/site_tests/video_MultiplePlayback/ |
D | video_MultiplePlayback.py | 47 def run_video_tests(self, browser): argument 53 browser.platform.SetHTTPServerDirectories(self.bindir) 54 tab1 = browser.tabs.New() 56 tab1.Navigate(browser.platform.http_server.UrlOf( 63 tab2 = browser.tabs.New() 64 tab2.Navigate(browser.platform.http_server.UrlOf( 75 tab3 = browser.tabs.New() 76 tab3.Navigate(browser.platform.http_server.UrlOf( 100 self.run_video_tests(cr.browser)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
D | android_dumpsys_power_monitor_unittest.py | 50 browser = pm_mock.MockBrowser(_PACKAGE) 54 pm.StartMonitoringPower(browser) 62 browser = pm_mock.MockBrowser(_PACKAGE) 66 pm.StartMonitoringPower(browser) 72 browser = pm_mock.MockBrowser(_PACKAGE) 76 pm.StartMonitoringPower(browser) 78 pm.StartMonitoringPower(browser) 81 browser = pm_mock.MockBrowser(_PACKAGE) 86 pm.StartMonitoringPower(browser)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/ |
D | tab.py | 6 from telemetry.internal.browser import web_contents 23 def __init__(self, inspector_backend, tab_list_backend, browser): argument 26 self._browser = browser 30 def browser(self): member in Tab 122 return self.browser.platform.CanCaptureVideo() 206 self.browser.platform.StartVideoCapture(min_bitrate_mbps) 211 return self.browser.platform.is_video_capture_running 222 return self.browser.platform.StopVideoCapture() 259 self.browser.platform.FlushDnsCache()
|
D | browser_unittest.py | 13 from telemetry.internal.browser import browser as browser_module 14 from telemetry.internal.browser import browser_finder 189 with browser_to_create.Create(options) as browser: 190 browser.platform.SetHTTPServerDirectories(path.GetUnittestDataDir()) 192 blank_url = browser.platform.http_server.UrlOf(blank_file_path) 193 browser.foreground_tab.Navigate(blank_url) 194 browser.foreground_tab.WaitForDocumentReadyStateToBeComplete() 196 tab = browser.tabs.New() 247 with self._browser_to_create.Create(self._options) as browser: 253 lambda: len(browser.tabs) == expected_number_of_tabs, 10) [all …]
|
D | browser_finder.py | 15 from telemetry.internal.browser import browser_finder_exceptions 169 type_list = set([browser.browser_type for browser in possible_browsers]) 172 for browser in possible_browsers: 173 if (browser.target_os == 'darwin' or browser.target_os.startswith('linux') 174 or browser.target_os.startswith('win')):
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
D | serially_executed_browser_test_case.py | 11 from telemetry.internal.browser import browser_finder 58 cls.browser = None 91 assert not cls.browser, 'WPR must be started prior to browser being started' 106 assert not cls.browser, 'Browser is started. Must close it first' 108 cls.browser = cls._browser_to_create.Create(cls._browser_options) 112 assert cls.browser, 'Browser is not started' 113 cls.browser.Close() 114 cls.browser = None 126 if cls.browser:
|
D | page_test_test_case.py | 83 def TabForPage(self, page, browser): argument 84 ActualStartTracing = browser.platform.tracing_controller.StartTracing 89 browser.StartTracing = FakeStartTracing 91 ActualStopTracing = browser.platform.tracing_controller.StopTracing 96 browser.platform.tracing_controller.StopTracing = FakeStopTracing 98 return measurement_class.TabForPage(self, page, browser)
|
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
D | rendering_stats_unittest.py | 358 browser = timeline.GetOrCreateProcess(pid=3) 359 browser_main = browser.GetOrCreateThread(tid=31) 377 browser.FinalizeImport() 383 renderer, browser, surface_flinger, None, timeline_ranges) 401 browser = timeline.GetOrCreateProcess(pid=3) 402 browser_main = browser.GetOrCreateThread(tid=31) 425 browser.FinalizeImport() 431 renderer, browser, None, gpu, timeline_ranges) 445 browser = timeline.GetOrCreateProcess(pid=3) 446 browser_main = browser.GetOrCreateThread(tid=31) [all …]
|
/external/autotest/client/site_tests/power_VideoSuspend/ |
D | power_VideoSuspend.py | 23 cr.browser.platform.SetHTTPServerDirectories(self.bindir) 24 tab = cr.browser.tabs[0] 25 tab.Navigate(cr.browser.platform.http_server.UrlOf( 30 self._suspend_with_video(cr.browser, tab, url) 43 def _suspend_with_video(self, browser, tab, video_url): argument
|
/external/autotest/client/site_tests/performance_InboxInputLatency/ |
D | performance_InboxInputLatency.py | 56 self.browser = chrome.Chrome(gaia_login=True, 59 self.tab = self.browser.browser.tabs[0] 69 if self.browser: 70 self.browser.close() 100 tracing_controller = self.tab.browser.platform.tracing_controller 119 tracing_controller = self.tab.browser.platform.tracing_controller
|
/external/autotest/client/site_tests/audio_ActiveStreamStress/ |
D | audio_ActiveStreamStress.py | 42 self._cr.browser.platform.SetHTTPServerDirectories(self.bindir) 43 self.push_new_stream(self._cr.browser.tabs[0]) 68 self.push_new_stream(self._cr.browser.tabs.New()) 90 tab.Navigate(self._cr.browser.platform.http_server.UrlOf( 104 if len(self._cr.browser.tabs) > 0: 105 self._cr.browser.tabs[0].Close()
|
/external/autotest/client/site_tests/video_VideoDecodeMemoryUsage/ |
D | video_VideoDecodeMemoryUsage.py | 142 tab = self.browser.tabs.New() 144 tab.Navigate(self.browser.platform.http_server.UrlOf( 170 for i in xrange(len(self.browser.tabs)): 173 self.browser.tabs[i].CollectGarbage() 175 m = self.browser.memory_stats 202 def run(self, name, browser, videos, test, argument 217 self.browser = browser 367 cr.browser.platform.SetHTTPServerDirectories(self.bindir) 374 name, cr.browser, videos, self)
|
/external/autotest/client/site_tests/video_VimeoVideo/ |
D | video_VimeoVideo.py | 64 def run_vimeo_tests(self, browser): argument 70 self._tab = browser.tabs[0] 71 self._tab.Navigate(browser.platform.http_server.UrlOf( 112 cr.browser.platform.SetHTTPServerDirectories(self.bindir) 113 self.run_vimeo_tests(cr.browser)
|
/external/autotest/client/site_tests/graphics_WebGLClear/ |
D | graphics_WebGLClear.py | 55 def run_clear_test(self, browser, test_url): argument 61 tab = browser.tabs.New() 93 if not cr.browser.platform.SetHTTPServerDirectories(clearsrc): 95 test_url = cr.browser.platform.http_server.UrlOf( 97 self.run_clear_test(cr.browser, test_url)
|
/external/autotest/client/site_tests/platform_MemoryPressure/ |
D | platform_MemoryPressure.py | 27 cr.browser.platform.SetHTTPServerDirectories(self.bindir) 29 tab = cr.browser.tabs.New() 33 tab.Navigate(cr.browser.platform.http_server.UrlOf( 37 if n_tabs > len(cr.browser.tabs):
|
/external/autotest/client/site_tests/enterprise_RemoraRequisition/ |
D | enterprise_RemoraRequisition.py | 19 def _CheckHangoutsExtensionContexts(self, browser): argument 21 browser, self._HANGOUTS_EXT_ID) 43 enrollment.RemoraEnrollment(cr.browser, user_id, password) 55 self._CheckHangoutsExtensionContexts(cr.browser)
|