/external/chromium/chrome/browser/instant/ |
instant_unload_handler.cc | 33 TabContentsWrapper* tab = tab_contents_.release(); local 34 tab->tab_contents()->set_delegate(NULL); 35 return tab; 55 // virtual). When we're attemping to close the tab, none of this matters. 77 // The index |tab_contents_| was originally at. If we add the tab back we add 91 void InstantUnloadHandler::RunUnloadListenersOrDestroy(TabContentsWrapper* tab, 93 if (!tab->tab_contents()->NeedToFireBeforeUnload()) { 94 // Tab doesn't have any before unload listeners and can be safely deleted. 95 delete tab; 99 // Tab has before unload listener. Install a delegate and fire the befor 112 TabContentsWrapper* tab = delegate->ReleaseTab(); local [all...] |
/external/chromium/chrome/browser/ui/gtk/tabs/ |
tab_gtk.h | 26 // An interface implemented by an object that can help this Tab complete 27 // various actions. The index parameter is the index of this Tab in the 31 // Returns true if the specified Tab is selected. 32 virtual bool IsTabSelected(const TabGtk* tab) const = 0; 34 // Returns true if the specified Tab is pinned. 35 virtual bool IsTabPinned(const TabGtk* tab) const = 0; 37 // Returns true if the specified Tab is detached. 38 virtual bool IsTabDetached(const TabGtk* tab) const = 0; 40 // Selects the specified Tab. 41 virtual void SelectTab(TabGtk* tab) = 0 [all...] |
/external/chromium/chrome/browser/sync/glue/ |
session_model_associator_unittest.cc | 25 scoped_ptr<SessionTab> tab(new SessionTab()); 26 win.tabs.push_back(tab.release()); 36 SessionTab tab; local 37 ASSERT_FALSE(SessionModelAssociator::IsValidSessionTab(tab)); 42 tab.navigations.push_back(nav); 44 ASSERT_FALSE(SessionModelAssociator::IsValidSessionTab(tab)); 49 tab.navigations.push_back(nav2); 50 // Once there's another navigation, the tab is valid. 51 ASSERT_TRUE(SessionModelAssociator::IsValidSessionTab(tab)); 74 // be able to delete the session, window, and tab. We can't delete thes 94 SessionTab tab; local 115 SessionTab* tab = tracker.GetSessionTab(tag1, 0, false); local [all...] |
/external/chromium_org/chrome/browser/managed_mode/ |
managed_mode_browsertest.cc | 61 void CheckShownPageIsInterstitial(WebContents* tab) { 62 CheckShownPage(tab, content::PAGE_TYPE_INTERSTITIAL); 65 void CheckShownPageIsNotInterstitial(WebContents* tab) { 66 CheckShownPage(tab, content::PAGE_TYPE_NORMAL); 70 void CheckShownPage(WebContents* tab, content::PageType page_type) { 71 ASSERT_FALSE(tab->IsCrashed()); 72 NavigationEntry* entry = tab->GetController().GetActiveEntry(); 77 void SendAccessRequest(WebContents* tab) { 78 InterstitialPage* interstitial_page = tab->GetInterstitialPage(); 89 void GoBack(WebContents* tab) { 169 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 205 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/chrome/ |
form_based_credentials_backend_unittest_base.py | 63 tab = b.tabs[0] 70 ret = b.credentials.LoginNeeded(tab, self._credentials_type) 88 ret = b.credentials.LoginNeeded(tab, self._credentials_type) 100 tab = simple_mock.MockObject() 105 tab.ExpectCall('Navigate', login_page_url) 106 tab.ExpectCall('EvaluateJavaScript', _).WillReturn(False) 107 tab.ExpectCall('EvaluateJavaScript', _).WillReturn(True) 108 tab.ExpectCall('EvaluateJavaScript', _).WillReturn(False) 109 tab.ExpectCall('WaitForDocumentReadyStateToBeInteractiveOrBetter') 114 tab.ExpectCall('ExecuteJavaScript', _).WhenCalled(VerifyEmail [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/chrome/browser/extensions/ |
extension_sidebar_api.cc | 32 const char kNoTabError[] = "No tab with id: *."; 34 const char kNoDefaultTabError[] = "No default tab was found"; 57 Profile* profile, TabContents* tab, const std::string& content_id, 59 int tab_id = ExtensionTabUtil::GetTabId(tab); 136 bool CollapseSidebarFunction::RunImpl(TabContents* tab, 139 SidebarManager::GetInstance()->CollapseSidebar(tab, content_id); 143 bool ExpandSidebarFunction::RunImpl(TabContents* tab, 152 SidebarManager::GetInstance()->ExpandSidebar(tab, content_id); 156 bool GetStateSidebarFunction::RunImpl(TabContents* tab, 162 if (manager->GetSidebarTabContents(tab, content_id)) [all...] |
/external/chromium/chrome/browser/sessions/ |
tab_restore_service.cc | 43 type(TAB), 60 // . When the user closes a tab a command of type 61 // kCommandSelectedNavigationInTab is written identifying the tab and 62 // the selected index, then a kCommandPinnedState command if the tab was 63 // pinned and kCommandSetExtensionAppID if the tab has an app id. This is 67 // is written out and followed by n tab closed sequences (as previoulsy 97 // Payload used for the start of a tab close. This is the old struct that is 110 // Payload used for the start of a tab close. 115 // Only written if the tab is pinned. 143 std::vector<TabRestoreService::Tab>::iterator j = window->tabs.begin() 338 Tab* tab = static_cast<Tab*>(entry); local 351 const Tab& tab = window->tabs[tab_i]; local 362 RecordAppLaunch(profile(), tab); local 375 const Tab& tab = *tab_i; local 462 Tab* tab = static_cast<Tab*>(entry); local 926 RecordAppLaunch(profile(), tab); local 953 Tab* tab = static_cast<Tab*>(*i); local 990 Tab* tab = static_cast<Tab*>(entry); local 1025 Tab& tab = window->tabs.back(); local [all...] |
tab_restore_service_browsertest.cc | 82 // Adds a window with one tab and url to the profile's session service. 83 // If |pinned| is true, the tab is marked as pinned in the session service. 100 // is configured with a single window with a single tab pointing at url1_ by 102 // tab is marked as pinned in the session service. 125 // Have the service record the tab. 133 ASSERT_EQ(TabRestoreService::TAB, entry->type); 134 TabRestoreService::Tab* tab = static_cast<TabRestoreService::Tab*>(entry); local 135 EXPECT_FALSE(tab->pinned) 190 TabRestoreService::Tab* tab = static_cast<TabRestoreService::Tab*>(entry); local 215 TabRestoreService::Tab* tab = static_cast<TabRestoreService::Tab*>(entry); local 366 TabRestoreService::Tab* tab = static_cast<TabRestoreService::Tab*>(entry); local 407 TabRestoreService::Tab* tab = static_cast<TabRestoreService::Tab*>(entry); local 465 TabRestoreService::Tab* tab = static_cast<TabRestoreService::Tab*>(entry); local [all...] |
/external/chromium_org/chrome/browser/ui/gtk/ |
tab_contents_container_gtk.cc | 46 gtk_widget_set_name(floating_.get(), "chrome-tab-contents-container"); 65 void TabContentsContainerGtk::SetTab(content::WebContents* tab) { 66 if (tab_ == tab) 72 tab_ = tab; 75 // If the overlay is becoming the new permanent tab, we just reassign some 82 // Make sure that the tab is below the find bar. Sometimes the content 110 void TabContentsContainerGtk::PackTab(content::WebContents* tab) { 111 gfx::NativeView widget = tab->GetView()->GetNativeView(); 118 tab->WasShown(); 120 content::Source<content::WebContents>(tab)); [all...] |
tab_contents_container_gtk.h | 34 // Make the specified tab visible. 35 void SetTab(content::WebContents* tab); 36 content::WebContents* tab() const { return tab_; } function in class:TabContentsContainerGtk 46 // Remove the tab from the hierarchy. 47 void DetachTab(content::WebContents* tab); 71 // Adds |tab| to the container and starts showing it. 72 void PackTab(content::WebContents* tab); 74 // Stops showing |tab|. 75 void HideTab(content::WebContents* tab); 77 // Handle focus traversal on the tab contents container. Focus should no [all...] |
/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
|
/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/chrome/browser/ui/touch/tabs/ |
touch_tab_strip.cc | 108 BaseTab* tab = base_tab_at_tab_index(tab_data_index); local 110 tab->SetBounds(0, ideal_bounds(tab_data_index).y(), 0, 114 tab->SetBounds(last_tab->bounds().right(), 124 TouchTab* tab = GetTabAtTabDataIndex(i); local 125 if (!tab->closing() && !tab->dragging()) 126 bounds_animator().AnimateViewTo(tab, ideal_bounds(i)); 139 TouchTab* tab = GetTabAtTabDataIndex(i); local 140 if (!tab->closing()) { 142 if (tab->IsSelected()) 225 TouchTab* tab = static_cast<TouchTab*>(GetTabAtLocal(point)); local 294 TouchTab* tab = GetTabAtTabDataIndex(i); local [all...] |
/external/chromium/chrome/browser/ui/webui/ |
value_helper.cc | 11 const TabRestoreService::Tab& tab, 13 if (tab.navigations.empty()) 17 tab.navigations.at(tab.current_navigation_index); 22 dictionary->SetString("type", "tab"); 23 dictionary->SetDouble("timestamp", tab.timestamp.ToDoubleT());
|
/external/chromium_org/tools/perf/benchmarks/ |
spaceport.py | 20 def MeasurePage(self, _, tab, results): 21 util.WaitFor(lambda: tab.EvaluateJavaScript( 24 tab.ExecuteJavaScript(""" 39 num_results = len(eval(tab.EvaluateJavaScript(js_get_results))) 48 result_dict = eval(tab.EvaluateJavaScript(js_get_results))
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
tap_element.py | 24 def RunAction(self, page, tab, previous_action): 30 tab.ExecuteJavaScript(code) 38 tab.ExecuteJavaScript(code % self.wait_for_event) 40 util.WaitFor(lambda: tab.EvaluateJavaScript( 45 page_module.Page.WaitForPageToLoad(self, tab, 60)
|
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/ |
M4MP4W_Utils.h | 64 * Convert the 'nb' unsigned integers in 'tab' table from LE into BE 67 void M4MP4W_table32ToBE(M4OSA_UInt32* tab, M4OSA_UInt32 nb); 99 M4OSA_Void M4MP4W_put32_Hi(M4OSA_UInt32* tab, M4OSA_UInt16 Hi); 100 M4OSA_Void M4MP4W_put32_Lo(M4OSA_UInt32* tab, M4OSA_UInt16 Lo); 101 M4OSA_UInt16 M4MP4W_get32_Hi(M4OSA_UInt32* tab); 102 M4OSA_UInt16 M4MP4W_get32_Lo(M4OSA_UInt32* tab);
|
/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...] |
/external/chromium_org/chrome/browser/sessions/ |
persistent_tab_restore_service_browsertest.cc | 37 typedef TabRestoreService::Tab Tab; 126 // Adds a window with one tab and url to the profile's session service. 127 // If |pinned| is true, the tab is marked as pinned in the session service. 147 // is configured with a single window with a single tab pointing at url1_ by 149 // tab is marked as pinned in the session service. 207 // Have the service record the tab. 215 ASSERT_EQ(TabRestoreService::TAB, entry->type); 216 Tab* tab = static_cast<Tab*>(entry) local 275 Tab* tab = static_cast<Tab*>(entry); local 300 Tab* tab = static_cast<Tab*>(entry); local 491 Tab* tab = static_cast<Tab*>(entry); local 533 Tab* tab = static_cast<Tab*>(entry); local 595 Tab* tab = static_cast<Tab*>(entry); local 638 Tab* tab = new Tab(); local 658 Tab* tab = new Tab(); local [all...] |
/external/chromium/chrome/browser/translate/ |
translate_manager.cc | 246 TabContents* tab = Source<TabContents>(source).ptr(); local 250 TabContentsWrapper::GetCurrentWrapperForContents(tab); 258 InitiateTranslation(tab, language); 266 TabContents* tab = Source<TabContents>(source).ptr(); local 269 PageTranslated(tab, page_translated_details); 326 TabContents* tab = tab_util::GetTabContentsByID(request.render_process_id, local 328 if (!tab) { 329 // The tab went away while we were retrieving the script. 332 NavigationEntry* entry = tab->controller().GetActiveEntry(); 339 ShowInfoBar(tab, TranslateInfoBarDelegate::CreateErrorDelegate 438 TabContents* tab = tab_util::GetTabContentsByID(process_id, render_id); local [all...] |
/external/chromium_org/chrome/browser/ui/android/tab_contents/ |
chrome_web_contents_view_delegate_android.cc | 44 TabAndroid* tab = TabAndroid::FromWebContents(web_contents_); local 45 // We may not have a Tab if we're running in Android WebView mode. 48 if (tab) 49 tab->ShowContextMenu(params);
|
/external/chromium_org/chrome/browser/ui/tabs/ |
pinned_tab_codec.cc | 41 // Adds a DictionaryValue to |values| representing |tab|. 42 static void EncodeTab(const StartupTab& tab, ListValue* values) { 44 value->SetString(kURL, tab.url.spec()); 45 if (tab.is_app) 46 value->SetString(kAppID, tab.app_id); 50 // Adds a 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 DictionaryValue& value, StartupTab* tab) { 90 tab->is_app = false 160 StartupTab tab; local [all...] |
/external/chromium_org/tools/perf/measurements/ |
dromaeo.py | 9 def MeasurePage(self, page, tab, results): 12 return bool(tab.EvaluateJavaScript(js_is_done)) 17 score = eval(tab.EvaluateJavaScript(js_get_results))
|