Searched refs:tab (Results 51 - 75 of 721) sorted by relevance

1234567891011>>

/external/chromium_org/tools/perf/benchmarks/
H A Drobohornet_pro.py27 def DidNavigateToPage(self, page, tab):
28 self._power_metric.Start(page, tab)
30 def ValidateAndMeasurePage(self, page, tab, results):
31 tab.ExecuteJavaScript('ToggleRoboHornet()')
32 tab.WaitForJavaScriptExpression(
36 self._power_metric.Stop(page, tab)
37 self._power_metric.AddResults(tab, results)
39 result = int(tab.EvaluateJavaScript('stopTime - startTime'))
H A Dindexeddb_perf.py55 def DidNavigateToPage(self, page, tab):
56 self._memory_metric.Start(page, tab)
57 self._power_metric.Start(page, tab)
58 self._v8_object_stats_metric.Start(page, tab)
60 def ValidateAndMeasurePage(self, page, tab, results):
61 tab.WaitForDocumentReadyStateToBeComplete()
62 tab.WaitForJavaScriptExpression(
65 self._power_metric.Stop(page, tab)
66 self._memory_metric.Stop(page, tab)
67 self._v8_object_stats_metric.Stop(page, tab)
[all...]
H A Dscirra.py21 def WillNavigateToPage(self, page, tab):
24 def ValidateAndMeasurePage(self, _, tab, results):
30 if 'renderperf3' in tab.url:
49 tab.WaitForJavaScriptExpression(js_is_done, 300)
50 total = int(tab.EvaluateJavaScript('window.sprites'))
H A Dservice_worker.py17 def ValidateAndMeasurePage(self, _, tab, results):
18 tab.WaitForJavaScriptExpression('window.done', 40)
19 json = tab.EvaluateJavaScript('window.results')
/external/chromium_org/tools/perf/measurements/
H A Dmemory.py21 def DidNavigateToPage(self, page, tab):
22 self._memory_metric.Start(page, tab)
23 self._power_metric.Start(page, tab)
31 def ValidateAndMeasurePage(self, page, tab, results):
32 self._power_metric.Stop(page, tab)
33 self._memory_metric.Stop(page, tab)
34 self._memory_metric.AddResults(tab, results)
35 self._power_metric.AddResults(tab, results)
H A Dsmoothness_controller.py38 def SetUp(self, page, tab):
48 tab.browser.platform.tracing_controller.Start(options, category_filter, 60)
49 if tab.browser.platform.IsRawDisplayFrameRateSupported():
50 tab.browser.platform.StartRawDisplayFrameRateMeasurement()
52 def Start(self, tab):
54 runner = action_runner.ActionRunner(tab)
58 def Stop(self, tab):
62 if tab.browser.platform.IsRawDisplayFrameRateSupported():
63 tab.browser.platform.StopRawDisplayFrameRateMeasurement()
64 self._tracing_timeline_data = tab
[all...]
H A Dimage_decoding.py26 def WillNavigateToPage(self, page, tab):
27 tab.ExecuteJavaScript("""
34 self._power_metric.Start(page, tab)
55 tab.browser.platform.tracing_controller.Start(options, category_filter)
64 def ValidateAndMeasurePage(self, page, tab, results):
65 timeline_data = tab.browser.platform.tracing_controller.Stop()
67 self._power_metric.Stop(page, tab)
68 self._power_metric.AddResults(tab, results)
71 return tab.EvaluateJavaScript('isDone')
85 min_iterations = tab
[all...]
H A Dtab_switching.py5 """The tab switching measurement.
8 it cycles through each tab in sequence, and records a histogram of the time
9 between when a tab was first requested to be shown, and when it was painted.
47 # The initial browser window contains a single tab, navigate that tab
58 def ValidateAndMeasurePage(self, page, tab, results):
59 """On the last tab, cycle through each tab that was opened and then record
60 a single histogram for the tab switching metric."""
61 if len(tab
[all...]
H A Dtimeline_controller.py25 def SetUp(self, page, tab):
32 if not tab.browser.platform.tracing_controller.IsChromeTracingSupported(
33 tab.browser):
41 tab.browser.platform.tracing_controller.Start(options, category_filter)
43 def Start(self, tab):
45 runner = action_runner.ActionRunner(tab)
49 def Stop(self, tab):
53 timeline_data = tab.browser.platform.tracing_controller.Stop()
55 self._renderer_process = self._model.GetRendererProcessFromTabId(tab.id)
56 renderer_thread = self.model.GetRendererThreadFromTabId(tab
[all...]
/external/chromium_org/tools/perf/metrics/
H A Dspeedindex.py31 def Start(self, _, tab):
38 self._impl = (VideoSpeedIndexImpl() if tab.video_capture_supported else
40 self._impl.Start(tab)
42 def Stop(self, _, tab):
45 assert self.IsFinished(tab), 'Must wait for IsFinished() before Stop()'
46 self._impl.Stop(tab)
50 def AddResults(self, tab, results, chart_name=None):
52 index = self._impl.CalculateSpeedIndex(tab)
53 # Release the tab so that it can be disconnected.
58 def IsFinished(self, tab)
[all...]
/external/chromium_org/tools/telemetry/telemetry/page/actions/
H A Dtap.py22 def WillRunAction(self, tab):
26 tab.ExecuteJavaScript(js)
29 if not tab.EvaluateJavaScript('window.__TapAction_SupportedByBrowser()'):
34 tab.ExecuteJavaScript("""
43 def RunAction(self, tab):
46 gesture_source_type = page_action.GetGestureSourceTypeFromOptions(tab)
69 tab, code, selector=self.selector, text=self.text,
71 tab.WaitForJavaScriptExpression('window.__tapActionDone', 60)
H A Dscroll.py37 def WillRunAction(self, tab):
41 tab.ExecuteJavaScript(js)
44 if not tab.EvaluateJavaScript('window.__ScrollAction_SupportedByBrowser()'):
50 if not page_action.IsGestureSourceTypeSupported(tab, 'touch'):
54 if (page_action.GetGestureSourceTypeFromOptions(tab) ==
60 tab.ExecuteJavaScript("""
65 def RunAction(self, tab):
70 gesture_source_type = page_action.GetGestureSourceTypeFromOptions(tab)
93 tab, code, selector=self._selector, text=self._text,
95 tab
[all...]
H A Dscroll_bounce.py40 def WillRunAction(self, tab):
44 tab.ExecuteJavaScript(js)
47 if not tab.EvaluateJavaScript(
54 if not page_action.IsGestureSourceTypeSupported(tab, 'touch'):
58 if (page_action.GetGestureSourceTypeFromOptions(tab) ==
64 tab.ExecuteJavaScript("""
69 def RunAction(self, tab):
93 tab, code, selector=self._selector, text=self._text,
95 tab.WaitForJavaScriptExpression('window.__scrollBounceActionDone', 60)
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/
H A Dtabs_api_handler.js48 * @param {Object} tab
50 onCreated: function(tab) {
64 * @param {Object} tab
66 onRemoved: function(tab) {
81 chrome.tabs.get(activeInfo.tabId, function(tab) {
82 if (tab.status == 'loading') {
85 var title = tab.title ? tab.title : tab.url;
105 chrome.tabs.get(tabId, function(tab) {
[all...]
/external/skia/gm/rebaseline_server/static/
H A Dview.css9 .tab-wrapper {
13 .tab {
23 .tab-true {
30 .tab-false {
35 .tab-false:hover {
40 .tab-spacer {
43 /* The main working area (connected to the selected tab). */
44 .tab-main {
/external/chromium_org/chrome/browser/extensions/api/declarative_content/
H A Ddeclarative_content_apitest.cc104 content::WebContents* const tab = member in class:extensions::__anon3676::content
106 const int tab_id = ExtensionTabUtil::GetTabId(tab);
108 NavigateInRenderer(tab, GURL("http://test1/"));
115 NavigateInRenderer(tab, GURL("http://not_checked/"));
121 tab, "document.body.innerHTML = '<input type=\"password\">';"
128 ASSERT_TRUE(content::ExecuteScript(tab, std::string()));
129 ASSERT_TRUE(content::ExecuteScript(tab, std::string()));
137 tab, "document.body.innerHTML = 'Hello world';"
144 ASSERT_TRUE(content::ExecuteScript(tab, std::string()));
145 ASSERT_TRUE(content::ExecuteScript(tab, st
172 content::WebContents* const tab = member in class:extensions::__anon3676::content
205 content::WebContents* const tab = member in class:extensions::__anon3676::content
270 content::WebContents* const tab = member in class:extensions::__anon3676::content
[all...]
/external/chromium_org/chrome/browser/sync/glue/
H A Dsession_sync_test_helper.cc76 SessionTab* tab = win_ptr->tabs[j]; local
77 ASSERT_EQ(*tab_iter, tab->tab_id.id());
78 ASSERT_EQ(1U, tab->navigations.size());
79 ASSERT_EQ(1, tab->tab_visual_index);
80 ASSERT_EQ(0, tab->current_navigation_index);
81 ASSERT_TRUE(tab->pinned);
82 ASSERT_EQ(kAppId, tab->extension_app_id);
83 ASSERT_EQ(1U, tab->navigations.size());
84 ASSERT_EQ(tab->navigations[0].virtual_url(), GURL(kVirtualUrl));
85 ASSERT_EQ(tab
101 sync_pb::SessionTab* tab = tab_base->mutable_tab(); local
[all...]
H A Dsynced_window_delegate_android.cc75 const SyncedTabDelegate* tab) const {
81 TabAndroid* tab = tab_model_->GetTabAt(index); local
82 return tab ? tab->GetSyncedTabDelegate() : NULL;
86 SyncedTabDelegate* tab = GetTabAt(index); local
87 return tab ? tab->GetSessionId() : -1;
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/
H A DAccessibilityTabModelAdapter.java46 public void tabSelected(int tab) {
47 if (mListener != null) mListener.showTab(tab);
49 TabModelUtils.getTabIndexById(mActualTabModel, tab));
54 public void tabClosed(int tab) {
55 if (mActualTabModel.isClosurePending(tab)) {
56 mActualTabModel.commitTabClosure(tab);
58 TabModelUtils.closeTabById(mActualTabModel, tab);
64 public boolean hasPendingClosure(int tab) {
65 return mUndoneTabModel.isClosurePending(tab);
69 public void schedulePendingClosure(int tab) {
[all...]
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/
H A DTabManager.java79 * @param startupUrl The URL that the first tab should navigate to.
114 ChromeShellTab tab = new ChromeShellTab(getContext(), url, mWindow, client);
115 setCurrentTab(tab);
122 private void setCurrentTab(ChromeShellTab tab) { argument
128 mCurrentTab = tab;
129 mCurrentView = tab.getView();
133 public void onContentChanged(Tab tab) {
135 mCurrentView = tab.getView();
136 setupContent(tab);
144 private void setupContent(Tab tab) { argument
[all...]
/external/chromium_org/chrome/browser/sync/sessions/
H A Dnotification_service_sessions_router.cc87 SyncedTabDelegate* tab = local
89 if (!tab || tab->profile() != profile_)
92 handler_->OnLocalTabModified(tab);
93 if (!sessions_util::ShouldSyncTab(*tab))
101 SyncedTabDelegate* tab = SyncedTabDelegate::ImplFromWebContents( local
104 if (!tab || tab->profile() != profile_)
107 handler_->OnLocalTabModified(tab);
108 if (!sessions_util::ShouldSyncTab(*tab))
120 SyncedTabDelegate* tab = SyncedTabDelegate::ImplFromWebContents( local
143 SyncedTabDelegate* tab = local
[all...]
/external/chromium_org/content/test/gpu/gpu_tests/
H A Dgpu_rasterization.py27 def _DidTestSucceed(tab):
28 return tab.EvaluateJavaScript('domAutomationController._succeeded')
37 def ValidateAndMeasurePage(self, page, tab, results):
38 if not _DidTestSucceed(tab):
44 if not tab.screenshot_supported:
47 screenshot = tab.Screenshot()
51 device_pixel_ratio = tab.EvaluateJavaScript('window.devicePixelRatio')
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_browsertest.cc59 void CheckShownPageIsInterstitial(WebContents* tab) { argument
60 CheckShownPage(tab, content::PAGE_TYPE_INTERSTITIAL);
63 void CheckShownPageIsNotInterstitial(WebContents* tab) { argument
64 CheckShownPage(tab, content::PAGE_TYPE_NORMAL);
68 void CheckShownPage(WebContents* tab, content::PageType page_type) { argument
69 ASSERT_FALSE(tab->IsCrashed());
70 NavigationEntry* entry = tab->GetController().GetActiveEntry();
75 void SendAccessRequest(WebContents* tab) { argument
76 InterstitialPage* interstitial_page = tab->GetInterstitialPage();
87 void GoBack(WebContents* tab) { argument
182 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
211 WebContents* tab = tab_strip->GetActiveWebContents(); local
247 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
[all...]
/external/chromium_org/chrome/browser/sessions/
H A Dtab_restore_service_helper.cc38 void RecordAppLaunch(Profile* profile, const TabRestoreService::Tab& tab) { argument
40 GURL url = tab.navigations.at(tab.current_navigation_index).virtual_url();
127 // Don't use std::vector::resize() because it will push copies of an empty tab
146 // Short-circuit creating a Window if only 1 tab was present. This fixes
195 Tab* tab = static_cast<Tab*>(entry);
197 return tab;
216 // entry is a window from which a single tab will be restored.
229 Tab* tab = static_cast<Tab*>(entry); local
231 delegate = RestoreTab(*tab, delegat
246 const Tab& tab = window->tabs[tab_i]; local
273 const Tab& tab = *tab_i; local
402 PopulateTab( Tab* tab, int index, TabRestoreServiceDelegate* delegate, NavigationController* controller) argument
450 RestoreTab( const Tab& tab, TabRestoreServiceDelegate* delegate, chrome::HostDesktopType host_desktop_type, WindowOpenDisposition disposition, WebContents** contents) argument
512 ValidateTab(Tab* tab) argument
549 IsTabInteresting(const Tab* tab) argument
589 Tab* tab = static_cast<Tab*>(entry); local
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/
H A Dgenperf.c73 /* make the c output for the perfect hash tab array */
77 bstuff *tab, /* table indexed by b */
85 /* A way to make the 1-byte values in tab bigger */
109 fprintf(f, "tab[] = {\n");
113 fprintf(f, "%3ld,", scramble[tab[i].val_b]);
117 scramble[tab[i+0].val_b], scramble[tab[i+1].val_b],
118 scramble[tab[i+2].val_b], scramble[tab[i+3].val_b],
119 scramble[tab[
75 make_c_tab( FILE *f, bstuff *tab, ub4 smax, ub4 blen, ub4 *scramble) argument
157 bstuff *tab; /* table indexed by b */ local
[all...]

Completed in 463 milliseconds

1234567891011>>