HomeSort by relevance Sort by last modified time
    Searched refs:tab (Results 51 - 75 of 1046) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/tools/telemetry/telemetry/page/actions/
js_collect_garbage.py 10 def RunAction(self, page, tab, previous_action):
11 tab.CollectGarbage()
play.py 24 def WillRunAction(self, page, tab):
26 super(PlayAction, self).WillRunAction(page, tab)
27 self.LoadJS(tab, 'play.js')
29 def RunAction(self, page, tab, previous_action):
32 tab.ExecuteJavaScript('window.__playMedia("%s");' % selector)
36 self.WaitForEvent(tab, selector, 'playing', timeout)
39 self.WaitForEvent(tab, selector, 'ended', timeout)
wait.py 19 def RunAction(self, page, tab, previous_action):
31 action_to_perform = lambda: previous_action.RunAction(page, tab, None)
32 tab.PerformActionAndWaitForNavigate(action_to_perform)
39 old_url = tab.EvaluateJavaScript('document.location.href')
40 previous_action.RunAction(page, tab, None)
41 util.WaitFor(lambda: tab.EvaluateJavaScript(
50 tab, self.text, callback_code), self.DEFAULT_TIMEOUT)
52 util.WaitFor(lambda: tab.EvaluateJavaScript(
58 util.WaitFor(lambda: tab.EvaluateJavaScript(self.javascript),
  /external/chromium/chrome/browser/ssl/
ssl_browser_tests.cc 36 void CheckAuthenticatedState(TabContents* tab,
38 NavigationEntry* entry = tab->controller().GetActiveEntry();
48 void CheckUnauthenticatedState(TabContents* tab) {
49 NavigationEntry* entry = tab->controller().GetActiveEntry();
58 void CheckAuthenticationBrokenState(TabContents* tab,
62 NavigationEntry* entry = tab->controller().GetActiveEntry();
76 void CheckWorkerLoadResult(TabContents* tab, bool expectLoaded) {
87 tab->render_view_host(), std::wstring(),
102 tab->render_view_host(), std::wstring(),
108 void ProceedThroughInterstitial(TabContents* tab) {
247 TabContents* tab = browser()->GetSelectedTabContents(); local
277 TabContents* tab = browser()->GetSelectedTabContents(); local
320 TabContents* tab = browser()->GetSelectedTabContents(); local
347 TabContents* tab = browser()->GetSelectedTabContents(); local
374 TabContents* tab = browser()->GetSelectedTabContents(); local
478 TabContents* tab = browser()->GetSelectedTabContents(); local
520 TabContents* tab = browser()->GetSelectedTabContents(); local
625 TabContents* tab = browser()->GetSelectedTabContents(); local
651 TabContents* tab = browser()->GetSelectedTabContents(); local
674 TabContents* tab = browser()->GetSelectedTabContents(); local
704 TabContents* tab = browser()->GetSelectedTabContents(); local
774 TabContents* tab = browser()->GetSelectedTabContents(); local
795 TabContents* tab = browser()->GetSelectedTabContents(); local
811 TabContents* tab = browser()->GetSelectedTabContents(); local
828 TabContents* tab = browser()->GetSelectedTabContents(); local
891 TabContents* tab = browser()->GetSelectedTabContents(); local
965 TabContents* tab = browser()->GetSelectedTabContents(); local
1009 TabContents* tab = browser()->GetSelectedTabContents(); local
1060 TabContents* tab = browser()->GetSelectedTabContents(); local
1076 TabContents* tab = browser()->GetSelectedTabContents(); local
    [all...]
  /external/chromium/chrome/browser/sidebar/
sidebar_browsertest.cc 71 TabContents* tab = browser()->GetSelectedTabContents(); local
75 sidebar_manager->NavigateSidebar(tab, content_id_, url);
78 sidebar_manager->GetSidebarContainerFor(tab, content_id_);
84 void ShowSidebar(TabContents* tab) {
86 sidebar_manager->ShowSidebar(tab, content_id_);
89 void ExpandSidebar(TabContents* tab) {
91 sidebar_manager->ExpandSidebar(tab, content_id_);
92 if (browser()->GetSelectedTabContents() == tab)
96 void CollapseSidebar(TabContents* tab) {
98 sidebar_manager->CollapseSidebar(tab, content_id_)
    [all...]
  /external/chromium_org/chrome/browser/ui/gtk/tabs/
tab_gtk.h 21 // An interface implemented by an object that can help this Tab complete
22 // various actions. The index parameter is the index of this Tab in the
26 // Returns true if the specified Tab is active.
27 virtual bool IsTabActive(const TabGtk* tab) const = 0;
29 // Returns true if the specified Tab is selected.
30 virtual bool IsTabSelected(const TabGtk* tab) const = 0;
32 // Returns true if the specified Tab is pinned.
33 virtual bool IsTabPinned(const TabGtk* tab) const = 0;
35 // Returns true if the specified Tab is detached.
36 virtual bool IsTabDetached(const TabGtk* tab) const = 0
    [all...]
  /frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
MediaDump.java 39 TabHost tab = getTabHost(); local
41 // Setup video dumping tab
42 TabHost.TabSpec videoDumpTab = tab.newTabSpec("VideoDump");
48 tab.addTab(videoDumpTab);
50 // Setup rgb player tab
51 TabHost.TabSpec rgbPlayerTab = tab.newTabSpec("RgbPlayer");
57 tab.addTab(rgbPlayerTab);
  /external/chromium/chrome/browser/ui/login/
login_prompt_uitest.cc 64 scoped_refptr<TabProxy> tab(GetActiveTab());
65 ASSERT_TRUE(tab.get());
67 tab->NavigateToURL(test_server_.GetURL("auth-basic")));
69 EXPECT_TRUE(tab->NeedsAuth());
70 EXPECT_FALSE(tab->SetAuth(username_basic_, password_bad_));
71 EXPECT_TRUE(tab->NeedsAuth());
72 EXPECT_TRUE(tab->CancelAuth());
76 tab->NavigateToURL(test_server_.GetURL("auth-basic")));
78 EXPECT_TRUE(tab->NeedsAuth());
79 EXPECT_TRUE(tab->SetAuth(username_basic_, password_))
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_url/
background.js 5 // Called when the url of a tab changes.
6 function checkForValidUrl(tabId, changeInfo, tab) {
7 // If the letter 'g' is found in the tab's URL...
8 if (tab.url.indexOf('g') > -1) {
14 // Listen for any changes to the URL of any tab.
  /external/chromium_org/tools/perf/metrics/
timeline.py 16 def Start(self, tab):
21 if not tab.browser.supports_tracing:
23 tab.browser.StartTracing()
26 tab.StartTimelineRecording()
28 def Stop(self, tab):
30 # This creates an async trace event in the render process for tab that
31 # will allow us to find that tab during the AddTracingResultsForTab
33 tab.ExecuteJavaScript("""
38 tab.browser.StopTracing()
39 trace_result = tab.browser.GetTraceResultAndReset(
    [all...]
media.py 16 def __init__(self, tab):
20 tab.ExecuteJavaScript(js)
23 def Start(self, page, tab):
25 tab.ExecuteJavaScript('window.__createMediaMetricsForDocument()')
27 def Stop(self, page, tab):
28 self._results = tab.EvaluateJavaScript('window.__getAllMetrics()')
30 def AddResults(self, tab, results):
  /external/chromium/chrome/browser/ui/views/tabs/
base_tab_strip.h 22 // Base class for the view tab strip implementations.
36 // Starts highlighting the tab at the specified index.
39 // Stops all tab higlighting.
42 // Retrieves the ideal bounds for the Tab at the specified index.
47 // Creates and returns a tab that can be used for dragging. Ownership passes
51 // Adds a tab at the specified index.
55 // (the user clicked the tab close button or middle clicked the tab). This is
60 // Removes a tab at the specified index.
63 // Selects a tab at the specified index. |old_model_index| is the selecte
143 BaseTab* tab; member in struct:BaseTabStrip::TabData
    [all...]
  /external/chromium_org/chrome/browser/ssl/
ssl_browser_tests.cc 65 explicit ProvisionalLoadWaiter(WebContents* tab)
66 : WebContentsObserver(tab), waiting_(false), seen_(false) {}
115 // new tab will use the same process.
119 void CheckState(WebContents* tab,
123 ASSERT_FALSE(tab->IsCrashed());
124 NavigationEntry* entry = tab->GetController().GetActiveEntry();
137 void CheckAuthenticatedState(WebContents* tab,
139 CheckState(tab, content::SECURITY_STYLE_AUTHENTICATED,
143 void CheckUnauthenticatedState(WebContents* tab) {
144 CheckState(tab, content::SECURITY_STYLE_UNAUTHENTICATED, false, false)
391 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
421 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
465 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
502 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
529 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
587 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
618 chrome::CloseWebContents(browser(), tab, false); local
629 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
695 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
789 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
871 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
915 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1033 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1067 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1089 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1127 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1199 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1219 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1234 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1251 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1315 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1416 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1455 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1518 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1542 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
1639 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local
    [all...]
  /packages/apps/Browser/src/com/android/browser/
UiController.java 41 Tab getCurrentTab();
45 List<Tab> getTabs();
47 Tab openTabToHomePage();
49 Tab openIncognitoTab();
51 Tab openTab(String url, boolean incognito, boolean setActive,
54 void setActiveTab(Tab tab);
56 boolean switchToTab(Tab tab);
60 void closeTab(Tab tab)
    [all...]
  /external/chromium_org/tools/perf/measurements/
tab_switching.py 5 """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.
27 def DidNavigateToPage(self, page, tab):
29 t = tab.browser.tabs.New()
34 def MeasurePage(self, _, tab, results):
36 to cycle through each tab that was opened via DidNavigateToPage and
37 thenrecord a single histogram for the tab switching metric.
42 histogram_type, histogram_name, tab)
45 for i in xrange(len(tab.browser.tabs))
    [all...]
smoothness.py 39 def WillRunAction(self, page, tab, action):
40 if tab.browser.platform.IsRawDisplayFrameRateSupported():
41 tab.browser.platform.StartRawDisplayFrameRateMeasurement()
42 self._metrics = smoothness.SmoothnessMetrics(tab)
48 def DidRunAction(self, page, tab, action):
49 if tab.browser.platform.IsRawDisplayFrameRateSupported():
50 tab.browser.platform.StopRawDisplayFrameRateMeasurement()
54 def MeasurePage(self, page, tab, results):
60 loading.LoadingMetric().AddResults(tab, results)
62 smoothness.CalcFirstPaintTimeResults(results, tab)
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/
browser_credentials_unittest.py 25 def LoginNeeded(self, config, tab):
26 self.login_needed_called = (config, tab)
29 def LoginNoLongerNeeded(self, tab):
30 self.login_no_longer_needed_called = (tab, )
57 tab = {}
58 ret = browser_cred.LoginNeeded(tab, 'google')
61 self.assertEqual(tab, google_backend.login_needed_called[0])
67 browser_cred.LoginNoLongerNeeded(tab, 'google')
69 self.assertEqual(tab, google_backend.login_no_longer_needed_called[0])
  /external/chromium_org/chrome/browser/ui/webui/ntp/android/
new_tab_page_ready_handler.cc 38 TabAndroid* tab = TabAndroid::FromWebContents(web_ui()->GetWebContents()); local
39 if (!tab)
41 tab->OnNewTabPageReady();
  /external/chromium/chrome/browser/ui/webui/
new_tab_ui_uitest.cc 36 // Switch to the "new tab" tab, which should be any new tab after the
41 // Bring up a new tab page.
44 scoped_refptr<TabProxy> tab = window->GetActiveTab(); local
45 ASSERT_TRUE(tab.get());
49 ASSERT_TRUE(WaitUntilJavaScriptCondition(tab, L"",
62 // Bring up a new tab page.
65 scoped_refptr<TabProxy> tab = window->GetActiveTab(); local
66 ASSERT_TRUE(tab.get())
93 scoped_refptr<TabProxy> tab = window->GetActiveTab(); local
128 scoped_refptr<TabProxy> tab = window->GetActiveTab(); local
147 scoped_refptr<TabProxy> tab = window->GetTab(0); local
    [all...]
  /external/chromium_org/chrome/browser/sessions/
tab_restore_service_helper.cc 37 void RecordAppLaunch(Profile* profile, const TabRestoreService::Tab& tab) {
39 GURL url = tab.navigations.at(tab.current_navigation_index).virtual_url();
109 scoped_ptr<Tab> local_tab(new Tab());
126 // Don't use std::vector::resize() because it will push copies of an empty tab
129 window->tabs.push_back(Tab());
145 // Short-circuit creating a Window if only 1 tab was present. This fixes
146 // http://crbug.com/56744. Copy the Tab because it's owned by an object o
228 Tab* tab = static_cast<Tab*>(entry); local
245 const Tab& tab = window->tabs[tab_i]; local
272 const Tab& tab = *tab_i; local
586 Tab* tab = static_cast<Tab*>(entry); local
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/
genperf.c 73 /* 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[i+4].val_b], scramble[tab[i+5].val_b],
157 bstuff *tab; \/* table indexed by b *\/ local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
TabbedPane.js 142 var tab = new WebInspector.TabbedPaneTab(this, id, tabTitle, this._closeableTabs, view, tabTooltip);
143 tab.setDelegate(this._delegate);
144 this._tabsById[id] = tab;
146 this._tabs.push(tab);
147 this._tabsHistory.push(tab);
149 if (this._tabsHistory[0] === tab)
150 this.selectTab(tab.id, userGesture);
186 var tab = this._tabsById[id];
189 this._tabsHistory.splice(this._tabsHistory.indexOf(tab), 1);
190 this._tabs.splice(this._tabs.indexOf(tab), 1)
    [all...]
  /external/chromium_org/chrome/browser/sync/glue/
session_change_processor.cc 102 // Note: we favicon notifications don't affect tab contents, so we return
118 SyncedTabDelegate* tab = local
120 if (!tab || tab->profile() != profile_) {
123 modified_tabs.push_back(tab);
130 SyncedTabDelegate* tab = local
132 if (!tab || tab->profile() != profile_) {
135 modified_tabs.push_back(tab);
142 SyncedTabDelegate* tab local
153 SyncedTabDelegate* tab = ExtractSyncedTabDelegate(source); local
163 SyncedTabDelegate* tab = ExtractSyncedTabDelegate(source); local
173 SyncedTabDelegate* tab = ExtractSyncedTabDelegate(source); local
190 SyncedTabDelegate* tab = SyncedTabDelegate::ImplFromWebContents( local
295 SyncedTabDelegate* tab = local
313 SyncedTabDelegate* tab = modified_tabs.front(); local
    [all...]
  /development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
CompatActionBarNavHandler.java 20 import android.app.ActionBar.Tab;
49 * Called by framework when a tab is selected.
54 public void onTabSelected(Tab tab, FragmentTransaction ft) {
56 mNavListener.onCategorySelected(tab.getPosition());
72 * Called by framework when a tab is re-selected. That is, it was already selected and is
76 public void onTabReselected(Tab tab, FragmentTransaction ft) {
81 * Called by framework when a tab is unselected. Not used in our app.
84 public void onTabUnselected(Tab tab, FragmentTransaction ft)
    [all...]
  /external/chromium/chrome/browser/printing/
print_preview_tab_controller.h 5 // For print preview, a print preview (PP) tab is linked with the initiator tab
6 // that initiated the printing operation. If the tab initiates a second
7 // printing operation while the first print preview tab is still open, that PP
8 // tab is focused/activated. There may be more than one PP tab open. There is a
42 // Get/Create the print preview tab for |initiator_tab|.
46 // Returns preview tab for |tab|.
47 // Returns |tab| if |tab| is a preview tab
    [all...]

Completed in 1570 milliseconds

1 23 4 5 6 7 8 91011>>