/external/chromium/chrome/browser/ui/gtk/ |
tab_contents_container_gtk.cc | 45 gtk_widget_set_name(floating_.get(), "chrome-tab-contents-container"); 64 void TabContentsContainerGtk::SetTab(TabContentsWrapper* tab) { 71 tab_ = tab; 74 // If the preview contents is becoming the new permanent tab contents, we 79 PackTab(tab); 128 void TabContentsContainerGtk::PackTab(TabContentsWrapper* tab) { 129 if (!tab) 132 gfx::NativeView widget = tab->tab_contents()->GetNativeView(); 141 if (tab->tab_contents()->GetContentNativeView()) { 143 tab->tab_contents()->GetContentNativeView()->window [all...] |
/packages/apps/Browser/src/com/android/browser/ |
UrlHandler.java | 61 boolean shouldOverrideUrlLoading(Tab tab, WebView view, String url) { 76 // before leaving BrowserActivity, close the empty child tab. 77 // If a new tab is created through JavaScript open to load this 113 new RLZTask(tab, siteUri, view).execute(); 118 if (startActivityForUrl(tab, url)) { 122 if (handleMenuClick(tab, url)) { 129 boolean startActivityForUrl(Tab tab, String url) { 148 // before leaving BrowserActivity, close the empty child tab [all...] |
/external/chromium/chrome/browser/ui/gtk/tabs/ |
tab_strip_gtk.cc | 59 // The horizontal offset from one tab to the next, which results in overlapping 94 bool GdkRectMatchesTabFaviconBounds(const GdkRectangle& gdk_rect, TabGtk* tab) { 95 gfx::Rect favicon_bounds = tab->favicon_bounds(); 96 return gdk_rect.x == favicon_bounds.x() + tab->x() && 97 gdk_rect.y == favicon_bounds.y() + tab->y() && 155 // Retrieves the width for the Tab at the specified index if an animation is 160 TabGtk* tab = tabstrip->GetTabAt(index); local 162 if (tab->mini()) { 167 tab_width = tab->IsSelected() ? selected : unselected; 193 // Returns the gap before the tab at the specified index. Subclass if durin 352 TabGtk* tab = tabstrip_->GetTabAt(index); local 485 TabGtk* tab = tabstrip_->GetTabAt(index); local 546 TabGtk* tab = tabstrip_->GetTabAt(index); local 652 TabGtk* tab = tabstrip_->GetTabAt(index); local 786 TabGtk* tab = GetTabAt(i); local 804 TabGtk* tab = GetTabAt(i); local 951 TabGtk* tab = NULL; local 1037 TabGtk* tab = GetTabAt(from_index); local 1051 TabGtk* tab = GetTabAtAdjustForAnimation(index); local 1341 TabGtk* tab = GetTabAt(i); local 1538 TabGtk* tab = GetTabAt(drop_index); local 1576 TabGtk* tab = GetTabAt(i); local 1794 TabGtk* tab = GetTabAt(i); local 1904 TabGtk* tab = GetTabAt(i); local 2035 TabGtk* tab = GetTabAt(t); local [all...] |
tab_strip_gtk.h | 57 // Returns true if a tab is being dragged into this tabstrip. 75 // Return true if this tab strip is compatible with the provided tab strip. 76 // Compatible tab strips can transfer tabs during drag and drop. 86 // Removes the drag source tab from this tabstrip, and deletes it. 87 void DestroyDraggedSourceTab(TabGtk* tab); 89 // Retrieve the ideal bounds for the Tab at the specified index. 92 // Sets the vertical offset that each tab will use to offset against the 127 virtual bool IsTabSelected(const TabGtk* tab) const; 128 virtual bool IsTabPinned(const TabGtk* tab) const 171 TabGtk* tab; member in struct:TabStripGtk::TabData [all...] |
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_runner.py | 28 self.tab = None 40 assert not self.tab 67 # Create a tab if there's none. 71 # Ensure only one tab is open. 75 if not self.tab: 76 self.tab = self.browser.tabs[0] 82 if self.tab: 83 self.tab.Disconnect() 84 self.tab = None 111 def PreparePage(self, page, tab, test=None) [all...] |
/external/chromium/chrome/browser/ |
tab_restore_uitest.cc | 37 // Uses the undo-close-tab accelerator to undo a close-tab or close-window 38 // operation. The newly restored tab is expected to appear in the 41 // current windows, the restored tab is expected to be created in a new 63 // Restore the tab. 78 // Get a handle to the restored tab. 84 // Wait for the restored tab to finish loading. 88 // Ensure that the tab and window are active. 138 // Close the end tab in the current window, then restore it. The tab should b [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab_strip.cc | 24 #include "chrome/browser/ui/views/tabs/tab.h" 76 // Inverse ratio of the width of a tab edge to the width of the tab. When 77 // hovering over the left or right edge of a tab, the drop indicator will 103 // Horizontal offset for the new tab button to bring it closer to the 104 // rightmost tab. 122 // Vertical offset for the new tab button to bring it closer to the 123 // rightmost tab. 141 // Amount the left edge of a tab is offset from the rectangle of the tab' 693 Tab* tab = CreateTab(); local 751 Tab* tab = tab_at(model_index); local 772 Tab* tab = tab_at(model_index); local 859 Tab* tab = tab_at(model_index); local 881 Tab* tab = new Tab(NULL); local 894 Tab* tab = tab_at(i); local 1282 Tab* tab = tab_at(i); local 1310 Tab* tab = tab_at(i); local 1315 Tab* tab = tab_at(i); local 1443 Tab* tab = FindTabForEvent(point); local 1471 Tab* tab = FindTabForEvent(point); local 1573 Tab* tab = FindTabForEvent(local_point); local 1635 Tab* tab = new Tab(this); local 1649 Tab* tab = tab_at(model_index); local 1673 Tab* tab = tab_at(model_index); local 1707 Tab* tab = tab_at(i); local 1853 Tab* tab = tabs[i]; local 1875 Tab* tab = tabs[i]; local 1888 Tab* tab = tabs[i]; local 2083 Tab* tab = FindTabForEvent(tab_strip_point); local 2290 Tab* tab = tab_at(drop_index); local 2332 Tab* tab = tab_at(i); local 2465 Tab* tab = tab_at(i); local 2600 Tab* tab = FindTabForEventFrom(point, active_tab_index, -1); local [all...] |
tab_strip.h | 14 #include "chrome/browser/ui/views/tabs/tab.h" 27 class Tab; 48 // - It takes part in Tab Drag & Drop with Tab, TabDragHelper and 73 // Returns the bounds of the new tab button. 76 // Returns true if the new tab button should be sized to the top of the tab 80 // Starts highlighting the tab at the specified index. 83 // Stops all tab higlighting. 86 // Adds a tab at the specified index [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_override_apitest.cc | 49 TabContents* tab = browser()->GetSelectedTabContents(); local 50 ASSERT_TRUE(tab->controller().GetActiveEntry()); 51 EXPECT_TRUE(tab->controller().GetActiveEntry()->url(). 61 // Navigate to the new tab page. The overridden new tab page 64 TabContents* tab = browser()->GetSelectedTabContents(); local 65 ASSERT_TRUE(tab->controller().GetActiveEntry()); 66 EXPECT_TRUE(tab->controller().GetActiveEntry()->url(). 85 // Navigate an incognito tab to the new tab page. We should get the actua 92 TabContents* tab = otr_browser->GetSelectedTabContents(); local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
plugin_apitest.cc | 56 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 61 tab, "testPluginWorks()", &result)); 73 tab, "testPluginWorks()", &result)); 88 tab, "testPluginWorks()", &result)); 105 tab, "testPluginWorks()", &result)); 155 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 158 tab, "testPluginWorks()", &result)); 175 tab, "testPluginWorks()", &result)); 187 tab, "testPluginWorks()", &result));
|
extension_override_apitest.cc | 54 // Navigate to the new tab page. The overridden new tab page 57 WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents(); local 58 ASSERT_TRUE(tab->GetController().GetActiveEntry()); 59 EXPECT_TRUE(tab->GetController().GetActiveEntry()->GetURL(). 78 // Navigate an incognito tab to the new tab page. We should get the actual 79 // new tab page because we can't load chrome-extension URLs in incognito. 82 WebContents* tab = otr_browser->tab_strip_model()->GetActiveWebContents(); local 83 ASSERT_TRUE(tab->GetController().GetActiveEntry()) [all...] |
/external/chromium/chrome/browser/tabs/ |
tab_finder.cc | 25 TabContentsObserverImpl(TabContents* tab, TabFinder* finder); 34 virtual void TabContentsDestroyed(TabContents* tab) OVERRIDE; 43 TabContents* tab, 45 : TabContentsObserver(tab), 59 TabContents* tab) { 81 // If the current tab matches the url, ignore it and let the user reload the 82 // existing tab. 87 // See if the current browser has a tab matching the specified url. 114 // The tab was added to a browser. Query for its state now. 172 void TabFinder::TrackTab(TabContents* tab) { [all...] |
pinned_tab_codec.cc | 20 typedef BrowserInit::LaunchWithProfile::Tab Tab; 38 // Adds a DictionaryValue to |values| representing the pinned tab at the 67 // Invokes EncodePinnedTab for each pinned tab in browser. 74 // Decodes the previously written values in |value| to |tab|, returning true 76 static bool DecodeTab(const DictionaryValue& value, Tab* tab) { 77 tab->is_app = false; 82 tab->url = GURL(url_string); 84 if (value.GetString(kAppID, &(tab->app_id)) 129 Tab tab; local [all...] |
/external/chromium_org/chrome/browser/sessions/ |
session_restore.cc | 84 // tabs. New tabs are loaded after the current tab finishes loading, or a delay 86 // a tab finishes loading a new tab is loaded and the time of the delay 105 // Schedules a tab for loading. 108 // Notifies the loader that a tab has been scheduled for loading through 112 // Invokes |LoadNextTab| to load a tab. 127 // Loads the next tab. If there are no more tabs to load this deletes itself, 131 // NotificationObserver method. Removes the specified tab and loads the next 132 // tab. 141 // Removes the listeners from the specified tab and removes the tab fro 272 NavigationController* tab = tabs_to_load_.front(); local 323 NavigationController* tab = local 341 NavigationController* tab = local 979 const SessionTab& tab = *(window.tabs[i]); local 999 const SessionTab& tab = *(window.tabs[i]); local [all...] |
/external/chromium/chrome/browser/translate/ |
translate_manager.h | 80 // Convenience method to know if a tab is showing a translate infobar. 81 static bool IsShowingTranslateInfobar(TabContents* tab); 114 // Starts the translation process on |tab| containing the page in the 116 void InitiateTranslation(TabContents* tab, const std::string& page_lang); 118 // If the tab identified by |process_id| and |render_id| has been closed, this 131 void PageTranslated(TabContents* tab, PageTranslatedDetails* details); 135 bool IsAcceptLanguage(TabContents* tab, const std::string& language); 145 // Shows the specified translate |infobar| in the given |tab|. If a current 147 void ShowInfoBar(TabContents* tab, TranslateInfoBarDelegate* infobar); 154 // Returns the translate info bar showing in |tab| or NULL if none is showing [all...] |
/external/chromium_org/chrome/test/functional/ |
chromeos_longterm_test.py | 23 """Activates the window that has the given tab url. 26 url: The url of the tab to find. 29 An array of the index values of the tab and window. Returns None if the 30 tab connot be found. 36 for tab_index, tab in enumerate(tabs): 37 tab['url'] = tab['url'].strip('/') 38 if tab['url'] == url: 44 """Appends a list of tab to the current active window. 69 This method acts as a state machine. If a window containing a tab with th [all...] |
/external/chromium_org/chrome/test/perf/ |
memory_test.cc | 110 // new tab. 126 scoped_refptr<TabProxy> tab(window->GetActiveTab()); 127 ASSERT_TRUE(tab.get()); 139 if (url == "<NEWTAB>") { // Special command to create a new tab 148 tab = window->GetActiveTab(); 149 ASSERT_TRUE(tab.get()); 153 int tab_index = counter % num_target_tabs; // A pseudo-random tab. 154 tab = window->GetTab(tab_index); 155 ASSERT_TRUE(tab.get()); 158 if (url == "<NEXTTAB>") { // Special command to select the next tab [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
session_model_associator.cc | 203 // the tab count is 0 or the window is NULL, the browser is about to be 211 // Note: We don't bother to set selected tab index anymore. We still 229 // GetTabAt can return a null tab; in that case just skip it. 236 // Note: We cannot check if a tab is valid if it has no WebContents. 237 // We assume any such tab is valid and leave the contents of 249 // It's possible for GetTabAt to return a tab which has no web 250 // contents. We can assume this means the tab already existed but 260 // If the tab is valid, it would have been added to the tracker either 264 // the tab's presence in the tracker. 265 const SessionTab* tab = NULL local 808 SessionTab* tab = local [all...] |
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
ActionBarTabsPager.java | 23 import android.app.ActionBar.Tab; 62 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0)); 69 outState.putInt("tab", getActionBar().getSelectedNavigationIndex()); 75 * trick. Normally a tab host has a simple API for supplying a View or 76 * Intent that each tab will show. This is not sufficient for switching 77 * between pages. So instead we make the content part of the tab host 79 * view to show as the tab content. It listens to changes in tabs, and takes 81 * tab changes. 109 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) [all...] |
FragmentNestingPagerSupport.java | 23 import android.app.ActionBar.Tab; 60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0)); 67 outState.putInt("tab", getActionBar().getSelectedNavigationIndex()); 73 * trick. Normally a tab host has a simple API for supplying a View or 74 * Intent that each tab will show. This is not sufficient for switching 75 * between pages. So instead we make the content part of the tab host 77 * view to show as the tab content. It listens to changes in tabs, and takes 79 * tab changes. 107 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) [all...] |
FragmentNestingStatePagerSupport.java | 23 import android.app.ActionBar.Tab; 60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0)); 67 outState.putInt("tab", getActionBar().getSelectedNavigationIndex()); 73 * trick. Normally a tab host has a simple API for supplying a View or 74 * Intent that each tab will show. This is not sufficient for switching 75 * between pages. So instead we make the content part of the tab host 77 * view to show as the tab content. It listens to changes in tabs, and takes 79 * tab changes. 107 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) [all...] |
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
TabHelperEclair.java | 35 * It implements a generic mechanism for associating fragments with the tabs in a tab host. It 36 * relies on a trick: Normally a tab host has a simple API for supplying a View or Intent that each 37 * tab will show. This is not sufficient for switching between fragments. So instead we make the 38 * content part of the tab host 0dp high (it is not shown) and this supplies its own dummy view to 39 * show as the tab content. It listens to changes in tabs, then passes the event back to the tab's 64 public void addTab(CompatTab tab) { 65 String tag = tab.getTag(); 68 if (tab.getIcon() != null) { 69 spec = mTabHost.newTabSpec(tag).setIndicator(tab.getText(), tab.getIcon()) [all...] |
/external/chromium/chrome/browser/automation/ |
automation_provider_json.h | 55 // Gets the tab specified by the given dictionary |args|. |args| should 57 // and a key 'tab_index' which refers to the index of the tab in that browser. 58 // Returns true on success and sets |tab|. Otherwise, |error| will be set. 60 TabContents** tab, 63 // Gets the browser and tab specified by the given dictionary |args|. |args| 65 // a key 'tab_index' which refers to the index of the tab in that browser. 66 // Returns true on success and sets |browser| and |tab|. Otherwise, |error| 70 TabContents** tab,
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
textinput_surroundingtext_browsertest.cc | 28 content::WebContents* tab = local 32 tab, 65 content::WebContents* tab = local 69 tab, 104 content::WebContents* tab = local 109 helper.ClickElement("empty_textarea", tab); 117 helper.ClickElement("filled_textarea", tab); 125 helper.ClickElement("empty_textarea", tab);
|
/external/chromium_org/chrome/browser/resources/options/ |
certificate_manager.css | 15 /* Force tab strip to extend to the left and right edges of the window. */ 20 #certificate-manager-content-area .subpages-tab-contents {
|