HomeSort by relevance Sort by last modified time
    Searched refs:tab (Results 26 - 50 of 1118) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/tools/telemetry/telemetry/page/actions/
gesture_action.py 11 def RunAction(self, page, tab, previous_action):
12 tab.ExecuteJavaScript(
15 self.RunGesture(page, tab, previous_action)
17 tab.ExecuteJavaScript(
20 def RunGesture(self, page, tab, previous_action):
media_action.py 15 def WillRunAction(self, page, tab):
17 self.LoadJS(tab, 'media_action.js')
19 def RunAction(self, page, tab, previous_action):
20 super(MediaAction, self).RunAction(page, tab, previous_action)
22 def LoadJS(self, tab, js_file_name):
23 """Loads and executes a JS file in the tab."""
26 tab.ExecuteJavaScript(js)
28 def WaitForEvent(self, tab, selector, event_name, timeout):
32 tab: The tab to check for event on
    [all...]
tap.py 14 def WillRunAction(self, page, tab):
18 tab.ExecuteJavaScript(js)
21 if not tab.EvaluateJavaScript('window.__TapAction_SupportedByBrowser()'):
26 tab.ExecuteJavaScript("""
31 def RunGesture(self, page, tab, previous_action):
42 tab.ExecuteJavaScript("""
53 tab.ExecuteJavaScript("""
63 tab.WaitForJavaScriptExpression('window.__tapActionDone', 60)
68 def BindMeasurementJavaScript(self, tab, start_js, stop_js):
70 tab.ExecuteJavaScript(""
    [all...]
interact.py 11 def RunAction(self, page, tab, previous_action):
12 tab.ExecuteJavaScript(
15 tab.ExecuteJavaScript(
  /external/chromium_org/tools/perf/measurements/
media.py 30 def DidNavigateToPage(self, page, tab):
32 self._media_metric = media.MediaMetric(tab)
33 self._media_metric.Start(page, tab)
41 self._cpu_metric = cpu.CpuMetric(tab.browser)
42 self._cpu_metric.Start(page, tab)
45 self._memory_metric = memory.MemoryMetric(tab.browser)
47 def MeasurePage(self, page, tab, results):
49 self._media_metric.Stop(page, tab)
50 trace_name = self._media_metric.AddResults(tab, results)
52 self._cpu_metric.Stop(page, tab)
    [all...]
loading_timeline.py 18 def WillNavigateToPage(self, page, tab):
19 self._timeline_metric.Start(page, tab)
21 def MeasurePage(self, page, tab, results):
24 tab.WaitForJavaScriptExpression('performance.timing.loadEventStart', 300)
28 self._timeline_metric.Stop(page, tab)
30 loading.LoadingMetric().AddResults(tab, results)
31 self._timeline_metric.AddResults(tab, results)
loading_trace.py 18 def WillNavigateToPage(self, page, tab):
19 self._timeline_metric.Start(page, tab)
21 def MeasurePage(self, page, tab, results):
24 tab.WaitForJavaScriptExpression('performance.timing.loadEventStart', 300)
28 self._timeline_metric.Stop(page, tab)
30 loading.LoadingMetric().AddResults(tab, results)
31 self._timeline_metric.AddResults(tab, results)
image_decoding.py 12 def WillNavigateToPage(self, page, tab):
13 tab.ExecuteJavaScript("""
20 tab.StartTimelineRecording()
29 def MeasurePage(self, page, tab, results):
30 tab.StopTimelineRecording()
32 return tab.EvaluateJavaScript('isDone')
35 tab.timeline_model.GetAllEventsOfName('DecodeImage')
43 min_iterations = tab.EvaluateJavaScript('minIterations')
53 tab.EvaluateJavaScript('averageLoadingTimeMs()'))
  /external/chromium/chrome/browser/sidebar/
sidebar_manager.cc 20 // Sidebars linked to this tab.
41 TabContents* tab) {
42 TabToSidebarHostMap::iterator it = tab_to_sidebar_host_.find(tab);
54 TabContents* tab, const std::string& content_id) {
56 TabToSidebarHostMap::iterator it = tab_to_sidebar_host_.find(tab);
67 TabContents* tab, const std::string& content_id) {
69 SidebarContainer* sidebar_host = GetSidebarContainerFor(tab, content_id);
103 void SidebarManager::ShowSidebar(TabContents* tab,
106 SidebarContainer* host = GetSidebarContainerFor(tab, content_id);
108 host = new SidebarContainer(tab, content_id, this)
    [all...]
  /external/chromium/chrome/browser/ui/webui/
bookmarks_ui_uitest.cc 20 bool WaitForBookmarksUI(TabProxy* tab) {
21 return WaitUntilJavaScriptCondition(tab, L"",
33 scoped_refptr<TabProxy> tab = browser->GetActiveTab();
34 EXPECT_TRUE(tab.get());
35 if (!tab.get())
37 bool success = tab->NavigateToURL(GURL(chrome::kChromeUIBookmarksURL));
41 success = WaitForBookmarksUI(tab);
45 return tab;
48 void AssertIsBookmarksPage(TabProxy* tab) {
49 // tab->GetCurrentURL is not up to date
71 scoped_refptr<TabProxy> tab = browser->GetActiveTab(); local
96 scoped_refptr<TabProxy> tab = browser->GetActiveTab(); local
119 scoped_refptr<TabProxy> tab = browser->GetActiveTab(); local
152 scoped_refptr<TabProxy> tab = GetBookmarksUITab(); local
    [all...]
  /external/chromium_org/chrome/browser/resources/options/
subpages_tab_controls.css 5 .subpages-nav-tabs .tab {
10 .subpages-nav-tabs .active-tab {
21 * bold, we actually put two labels inside each tab: an inactive label and an
23 * size the tab even when it's not visible. This keeps the tab size constant.
25 .subpages-nav-tabs .active-tab-label,
26 .subpages-nav-tabs .tab-label:hover {
30 .subpages-nav-tabs .tab-label {
36 html[dir=rtl] .subpages-nav-tabs .tab-label {
40 .subpages-nav-tabs .active-tab-label
    [all...]
  /external/chromium/chrome/browser/ui/views/tabs/
base_tab_strip.cc 20 // Animation delegate used when a dragged tab is released. When done sets the
25 explicit ResetDraggingStateDelegate(BaseTab* tab) : tab_(tab) {
44 // AnimationDelegate used when removing a tab. Does the necessary cleanup when
49 RemoveTabDelegate(BaseTabStrip* tab_strip, BaseTab* tab)
51 tab_(tab) {
60 // . The tab we reference was dragged back into the tab strip. In this case
61 // we don't want to remove the tab (closing is false).
63 // (DestroyDraggedSourceTab). In this case we need to remove the tab
129 BaseTab* tab = CreateTab(); local
147 BaseTab* tab = tab_data_[from_tab_data_index].tab; local
158 BaseTab* tab = GetBaseTabAtModelIndex(model_index); local
214 BaseTab* tab = base_tab_at_tab_index(i); local
406 BaseTab* tab = GetBaseTabAtModelIndex(model_index); local
    [all...]
  /external/chromium/chrome/browser/
collected_cookies_uitest.cc 36 scoped_refptr<TabProxy> tab(browser->GetTab(0));
37 ASSERT_TRUE(tab.get());
44 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/cookie1.html")));
47 ASSERT_TRUE(tab->ShowCollectedCookiesDialog());
48 ASSERT_TRUE(tab->ShowCollectedCookiesDialog());
64 scoped_refptr<TabProxy> tab(browser->GetTab(0));
65 ASSERT_TRUE(tab.get());
72 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/cookie1.html")));
75 ASSERT_TRUE(tab->ShowCollectedCookiesDialog());
78 ASSERT_TRUE(tab->NavigateToURL(test_server.GetURL("files/cookie2.html")))
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/api/processes/show_tabs/
popup.js 9 var current = currentWindow.tabs.filter(function(tab) {
10 return tab.active;
14 var outputDiv = document.getElementById("tab-list");
32 var tab = windowList[i].tabs[j];
33 if (tab.id != selectedTab.id) {
34 tabs.push(tab);
39 // Display tab in list if it is in the same process
40 tabs.forEach(function(tab) {
41 chrome.processes.getProcessIdForTab(tab.id,
44 displayTabInfo(tab.windowId, tab, outputDiv)
    [all...]
  /external/chromium/chrome/browser/resources/options/
subpages_tab_controls.css 7 .subpages-nav-tabs .tab {
12 .subpages-nav-tabs .active-tab {
22 * bold, we actually put two labels inside each tab: an inactive label and an
24 * size the tab even when it's not visible. This keeps the tab size constant.
26 .subpages-nav-tabs .active-tab-label {
30 .subpages-nav-tabs .tab-label {
36 html[dir=rtl] .subpages-nav-tabs .tab-label {
40 .subpages-nav-tabs .active-tab-label,
41 .subpages-nav-tabs .active-tab .tab-label
    [all...]
  /external/chromium_org/chrome/browser/sync/glue/
synced_session.cc 24 bool ShouldSyncSessionTab(const SessionTab& tab) {
25 if (tab.navigations.empty())
28 for (size_t i = 0; i < tab.navigations.size(); ++i) {
29 const GURL& virtual_url = tab.navigations.at(i).virtual_url();
45 const SessionTab* tab = *i; local
46 if (ShouldSyncSessionTab(*tab))
  /external/chromium/chrome/browser/ui/views/location_bar/
click_handler.cc 28 TabContents* tab = location_bar_->GetTabContentsWrapper()->tab_contents();
29 NavigationEntry* nav_entry = tab->controller().GetActiveEntry();
34 tab->ShowPageInfo(nav_entry->url(), nav_entry->ssl(), true);
  /external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/
TabBaseTabUtils.java 24 private static TestContentViewClient createTestContentViewClientForTab(TabBase tab) {
25 ContentViewClient client = tab.getContentView().getContentViewClient();
29 tab.getContentView().setContentViewClient(testClient);
37 public TestCallbackHelperContainerForTab(TabBase tab) {
38 super(createTestContentViewClientForTab(tab),
39 new TestWebContentsObserver(tab.getContentView().getContentViewCore()));
42 tab.addObserver(new EmptyTabObserver() {
44 public void onDestroyed(TabBase tab) {
49 public void onContextMenuShown(TabBase tab, ContextMenu menu) {
82 * Creates, binds and returns a TestCallbackHelperContainer for a given Tab
    [all...]
  /external/chromium/chrome/browser/notifications/
notifications_interactive_uitest.cc 27 scoped_refptr<TabProxy> tab(browser->GetActiveTab());
28 ASSERT_TRUE(tab.get());
30 tab->NavigateToURL(test_server.GetURL(
37 ASSERT_TRUE(tab->ExecuteAndExtractBool(
43 EXPECT_TRUE(tab->WaitForInfoBarCount(1));
54 scoped_refptr<TabProxy> tab(browser->GetActiveTab());
55 ASSERT_TRUE(tab.get());
60 tab->NavigateToURL(test_server.GetURL(
65 ASSERT_TRUE(tab->GetInfoBarCount(&info_bar_count));
  /external/chromium_org/chrome/browser/ui/views/location_bar/
page_info_helper.cc 35 WebContents* tab = location_bar_->GetWebContents();
36 if (!tab)
38 const NavigationController& controller = tab->GetController();
47 tab, nav_entry->GetURL(), nav_entry->GetSSL());
  /external/chromium_org/tools/perf/benchmarks/
browsermark.py 30 def MeasurePage(self, _, tab, results):
40 tab.ExecuteJavaScript(js_start_test)
41 tab.WaitForJavaScriptExpression(
43 result = int(tab.EvaluateJavaScript(
html5gaming.py 21 def MeasurePage(self, _, tab, results):
22 tab.ExecuteJavaScript('benchmark();')
25 tab.WaitForJavaScriptExpression(
27 result = int(tab.EvaluateJavaScript(
jsgamebench.py 15 def MeasurePage(self, _, tab, results):
16 tab.ExecuteJavaScript('UI.call({}, "perftest")')
17 tab.WaitForJavaScriptExpression(
20 result = int(tab.EvaluateJavaScript(js_get_results))
robohornet_pro.py 15 def MeasurePage(self, _, tab, results):
16 tab.ExecuteJavaScript('ToggleRoboHornet()')
17 tab.WaitForJavaScriptExpression(
20 result = int(tab.EvaluateJavaScript('stopTime - startTime'))
  /external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
inspector_memory_unittest.py 12 # Due to an issue with CrOS, we create a new tab here rather than
14 tab = self._browser.tabs.New()
16 tab.Navigate(
18 tab.WaitForDocumentReadyStateToBeComplete()
20 counts = tab.dom_stats

Completed in 593 milliseconds

12 3 4 5 6 7 8 91011>>