/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_blocking_page.cc | 135 tab()->controller().last_committed_entry_index(); 150 sb_service_, tab(), unsafe_resources[0]); 155 return (!tab()->profile()->IsOffTheRecord() && 156 tab()->GetURL().SchemeIs(chrome::kHttpScheme)); 249 UTF8ToUTF16(tab()->GetURL().host())), 259 UTF8ToUTF16(tab()->GetURL().host())), 271 UTF8ToUTF16(tab()->GetURL().host())), 303 UTF8ToUTF16(tab()->GetURL().host()), 352 tab()->profile()->GetPrefs()->FindPreference( 416 tab()->OpenURL(url, GURL(), CURRENT_TAB, PageTransition::LINK) [all...] |
/external/chromium_org/chrome/browser/history/ |
history_tab_helper.cc | 131 // Don't update history if this web contents isn't associatd with a tab. 186 void HistoryTabHelper::WebContentsDestroyed(WebContents* tab) { 192 // We need to use tab value directly. 193 Profile* profile = Profile::FromBrowserContext(tab->GetBrowserContext()); 200 NavigationEntry* entry = tab->GetController().GetLastCommittedEntry(); 202 hs->UpdateWithPageEndTime(tab, entry->GetPageID(), tab->GetURL(),
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
browser_unittest.py | 81 logging.warning('Browser does not support tab control, skipping test.') 103 tab = b.tabs[0] 104 tab.Navigate(b.http_server.UrlOf('blank.html')) 110 logging.warning('Browser does not support tab control, skipping test.') 113 tab = b.tabs[0] 114 tab.Navigate(b.http_server.UrlOf('blank.html')) 115 tab.Close()
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_test_unittest.py | 22 def DoNothing(self, page, tab, results): 26 def RunAction(self, page, tab, previous_action): 33 def RunAction(self, page, tab, previous_action): 35 previous_action.WillRunAction(page, tab) 36 previous_action.RunAction(page, tab, None)
|
record_wpr.py | 40 def Run(self, options, page, tab, results): 42 tab.WaitForDocumentReadyStateToBeComplete() 50 tab.Navigate(page.url) 51 tab.WaitForDocumentReadyStateToBeComplete() 52 self._RunCompoundAction(page, tab, compound_action)
|
page.py | 115 def WaitToLoad(self, tab, timeout, poll_interval=0.1): 116 Page.WaitForPageToLoad(self, tab, timeout, poll_interval) 121 def WaitForPageToLoad(obj, tab, timeout, poll_interval=0.1): 129 tab, obj.wait_for_element_with_text, callback_code), 132 util.WaitFor(lambda: tab.EvaluateJavaScript( 136 tab.EvaluateJavaScript(obj.post_navigate_javascript_to_execute) 139 lambda: tab.EvaluateJavaScript(obj.wait_for_javascript_expression),
|
/external/tcpdump/ |
print-telnet.c | 96 #define STR_OR_ID(x, tab) \ 97 (((x) < sizeof(tab)/sizeof(tab[0]) && tab[(x)]) ? tab[(x)] : numstr(x))
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
TabsAdapter.java | 34 * trick. Normally a tab host has a simple API for supplying a View or 35 * Intent that each tab will show. This is not sufficient for switching 36 * between pages. So instead we make the content part of the tab host 38 * view to show as the tab content. It listens to changes in tabs, and takes 40 * tab changes. 137 // Unfortunately when TabHost changes the current tab, it kindly 148 // Scroll the current tab into visibility if needed. 149 View tab = widget.getChildTabViewAt(position); local 150 mTempRect.set(tab.getLeft(), tab.getTop(), tab.getRight(), tab.getBottom()) [all...] |
/external/chromium/chrome/common/extensions/docs/examples/api/contextMenus/basic/ |
sample.js | 6 function genericOnClick(info, tab) {
9 console.log("tab: " + JSON.stringify(tab));
34 function radioOnClick(info, tab) {
47 function checkboxOnClick(info, tab) {
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/contextMenus/basic/ |
sample.js | 6 function genericOnClick(info, tab) {
9 console.log("tab: " + JSON.stringify(tab));
34 function radioOnClick(info, tab) {
47 function checkboxOnClick(info, tab) {
|
/external/oprofile/module/x86/ |
op_nmi.c | 313 ctl_table * tab; local 322 if (!(tab = kmalloc(sizeof(ctl_table)*7, GFP_KERNEL))) 325 next->child = tab; 327 memset(tab, 0, sizeof(ctl_table)*7); 328 tab[0] = ((ctl_table) { 1, "enabled", &sysctl_parms.ctr[i].enabled, sizeof(int), 0644, NULL, lproc_dointvec, NULL, }); 329 tab[1] = ((ctl_table) { 1, "event", &sysctl_parms.ctr[i].event, sizeof(int), 0644, NULL, lproc_dointvec, NULL, }); 330 tab[2] = ((ctl_table) { 1, "count", &sysctl_parms.ctr[i].count, sizeof(int), 0644, NULL, lproc_dointvec, NULL, }); 331 tab[3] = ((ctl_table) { 1, "unit_mask", &sysctl_parms.ctr[i].unit_mask, sizeof(int), 0644, NULL, lproc_dointvec, NULL, }); 332 tab[4] = ((ctl_table) { 1, "kernel", &sysctl_parms.ctr[i].kernel, sizeof(int), 0644, NULL, lproc_dointvec, NULL, }); 333 tab[5] = ((ctl_table) { 1, "user", &sysctl_parms.ctr[i].user, sizeof(int), 0644, NULL, lproc_dointvec, (…) [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentHashMap.java | 214 static final <K,V> HashEntry<K,V> entryAt(HashEntry<K,V>[] tab, int i) { 215 return (tab == null) ? null : 217 (tab, ((long)i << TSHIFT) + TBASE); 224 static final <K,V> void setEntryAt(HashEntry<K,V>[] tab, int i, 226 UNSAFE.putOrderedObject(tab, ((long)i << TSHIFT) + TBASE, e); 327 Segment(float lf, int threshold, HashEntry<K,V>[] tab) { 330 this.table = tab; 338 HashEntry<K,V>[] tab = table; local 339 int index = (tab.length - 1) & hash; 340 HashEntry<K,V> first = entryAt(tab, index) 524 HashEntry<K,V>[] tab = table; local 603 HashEntry<K,V>[] tab = table; local 648 HashEntry<K,V>[] tab = (HashEntry<K,V>[])new HashEntry<?,?>[cap]; local 678 HashEntry<K,V>[] tab; local 882 HashEntry<K,V>[] tab; local 910 HashEntry<K,V>[] tab; local 958 HashEntry<K,V>[] tab = segment.table; local 1409 HashEntry<K,V>[] tab = seg.table; local [all...] |
/external/chromium_org/chrome/browser/extensions/api/web_navigation/ |
web_navigation_apitest.cc | 440 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 441 content::WaitForLoadStop(tab); 530 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 531 content::WaitForLoadStop(tab); 543 // This corresponds to "Open link in new tab". 548 params.frame_id = WebNavigationTabObserver::Get(tab)-> 552 TestRenderViewContextMenu menu(tab, params); 572 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 573 content::WaitForLoadStop(tab); 585 // There's a link on a.html. Middle-click on it to open it in a new tab 612 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 659 WebContents* tab = otr_browser->tab_strip_model()->GetActiveWebContents(); local 788 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local [all...] |
/external/chromium/chrome/browser/automation/ |
automation_provider_win.cc | 89 // some code (tab dragging, for instance) queries the actual cursor location 312 NavigationController* tab = tab_tracker_->GetResource(handle); local 314 tab->tab_contents()->GetNativeView()); 352 NavigationController* tab = tab_tracker_->GetResource(tab_handle); local 353 if (!tab) { 358 TabContents* tab_contents = tab->tab_contents(); 412 "AutomationProvider::OnBrowserMoved called with invalid tab handle."; 433 NavigationController* tab = tab_tracker_->GetResource(handle); local 434 tab->LoadURL(url, referrer, PageTransition::TYPED); 445 NavigationController* tab = tab_tracker_->GetResource(handle) local 461 NavigationController* tab = tab_tracker_->GetResource(handle); local [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_fd.cc | 35 atomic_uintptr_t tab[kTableSizeL1]; member in struct:__tsan::FdContext 73 atomic_uintptr_t *pl1 = &fdctx.tab[fd / kTableSizeL2]; 123 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed); local 124 if (tab == 0) 127 FdDesc *d = &tab[l2]; 135 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed); local 136 if (tab == 0) 138 if (addr >= (uptr)tab && addr < (uptr)(tab + kTableSizeL2)) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
PieControl.java | 117 Tab tab = mUiController.getCurrentTab(); local 118 if (tab != null) { 119 mForward.setEnabled(tab.canGoForward()); 198 Tab tab = mUiController.getTabControl().getCurrentTab(); local 199 WebView web = tab.getWebView(); 201 tab.goBack(); 203 tab.goForward(); 205 if (tab.inPageLoad()) 312 final Tab tab = mTabs.get(position); local [all...] |
PhoneUi.java | 108 public void onProgressChanged(Tab tab) { 109 super.onProgressChanged(tab); 133 public void setActiveTab(final Tab tab) { 136 super.setActiveTab(tab); 138 //if at Nav screen show, detach tab like what showNavScreen() do. 143 BrowserWebView view = (BrowserWebView) tab.getWebView(); 145 // so the tab is guaranteed to have a webview 147 Log.e(LOGTAG, "active tab with no webview detected") [all...] |
/external/chromium_org/chrome/browser/sync/ |
profile_sync_service_session_unittest.cc | 154 SessionTab* tab = win_ptr->tabs[j]; local 155 ASSERT_EQ(*tab_iter, tab->tab_id.id()); 156 ASSERT_EQ(1U, tab->navigations.size()); 157 ASSERT_EQ(1, tab->tab_visual_index); 158 ASSERT_EQ(0, tab->current_navigation_index); 159 ASSERT_TRUE(tab->pinned); 160 ASSERT_EQ("app_id", tab->extension_app_id); 161 ASSERT_EQ(1U, tab->navigations.size()); 162 ASSERT_EQ(tab->navigations[0].virtual_url(), GURL("http://foo/1")); 163 ASSERT_EQ(tab->navigations[0].referrer().url, GURL("referrer")) 200 sync_pb::SessionTab* tab = tab_base->mutable_tab(); local 1219 sync_pb::SessionSpecifics tab; local 1393 sync_pb::SessionTab* tab = specifics.mutable_tab(); local [all...] |
/external/chromium/chrome/browser/download/ |
download_request_limiter.cc | 63 TabContents* tab, 73 infobar_ = new DownloadRequestInfoBarDelegate(tab, this); 74 tab->AddInfoBar(infobar_); 128 // Tab closed, no need to handle closing the dialog as it's owned by the 186 DownloadRequestLimiter::GetDownloadStatus(TabContents* tab) { 187 TabDownloadState* state = GetDownloadState(&tab->controller(), NULL, false); 205 void DownloadRequestLimiter::OnUserGesture(TabContents* tab) { 206 TabDownloadState* state = GetDownloadState(&tab->controller(), NULL, false); 245 // The tab was closed, don't allow the download. 264 // If the tab requesting the download is a constrained popup that is no [all...] |
/external/chromium_org/chrome/browser/extensions/ |
subscribe_page_action_browsertest.cc | 74 // sniff the type and display the subscribe page in another tab. 79 bool ValidatePageElement(WebContents* tab, 86 if (!content::ExecuteScriptInFrameAndExtractString(tab, frame_xpath, 116 WebContents* tab = browser->tab_strip_model()->GetActiveWebContents(); local 118 tab, std::string(), kScriptFeedTitle, expected_feed_title)); 119 ASSERT_TRUE(ValidatePageElement(tab, 123 ASSERT_TRUE(ValidatePageElement(tab, 127 ASSERT_TRUE(ValidatePageElement(tab,
|
/external/chromium_org/chrome/test/automation/ |
browser_proxy.cc | 99 TabProxy* tab = static_cast<TabProxy*>(tracker_->GetResource(tab_handle)); 100 if (!tab) { 101 tab = new TabProxy(sender_, tracker_, tab_handle); 102 tab->AddRef(); 107 result.swap(&tab); 173 bool BrowserProxy::WaitForTabToBecomeActive(int tab, 180 if (GetActiveTabIndex(&active_tab) && active_tab == tab) 183 // If we get here, the active tab hasn't changed.
|
/external/chromium_org/third_party/opus/src/ |
depcomp | 61 tab=' ' 281 sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" 324 sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \ 327 s/[ '"$tab"'][ '"$tab"']*/ /g 433 sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" 468 s/\(.*\)/'"$tab"'\1 \\/p 472 s/.*/'"$tab"'/ 527 sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/ |
bg.js | 30 // Map of tab numbers to notes on a scale. 75 // chrome.windows.onRemoved - can't suppress the tab removed that comes first 260 function tabNavigated(tabId, changeInfo, tab) { 265 //console.log(JSON.stringify(changeInfo) + JSON.stringify(tab)); 273 console.log(JSON.stringify(tab)); 279 match = re.exec(tab.url); 324 var url = tab.url; 327 url = tab.url.substring(0, query); 329 console.log(tab.url); 347 chrome.tabs.get(tabId, function(tab) { [all...] |
/external/chromium_org/chrome/browser/sessions/ |
persistent_tab_restore_service.cc | 31 // Only written if the tab is pinned. 38 // Payload used for the start of a tab close. This is the old struct that is 60 // Payload used for the start of a tab close. 85 // . When the user closes a tab a command of type 86 // kCommandSelectedNavigationInTab is written identifying the tab and 87 // the selected index, then a kCommandPinnedState command if the tab was 88 // pinned and kCommandSetExtensionAppID if the tab has an app id and 93 // is written out and followed by n tab closed sequences (as previoulsy 116 // Implements the link between the tab restore service and the session backend. 153 // Schedules the commands for a tab close. |selected_index| gives the index o 269 Tab* tab = static_cast<Tab*>(entry); local 796 Tab& tab = window->tabs.back(); local [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ActionBarTest.java | 19 import android.app.ActionBar.Tab; 45 Tab t1 = createTab("Tab 1"); 51 Tab t2 = createTab("Tab 2"); 57 Tab t3 = createTab("Tab 3"); 63 Tab t4 = createTab("Tab 2.5"); 69 Tab t5 = createTab("Tab 0.5") [all...] |