/external/chromium_org/tools/perf/metrics/ |
H A D | v8_object_stats.py | 195 def GetV8StatsTable(tab, counters): 197 return tab.EvaluateJavaScript(""" 215 def Start(self, page, tab): 219 def Stop(self, page, tab): 221 self._results = V8ObjectStatsMetric.GetV8StatsTable(tab, self._counters) 225 def AddResults(self, tab, results):
|
/external/chromium_org/chrome/browser/ssl/ |
H A D | ssl_browser_tests.cc | 70 explicit ProvisionalLoadWaiter(WebContents* tab) argument 71 : WebContentsObserver(tab), waiting_(false), seen_(false) {} 160 void CheckSecurityState(WebContents* tab, argument 164 ASSERT_FALSE(tab->IsCrashed()); 165 NavigationEntry* entry = tab->GetController().GetActiveEntry(); 194 // new tab will use the same process. 198 void CheckAuthenticatedState(WebContents* tab, argument 200 CheckSecurityState(tab, 206 void CheckUnauthenticatedState(WebContents* tab, argument 208 CheckSecurityState(tab, 214 CheckAuthenticationBrokenState(WebContents* tab, net::CertStatus error, int expected_authentication_state) argument 226 CheckWorkerLoadResult(WebContents* tab, bool expected_load) argument 260 ProceedThroughInterstitial(WebContents* tab) argument 428 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 471 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 501 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 546 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 583 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 610 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 668 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 699 chrome::CloseWebContents(browser(), tab, false); local 710 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 795 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 889 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 973 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1026 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1148 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1182 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1208 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1247 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1318 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1345 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1360 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1384 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1450 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1556 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1595 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1657 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1672 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1760 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1796 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1828 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 1857 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local [all...] |
/external/chromium_org/tools/chrome_proxy/integration_tests/ |
H A D | chrome_proxy_metrics.py | 32 def GetProxyInfoFromNetworkInternals(tab, url='chrome://net-internals#proxy'): 33 tab.Navigate(url) 37 tab.ExecuteJavaScript(js) 38 tab.WaitForJavaScriptExpression('performance.timing.loadEventStart', 300) 39 info = tab.EvaluateJavaScript('window.__getChromeProxyInfo()') 113 def AddResults(self, tab, results): 116 def AddResultsForDataSaving(self, tab, results): 121 super(ChromeProxyMetric, self).AddResults(tab, results) 122 for resp in self.IterResponses(tab): 139 def AddResultsForHeaderValidation(self, tab, result [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/ |
H A D | TabModelBase.java | 88 for (Tab tab : mTabs) { 89 if (tab.isInitialized()) tab.destroy(); 114 * Initializes the newly created tab, adds it to controller, and dispatches creation 118 public void addTab(Tab tab, int index, TabLaunchType type) { argument 121 for (TabModelObserver obs : mObservers) obs.willAddTab(tab, type); 125 index = mOrderController.determineInsertionIndex(type, index, tab); 128 assert tab.isIncognito() == mIsIncognito; 134 mTabs.add(tab); 136 mTabs.add(index, tab); 201 closeTab(Tab tab) argument 361 indexOf(Tab tab) argument 435 startTabClosure(Tab tab, boolean animate, boolean uponExit, boolean canUndo) argument 480 finalizeTabClosure(Tab tab) argument 526 indexOf(Tab tab) argument 586 removeTab(Tab tab) argument 715 nativeTabAddedToModel(long nativeTabModelBase, Tab tab) argument [all...] |
H A D | TabModel.java | 22 FROM_MENU_OR_OVERVIEW, // Opened from the options menu or the tab stack overview. 25 // relationship like FROM_LINK. FOREGROUND and BACKGROUND indicates whether the current tab 26 // should be automatically switched to the new tab or not. 37 FROM_CLOSE, // Selection of adjacent tab when the active tab is closed in foreground. 38 FROM_EXIT, // Selection of adjacent tab when the active tab is closed upon app exit. 39 FROM_NEW, // Selection of newly created tab (e.g. for a url intent or NTP). 40 FROM_USER // User-originated switch to existing tab or selection of main tab o 54 closeTab(Tab tab) argument 72 closeTab(Tab tab, boolean animate, boolean uponExit, boolean canUndo) argument 142 addTab(Tab tab, int index, TabLaunchType type) argument [all...] |
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ |
H A D | ContextMenuTest.java | 47 Tab tab = getActivity().getActiveTab(); 48 ContextMenuUtils.selectContextMenuItem(this, tab, "testLink", 59 Tab tab = getActivity().getActiveTab(); 60 ContextMenuUtils.selectContextMenuItem(this, tab, "testImageLink", 71 Tab tab = getActivity().getActiveTab(); 72 ContextMenuUtils.selectContextMenuItem(this, tab, "testLink", 84 Tab tab = getActivity().getActiveTab(); 85 ContextMenuUtils.selectContextMenuItem(this, tab, "copyLinkTextComplex", 99 Tab tab = getActivity().getActiveTab(); 100 ContextMenuUtils.selectContextMenuItem(this, tab, "testImag [all...] |
/external/chromium_org/tools/perf/measurements/ |
H A D | page_cycler_unittest.py | 24 def Start(self, page, tab): 27 def Stop(self, page, tab): 30 def AddResults(self, tab, results): 33 def AddSummaryResults(self, tab, results): 45 """Used to mock a browser tab.""" 153 tab = FakeTab() 158 cycler.WillNavigateToPage(page, tab) 159 self.assertEqual(max(0, i - 2), tab.clear_cache_calls, 160 'Iteration %d tab.clear_cache_calls %d' % 161 (i, tab [all...] |
H A D | memory_multi_tab.py | 5 """Multi tab memory test. 7 This test is a multi tab test, but we're interested in measurements for 34 def DidNavigateToPage(self, page, tab): 35 # Start measurement on the first tab. 37 self._memory_metric.Start(page, tab) 38 self._first_tab = tab 40 def ValidateAndMeasurePage(self, page, tab, results): 41 # Finalize measurement on the last tab. 42 if len(tab.browser.tabs) == len(page.page_set.pages):
|
H A D | memory_pressure.py | 5 """Multi tab memory test. 7 This test is a multi tab test, but we're interested in measurements for 28 # Open a new tab at each page 32 def GetTabsHistogramCounts(self, tab): 35 histogram_type, "Tabs.Discard.DiscardCount", tab) 37 histogram_type, "Tabs.SadTab.KillCreated", tab) 40 def ValidateAndMeasurePage(self, page, tab, results): 41 # After navigating to each page, check if it triggered tab discards or 43 (discard_count, kill_count) = self.GetTabsHistogramCounts(tab) 53 logging.info("test ending at tab [all...] |
H A D | session_restore.py | 48 def RunNavigateSteps(self, page, tab): 70 def ValidateAndMeasurePage(self, page, tab, results): 71 tab.WaitForDocumentReadyStateToBeComplete() 75 self._cpu_metric.AddResults(tab, results, 'cpu_utilization') 77 startup_metric.StartupMetric().AddResults(tab, results) 79 # TODO(jeremy): Measure time to load - first, last and frontmost tab here.
|
H A D | startup.py | 47 def RunNavigateSteps(self, page, tab): 51 def ValidateAndMeasurePage(self, page, tab, results): 52 startup_metric.StartupMetric().AddResults(tab, results)
|
/external/jemalloc/src/ |
H A D | ckh.c | 59 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; 104 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + 145 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; 249 ckhc_t *tab, *ttab; local 273 tab = (ckhc_t *)ipalloc(usize, CACHELINE, true); 274 if (tab == NULL) { 279 ttab = ckh->tab; 280 ckh->tab = tab; 281 tab 303 ckhc_t *tab, *ttab; local [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
H A D | RecentlyClosedBridge.java | 35 * Represents a recently closed tab. 52 RecentlyClosedTab tab = new RecentlyClosedTab(id, title, url); 53 tabs.add(tab); 100 * Opens a recently closed tab in the current tab. 102 * @param tab The current Tab. 104 * @return Whether the tab was successfully opened. 106 public boolean openRecentlyClosedTab(Tab tab, RecentlyClosedTab recentTab) { argument 107 return openRecentlyClosedTab(tab, recentTab, WindowOpenDisposition.CURRENT_TAB); 111 * Opens a recently closed tab i 120 openRecentlyClosedTab(Tab tab, RecentlyClosedTab recentTab, int windowOpenDisposition) argument 139 nativeOpenRecentlyClosedTab(long nativeRecentlyClosedTabsBridge, Tab tab, int recentTabId, int windowOpenDisposition) argument [all...] |
/external/e2fsprogs/lib/et/ |
H A D | com_right.c | 75 struct error_table tab; member in struct:foobar 92 struct error_table *tab; local 102 et->table = tab = &f->tab; 103 tab->msgs = messages; 104 tab->n_msgs = num_errors; 105 tab->base = base;
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/tests/ |
H A D | test_symrec.py | 29 tab = self.symtab 30 tab.declare("foo", None, 0) 31 tab.declare("bar", None, 0) 32 tab.declare("baz", None, 0) 35 self.assertEquals(list(tab.keys()), list(tab.iterkeys())) 36 self.assertEquals(list(tab.values()), list(tab.itervalues())) 37 self.assertEquals(list(tab.items()), list(tab [all...] |
/external/checkpolicy/ |
H A D | Makefile | 17 CHECKOBJS = y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o \ 24 GENERATED=lex.yy.c y.tab.c y.tab.h 36 y.tab.o: y.tab.c 42 y.tab.c: policy_parse.y 45 lex.yy.c: policy_scan.l y.tab.c 60 -rm -f $(TARGETS) $(CHECKPOLOBJS) $(CHECKMODOBJS) y.tab.c y.tab.h lex.yy.c
|
/external/chromium_org/tools/perf/benchmarks/ |
H A D | octane.py | 78 def WillNavigateToPage(self, page, tab): 79 memory_stats = tab.browser.memory_stats 95 def DidNavigateToPage(self, page, tab): 96 self._power_metric.Start(page, tab) 98 def ValidateAndMeasurePage(self, page, tab, results): 99 tab.WaitForJavaScriptExpression( 102 self._power_metric.Stop(page, tab) 103 self._power_metric.AddResults(tab, results) 105 results_log = tab.EvaluateJavaScript('__results')
|
/external/chromium_org/chrome/browser/sessions/ |
H A D | persistent_tab_restore_service_unittest.cc | 125 // Adds a window with one tab and url to the profile's session service. 126 // If |pinned| is true, the tab is marked as pinned in the session service. 146 // is configured with a single window with a single tab pointing at url1_ by 148 // tab is marked as pinned in the session service. 204 // Have the service record the tab. 213 Tab* tab = static_cast<Tab*>(entry); local 214 EXPECT_FALSE(tab->pinned); 215 EXPECT_TRUE(tab->extension_app_id.empty()); 216 ASSERT_EQ(3U, tab->navigations.size()); 217 EXPECT_TRUE(url1_ == tab 272 Tab* tab = static_cast<Tab*>(entry); local 297 Tab* tab = static_cast<Tab*>(entry); local 459 Tab* tab = static_cast<Tab*>(entry); local 501 Tab* tab = static_cast<Tab*>(entry); local 563 Tab* tab = static_cast<Tab*>(entry); local 611 Tab* tab = static_cast<Tab*>(entry); local 650 Tab* tab = new Tab(); local 670 Tab* tab = new Tab(); local [all...] |
/external/chromium_org/tools/telemetry/telemetry/page/ |
H A D | record_wpr.py | 38 def WillNavigateToPage(self, page, tab): 40 tab.ClearCache(force=False) 43 self.page_test.WillNavigateToPage(page, tab) 45 def DidNavigateToPage(self, page, tab): 47 self.page_test.DidNavigateToPage(page, tab) 49 def WillRunActions(self, page, tab): 51 self.page_test.WillRunActions(page, tab) 53 def DidRunActions(self, page, tab): 55 self.page_test.DidRunActions(page, tab) 57 def ValidateAndMeasurePage(self, page, tab, result [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
H A D | TabbedPane.js | 85 * @param {!WebInspector.TabbedPaneTab} tab 88 function tabToView(tab) 90 return tab.view; 168 var tab = this._tabsById[id]; 169 return tab ? tab.isCloseable() : false; 194 var tab = new WebInspector.TabbedPaneTab(this, id, tabTitle, isCloseable, view, tabTooltip); 195 tab.setDelegate(this._delegate); 196 this._tabsById[id] = tab; 210 this._tabs.splice(insertionIndexForObjectInListSortedByFunction(tab, thi [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omnibox/ |
H A D | OmniboxPrerender.java | 56 * @param currentUrl url the current tab is displaying. 59 * @param tab The tab whose webcontent's to use. 62 Profile profile, Tab tab) { 64 profile, tab); 74 Tab tab); 61 prerenderMaybe(String url, String currentUrl, long nativeAutocompleteResult, Profile profile, Tab tab) argument 72 nativePrerenderMaybe(long nativeOmniboxPrerender, String url, String currentUrl, long nativeAutocompleteResult, Profile profile, Tab tab) argument
|
/external/chromium_org/chrome/browser/android/ |
H A D | chromium_application.cc | 46 TabAndroid* tab = TabAndroid::FromWebContents(web_contents); local 47 DCHECK(tab); 51 tab->GetJavaObject().obj());
|
H A D | password_authentication_manager.cc | 47 TabAndroid* tab = TabAndroid::FromWebContents(web_contents); local 48 if (!tab) 56 tab->GetJavaObject().obj(),
|
/external/chromium_org/chrome/browser/ui/tabs/ |
H A D | pinned_tab_codec.cc | 41 // Adds a DictionaryValue to |values| representing |tab|. 42 static void EncodeTab(const StartupTab& tab, base::ListValue* values) { argument 44 value->SetString(kURL, tab.url.spec()); 45 if (tab.is_app) 46 value->SetString(kAppID, tab.app_id); 50 // Adds a base::DictionaryValue to |values| representing the pinned tab at the 80 // Invokes EncodePinnedTab for each pinned tab in browser. 87 // Decodes the previously written values in |value| to |tab|, returning true 89 static bool DecodeTab(const base::DictionaryValue& value, StartupTab* tab) { argument 90 tab 160 StartupTab tab; local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/windows/merge_windows/ |
H A D | background.js | 8 function start(tab) { 19 // We require all the tab information to be populated. 34 var tab = win.tabs[j]; 35 // Move the tab into the window that triggered the browser action. 36 chrome.tabs.move(tab.id,
|