/external/chromium_org/chrome/browser/sessions/ |
session_tab_helper.cc | 41 SessionID::id_type SessionTabHelper::IdForTab(const content::WebContents* tab) { 43 tab ? SessionTabHelper::FromWebContents(tab) : NULL; 49 const content::WebContents* tab) { 51 tab ? SessionTabHelper::FromWebContents(tab) : NULL;
|
persistent_tab_restore_service_unittest.cc | 35 typedef TabRestoreService::Tab Tab; 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. 212 ASSERT_EQ(TabRestoreService::TAB, entry->type); 213 Tab* tab = static_cast<Tab*>(entry) local 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/perf/measurements/ |
page_cycler.py | 98 def WillNavigateToPage(self, page, tab): 102 initial_url = tab.browser.http_server.UrlOf('nonexistent.html') 105 tab.Navigate(self._initial_renderer_url) 109 tab.ClearCache(force=True) 111 self._speedindex_metric.Start(page, tab) 112 self._cpu_metric.Start(page, tab) 113 self._power_metric.Start(page, tab) 115 def DidNavigateToPage(self, page, tab): 116 self._memory_metric.Start(page, tab) 118 self._v8_object_stats_metric.Start(page, tab) [all...] |
timeline_controller.py | 25 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.id [all...] |
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):
|
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 %d, discards = %d, kills = %d" [all...] |
/external/chromium_org/tools/perf/metrics/ |
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/tools/telemetry/telemetry/page/actions/ |
loop.py | 28 def WillRunAction(self, tab): 30 super(LoopAction, self).WillRunAction(tab) 31 self.LoadJS(tab, 'loop.js') 33 def RunAction(self, tab): 35 tab.ExecuteJavaScript('window.__loopMedia("%s", %i);' % 38 self.WaitForEvent(tab, self._selector, 'loop', self._timeout_in_seconds)
|
seek.py | 35 def WillRunAction(self, tab): 37 super(SeekAction, self).WillRunAction(tab) 38 self.LoadJS(tab, 'seek.js') 40 def RunAction(self, tab): 42 tab.ExecuteJavaScript( 46 self.WaitForEvent(tab, self._selector, 'seeked',
|
scroll.py | 37 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.WaitForJavaScriptExpression('window.__scrollActionDone', 60 [all...] |
scroll_bounce.py | 40 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/ssl/ |
ssl_browser_tests.cc | 70 explicit ProvisionalLoadWaiter(WebContents* tab) 71 : WebContentsObserver(tab), waiting_(false), seen_(false) {} 160 void CheckSecurityState(WebContents* tab, 164 ASSERT_FALSE(tab->IsCrashed()); 165 NavigationEntry* entry = tab->GetController().GetActiveEntry(); 194 // new tab will use the same process. 198 void CheckAuthenticatedState(WebContents* tab, 200 CheckSecurityState(tab, 206 void CheckUnauthenticatedState(WebContents* tab, 208 CheckSecurityState(tab, 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/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/ |
TabModelBase.java | 12 import org.chromium.chrome.browser.Tab; 39 private final List<Tab> mTabs = new ArrayList<Tab>(); 52 * A {@link TabList} that represents the complete list of {@link Tab}s. This is so that 54 * {@link Tab}s that includes rewindable entries, as the typical {@link TabModel} does not 60 * This specifies the current {@link Tab} in {@link #mTabs}. 64 /** Native Tab pointer which will be set by nativeInit(). */ 88 for (Tab tab : mTabs) { 89 if (tab.isInitialized()) tab.destroy() 180 Tab tab = mTabs.remove(curIndex); local 206 Tab tab = TabModelUtils.getTabById(mModelDelegate.getModel(mIsIncognito), tabId); local 259 Tab tab = mRewoundList.getPendingRewindTab(tabId); local 300 Tab tab = mRewoundList.getPendingRewindTab(tabId); local 397 Tab tab = TabModelUtils.getCurrentTab(this); local 573 Tab tab = i < TabModelBase.this.getCount() ? TabModelBase.this.getTabAt(i) : null; local [all...] |
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ |
ContextMenuTest.java | 18 import org.chromium.chrome.browser.Tab; 47 Tab tab = getActivity().getActiveTab(); local 48 ContextMenuUtils.selectContextMenuItem(this, tab, "testLink", 59 Tab tab = getActivity().getActiveTab(); local 60 ContextMenuUtils.selectContextMenuItem(this, tab, "testImageLink", 71 Tab tab = getActivity().getActiveTab(); local 72 ContextMenuUtils.selectContextMenuItem(this, tab, "testLink" 84 Tab tab = getActivity().getActiveTab(); local 114 final Tab tab = getActivity().getActiveTab(); local 146 final Tab tab = getActivity().getActiveTab(); local 175 Tab tab = getActivity().getActiveTab(); local 196 Tab tab = getActivity().getActiveTab(); local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
PreloadController.java | 71 public void onSetWebView(Tab tab, WebView view) { 76 public void createSubWindow(Tab tab) { 81 public void onPageStarted(Tab tab, WebView view, Bitmap favicon) { 85 // user visits a preloaded tab, the only item in the history 92 public void onPageFinished(Tab tab) { 94 if (tab != null) [all...] |
XLargeUi.java | 90 for (Tab t : mTabControl.getTabs()) { 134 public void addTab(Tab tab) { 135 mTabBar.onNewTab(tab); 138 protected void onAddTabCompleted(Tab tab) { 143 public void setActiveTab(final Tab tab) { 146 super.setActiveTab(tab); 147 BrowserWebView view = (BrowserWebView) tab.getWebView() [all...] |
/external/jemalloc/src/ |
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 = ttab 303 ckhc_t *tab, *ttab; local [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
RecentlyClosedBridge.java | 35 * Represents a recently closed tab. 52 RecentlyClosedTab tab = new RecentlyClosedTab(id, title, url); local 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) [all...] |
/external/e2fsprogs/lib/et/ |
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/ |
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.iteritems()) [all...] |
/external/checkpolicy/ |
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/ |
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')
|
scirra.py | 21 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'))
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
TabHelperHoneycomb.java | 46 public void addTab(CompatTab tab) { 47 String tag = tab.getTag(); 49 // Check to see if we already have a fragment for this tab, probably 51 // initial state is that a tab isn't shown. 54 tab.setFragment(fragment); 62 if (tab.getCallback() == null) { 66 // We know tab is a CompatTabHoneycomb instance, so its 67 // native tab object is an ActionBar.Tab. 68 mActionBar.addTab((ActionBar.Tab) tab.getTab()) [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/email_this_page/ |
background.js | 31 // Custom URL's (such as opening mailto in Gmail tab) should have a 32 // separate tab to avoid clobbering the page you are on. 38 // Plain vanilla mailto links open up in the same tab to prevent 46 var tab = port.sender.tab; 49 // the tab as a result of the user pressing the browser action. 54 executeMailto(tab.id, info.title, tab.url, info.selection); 59 chrome.browserAction.onClicked.addListener(function(tab) { 62 if (tab.url.indexOf("http:") != 0 & [all...] |