/external/chromium_org/chrome/browser/ui/views/tabs/ |
dock_info_views.cc | 8 #include "chrome/browser/ui/views/tabs/tab.h" 13 return Tab::GetMinimumUnselectedSize().height() - 1;
|
tab_controller.h | 10 class Tab; 32 // Selects the tab. 33 virtual void SelectTab(Tab* tab) = 0; 35 // Extends the selection from the anchor to |tab|. 36 virtual void ExtendSelectionTo(Tab* tab) = 0; 38 // Toggles whether |tab| is selected. 39 virtual void ToggleSelected(Tab* tab) = 0 [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...] |
/packages/apps/Browser/src/com/android/browser/ |
WebViewController.java | 48 void onSetWebView(Tab tab, WebView view); 50 void createSubWindow(Tab tab); 52 void onPageStarted(Tab tab, WebView view, Bitmap favicon); 54 void onPageFinished(Tab tab); 56 void onProgressChanged(Tab tab); [all...] |
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...] |
UI.java | 57 public void addTab(Tab tab); 59 public void removeTab(Tab tab); 61 public void setActiveTab(Tab tab); 63 public void updateTabs(List<Tab> tabs); 65 public void detachTab(Tab tab); 67 public void attachTab(Tab tab) [all...] |
TabControl.java | 32 // next Tab ID, starting at 1 39 void onThumbnailUpdated(Tab t); 45 private ArrayList<Tab> mTabs; 47 private ArrayList<Tab> mTabQueue; 61 mTabs = new ArrayList<Tab>(mMaxTabs); 62 mTabQueue = new ArrayList<Tab>(mMaxTabs); 70 * Return the current tab's main WebView. This will always return the main 71 * WebView for a given tab and not a subwindow. 72 * @return The current tab's WebView. 75 Tab t = getTab(mCurrentTab) 433 final Tab tab = tabMap.get(id); local [all...] |
PreloadController.java | 70 public void onSetWebView(Tab tab, WebView view) { 75 public void createSubWindow(Tab tab) { 80 public void onPageStarted(Tab tab, WebView view, Bitmap favicon) { 84 // user visits a preloaded tab, the only item in the history 91 public void onPageFinished(Tab tab) { 93 if (tab != null) [all...] |
/external/chromium/chrome/browser/tabs/ |
pinned_tab_test_utils.cc | 7 typedef BrowserInit::LaunchWithProfile::Tab Tab; 11 std::string TabToString(const Tab& tab) { 12 return tab.url.spec() + ":" + (tab.is_app ? "app" : "") + ":" + 13 (tab.is_pinned ? "pinned" : "") + ":" + tab.app_id; 20 const std::vector<BrowserInit::LaunchWithProfile::Tab>& values) {
|
pinned_tab_test_utils.h | 18 // of urls. If the tab is an app, ':app' is appended, and if the tab is 21 const std::vector<BrowserInit::LaunchWithProfile::Tab>& values);
|
pinned_tab_codec.h | 33 static std::vector<BrowserInit::LaunchWithProfile::Tab> ReadPinnedTabs(
|
/external/chromium_org/chrome/browser/sessions/ |
tab_restore_service.cc | 20 type(TAB), 30 // Tab ------------------------------------------------------------------------ 32 TabRestoreService::Tab::Tab() 33 : Entry(TAB), 40 TabRestoreService::Tab::~Tab() {
|
tab_restore_service_helper.h | 37 typedef TabRestoreService::Tab Tab; 41 // Provides a way for the client to add behavior to the tab restore service 86 Tab* RemoveTabEntryById(SessionID::id_type id); 102 // tab/window closes from the previous session are added to the back. 111 // identifies a tab, then the iterator position of the Window in which the Tab 121 // Populates the tab's navigations from the NavigationController, and its 123 void PopulateTab(Tab* tab, [all...] |
tab_restore_service.h | 31 // tabs and windows. When a tab is closed 32 // TabRestoreService::CreateHistoricalTab is invoked and a Tab is created to 33 // represent the tab. Similarly, when a browser is closed, BrowserClosing is 36 // To restore a tab/window from the TabRestoreService invoke RestoreEntryById 52 TAB, 68 // The time when the window or tab was closed. 77 // Represents a previously open tab. 78 struct Tab : public Entry { 79 Tab(); 80 virtual ~Tab(); [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/ui/webui/ |
value_helper.h | 16 static bool TabToValue(const TabRestoreService::Tab& tab,
|
/frameworks/base/core/java/android/app/ |
ActionBar.java | 76 * Tab navigation mode. Instead of static title text this mode 505 * Create and return a new {@link Tab}. 506 * This tab will not be included in the action bar until it is added. 514 * @return A new Tab 516 * @see #addTab(Tab) 518 public abstract Tab newTab(); 521 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list. 522 * If this is the first tab to be added it will become the selected tab [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ActionBar.java | 86 * Tab navigation mode. Instead of static title text this mode presents a series of tabs for 485 * Create and return a new {@link Tab}. This tab will not be included in the action bar until it 494 * @return A new Tab 495 * @see #addTab(Tab) 497 public abstract Tab newTab(); 500 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list. If 501 * this is the first tab to be added it will become the selected tab [all...] |
ActionBarImplICS.java | 223 public Tab newTab() { 224 final android.app.ActionBar.Tab realTab = mActionBar.newTab(); 231 public void addTab(Tab tab) { 232 mActionBar.addTab(((TabWrapper) tab).mWrappedTab); 236 public void addTab(Tab tab, boolean setSelected) { 237 mActionBar.addTab(((TabWrapper) tab).mWrappedTab, setSelected); 241 public void addTab(Tab tab, int position) [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...] |
/external/chromium_org/ui/views/controls/tabbed_pane/ |
tabbed_pane.h | 15 class Tab; 19 // TabbedPane is a view that shows tabs. When the user clicks on a tab, the 39 // Returns the contents of the selected tab or NULL if there is none. 42 // Adds a new tab at the end of this TabbedPane with the specified |title|. 43 // |contents| is the view displayed when the tab is selected and is owned by 47 // Adds a new tab at |index| with |title|. |contents| is the view displayed 48 // when the tab is selected and is owned by the TabbedPane. If the tabbed pane 49 // is currently empty, the new tab is selected. 52 // Selects the tab at |index|, which must be valid. 55 // Selects |tab| (the tabstrip view, not its content) if it is valid [all...] |
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
CompatTabHoneycomb.java | 20 import android.app.ActionBar.Tab; 32 * The native tab object that this {@link CompatTab} acts as a proxy for. 34 ActionBar.Tab mTab; 83 public void onTabReselected(Tab tab, android.app.FragmentTransaction f) { 91 public void onTabSelected(Tab tab, android.app.FragmentTransaction f) { 99 public void onTabUnselected(Tab arg0, android.app.FragmentTransaction f) {
|
/external/chromium/chrome/browser/ui/views/tabs/ |
tab.cc | 5 #include "chrome/browser/ui/views/tabs/tab.h" 43 // Vertical adjustment to the favicon when the tab has a large icon. 46 // When a non-mini-tab becomes a mini-tab the width of the tab animates. If 47 // the width of a mini-tab is >= kMiniTabRendererAsNormalTabWidth then the tab 48 // is rendered as a normal tab. This is done to avoid having the title 49 // immediately disappear when transitioning a tab from normal to mini-tab [all...] |
/external/chromium/chrome/browser/sessions/ |
tab_restore_service.h | 27 // tabs and windows. When a tab is closed 28 // TabRestoreService::CreateHistoricalTab is invoked and a Tab is created to 29 // represent the tab. Similarly, when a browser is closed, BrowserClosing is 32 // To restore a tab/window from the TabRestoreService invoke RestoreEntryById 48 TAB, 64 // The time when the window or tab was closed. 73 // Represents a previously open tab. 74 struct Tab : public Entry { 75 Tab(); 76 virtual ~Tab(); [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
IntentHandlerTests.java | 42 Tab tabGoogle = controller.getCurrentTab(); 43 assertNotNull("Current tab (google.com", tabGoogle); 48 Tab tabMaps = controller.getCurrentTab(); 50 assertNotNull("Current tab (maps.google.com)", tabMaps); 62 Tab tabGoogle = controller.getCurrentTab(); 74 Tab currentTab = controller.getCurrentTab(); 89 Tab tabGoogle = controller.getCurrentTab(); 90 assertNotNull("Current tab (google.com", tabGoogle); 95 Tab tabMaps = controller.getCurrentTab(); 109 * bypassing Tab, Controller, etc. 154 Tab tab = getActivity().getController().getCurrentTab(); local [all...] |