/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
D | TabObserver.java | 20 void onDestroyed(Tab tab); in onDestroyed() 26 void onContentChanged(Tab tab); in onContentChanged() 39 void onLoadUrl(Tab tab, String url, int loadType); in onLoadUrl() 45 void onFaviconUpdated(Tab tab); in onFaviconUpdated() 51 void onTitleUpdated(Tab tab); in onTitleUpdated() 57 void onUrlUpdated(Tab tab); in onUrlUpdated() 63 void onSSLStateUpdated(Tab tab); in onSSLStateUpdated() 72 void onWebContentsSwapped(Tab tab, boolean didStartLoad, boolean didFinishLoad); in onWebContentsSwapped() 79 void onContextMenuShown(Tab tab, ContextMenu menu); in onContextMenuShown() 87 void onLoadStarted(Tab tab); in onLoadStarted() [all …]
|
D | EmptyTabObserver.java | 15 public void onDestroyed(Tab tab) { } in onDestroyed() 18 public void onContentChanged(Tab tab) { } in onContentChanged() 21 public void onLoadUrl(Tab tab, String url, int loadType) { } in onLoadUrl() 24 public void onFaviconUpdated(Tab tab) { } in onFaviconUpdated() 27 public void onTitleUpdated(Tab tab) { } in onTitleUpdated() 30 public void onUrlUpdated(Tab tab) { } in onUrlUpdated() 33 public void onSSLStateUpdated(Tab tab) { } in onSSLStateUpdated() 36 public void onWebContentsSwapped(Tab tab, boolean didStartLoad, boolean didFinishLoad) { } in onWebContentsSwapped() 39 public void onContextMenuShown(Tab tab, ContextMenu menu) { } in onContextMenuShown() 42 public void onLoadStarted(Tab tabBase) { } in onLoadStarted() [all …]
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/ |
D | TabModelBase.java | 10 import org.chromium.chrome.browser.Tab; 29 private final List<Tab> mTabs = new ArrayList<Tab>(); 78 for (Tab tab : mTabs) { in destroy() 105 public void addTab(Tab tab, int index, TabLaunchType type) { in addTab() 167 Tab tab = mTabs.remove(curIndex); in moveTab() 188 public boolean closeTab(Tab tab) { in closeTab() 192 private Tab findTabInAllTabModels(int tabId) { in findTabInAllTabModels() 193 Tab tab = TabModelUtils.getTabById(mModelDelegate.getModel(mIsIncognito), tabId); in findTabInAllTabModels() 199 public Tab getNextTabIfClosed(int id) { in getNextTabIfClosed() 200 Tab tabToClose = TabModelUtils.getTabById(this, id); in getNextTabIfClosed() [all …]
|
D | TabModelObserver.java | 7 import org.chromium.chrome.browser.Tab; 24 void didSelectTab(Tab tab, TabSelectionType type, int lastId); in didSelectTab() 32 void willCloseTab(Tab tab, boolean animate); in willCloseTab() 39 void didCloseTab(Tab tab); in didCloseTab() 47 void willAddTab(Tab tab, TabLaunchType type); in willAddTab() 55 void didAddTab(Tab tab, TabLaunchType type); in didAddTab() 64 void didMoveTab(Tab tab, int newIndex, int curIndex); in didMoveTab() 72 void tabPendingClosure(Tab tab); in tabPendingClosure() 79 void tabClosureUndone(Tab tab); in tabClosureUndone() 86 void tabClosureCommitted(Tab tab); in tabClosureCommitted()
|
D | EmptyTabModelObserver.java | 7 import org.chromium.chrome.browser.Tab; 17 public void didSelectTab(Tab tab, TabSelectionType type, int lastId) { in didSelectTab() 21 public void willCloseTab(Tab tab, boolean animate) { in willCloseTab() 25 public void didCloseTab(Tab tab) { in didCloseTab() 29 public void willAddTab(Tab tab, TabLaunchType type) { in willAddTab() 33 public void didAddTab(Tab tab, TabLaunchType type) { in didAddTab() 37 public void didMoveTab(Tab tab, int newIndex, int curIndex) { in didMoveTab() 41 public void tabPendingClosure(Tab tab) { in tabPendingClosure() 45 public void tabClosureUndone(Tab tab) { in tabClosureUndone() 49 public void tabClosureCommitted(Tab tab) { in tabClosureCommitted()
|
D | TabModelUtils.java | 7 import org.chromium.chrome.browser.Tab; 23 Tab tab = model.getTabAt(index); in closeTabByIndex() 45 Tab tab = TabModelUtils.getTabById(model, tabId); in closeTabById() 56 Tab tab = TabModelUtils.getCurrentTab(model); in closeCurrentTab() 73 Tab tab = model.getTabAt(i); in getTabIndexById() 86 public static Tab getTabById(TabList model, int tabId) { in getTabById() 114 Tab tab = getCurrentTab(model); in getCurrentTabId() 115 if (tab == null) return Tab.INVALID_TAB_ID; in getCurrentTabId() 125 public static Tab getCurrentTab(TabList model) { in getCurrentTab() 138 Tab tab = getCurrentTab(model); in getCurrentContentViewCore()
|
D | TabModelSelector.java | 7 import org.chromium.chrome.browser.Tab; 31 void onNewTabCreated(Tab tab); in onNewTabCreated() 66 Tab getCurrentTab(); in getCurrentTab() 102 Tab openNewTab(LoadUrlParams loadUrlParams, TabLaunchType type, Tab parent, boolean incognito); in openNewTab() 109 boolean closeTab(Tab tab); in closeTab() 125 Tab getTabById(int id); in getTabById()
|
D | EmptyTabModel.java | 9 import org.chromium.chrome.browser.Tab; 48 public boolean closeTab(Tab tab) { in closeTab() 53 public Tab getNextTabIfClosed(int id) { in getNextTabIfClosed() 68 public Tab getTabAt(int position) { in getTabAt() 73 public int indexOf(Tab tab) { in indexOf() 97 public boolean closeTab(Tab tab, boolean animate, boolean uponExit, boolean canUndo) { in closeTab() 124 public void addTab(Tab tab, int index, TabLaunchType type) { in addTab()
|
D | TabModel.java | 7 import org.chromium.chrome.browser.Tab; 54 public boolean closeTab(Tab tab); in closeTab() 72 public boolean closeTab(Tab tab, boolean animate, boolean uponExit, boolean canUndo); in closeTab() 79 public Tab getNextTabIfClosed(int id); in getNextTabIfClosed() 142 void addTab(Tab tab, int index, TabLaunchType type); in addTab()
|
D | TabModelSelectorBase.java | 7 import org.chromium.chrome.browser.Tab; 53 public Tab getCurrentTab() { in getCurrentTab() 59 Tab tab = getCurrentTab(); in getCurrentTabId() 60 return tab != null ? tab.getId() : Tab.INVALID_TAB_ID; in getCurrentTabId() 101 public boolean closeTab(Tab tab) { in closeTab() 120 public Tab getTabById(int id) { in getTabById() 122 Tab tab = TabModelUtils.getTabById(getModelAt(i), id); in getTabById() 166 protected void notifyNewTabCreated(Tab tab) { in notifyNewTabCreated()
|
D | TabModelOrderController.java | 7 import org.chromium.chrome.browser.Tab; 32 public int determineInsertionIndex(TabLaunchType type, int position, Tab newTab) { in determineInsertionIndex() 52 public int determineInsertionIndex(TabLaunchType type, Tab newTab) { in determineInsertionIndex() 54 Tab currentTab = TabModelUtils.getCurrentTab(currentModel); in determineInsertionIndex() 97 Tab tab = currentModel.getTabAt(i); in getIndexOfLastTabOpenedBy() 142 static boolean sameModelType(TabModel model, Tab tab) { in sameModelType()
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | tab_controller.h | 10 class Tab; variable 33 virtual void SelectTab(Tab* tab) = 0; 36 virtual void ExtendSelectionTo(Tab* tab) = 0; 39 virtual void ToggleSelected(Tab* tab) = 0; 42 virtual void AddSelectionFromAnchorTo(Tab* tab) = 0; 45 virtual void CloseTab(Tab* tab, CloseTabSource source) = 0; 48 virtual void ShowContextMenuForTab(Tab* tab, 54 virtual bool IsActiveTab(const Tab* tab) const = 0; 57 virtual bool IsTabSelected(const Tab* tab) const = 0; 60 virtual bool IsTabPinned(const Tab* tab) const = 0; [all …]
|
D | tab_strip.h | 26 class Tab; variable 121 bool ShouldTabBeVisible(const Tab* tab) const; 143 Tab* tab_at(int index) const { in tab_at() 144 return static_cast<Tab*>(tabs_.view_at(index)); in tab_at() 149 int GetModelIndexOfTab(const Tab* tab) const; 209 virtual void SelectTab(Tab* tab) OVERRIDE; 210 virtual void ExtendSelectionTo(Tab* tab) OVERRIDE; 211 virtual void ToggleSelected(Tab* tab) OVERRIDE; 212 virtual void AddSelectionFromAnchorTo(Tab* tab) OVERRIDE; 213 virtual void CloseTab(Tab* tab, CloseTabSource source) OVERRIDE; [all …]
|
D | tab.cc | 190 class Tab::FaviconCrashAnimation : public gfx::LinearAnimation, 193 explicit FaviconCrashAnimation(Tab* target) in FaviconCrashAnimation() 220 Tab* target_; 230 class Tab::TabCloseButton : public views::ImageButton { 232 explicit TabCloseButton(Tab* tab) : views::ImageButton(tab), tab_(tab) {} in TabCloseButton() 338 Tab* tab_; 346 Tab::ImageCacheEntry::ImageCacheEntry() in ImageCacheEntry() 351 Tab::ImageCacheEntry::~ImageCacheEntry() {} in ~ImageCacheEntry() 357 const char Tab::kViewClassName[] = "Tab"; 358 Tab::TabImage Tab::tab_active_ = {0}; [all …]
|
D | tab_unittest.cc | 31 virtual void SelectTab(Tab* tab) OVERRIDE {} in SelectTab() 32 virtual void ExtendSelectionTo(Tab* tab) OVERRIDE {} in ExtendSelectionTo() 33 virtual void ToggleSelected(Tab* tab) OVERRIDE {} in ToggleSelected() 34 virtual void AddSelectionFromAnchorTo(Tab* tab) OVERRIDE {} in AddSelectionFromAnchorTo() 35 virtual void CloseTab(Tab* tab, CloseTabSource source) OVERRIDE {} in CloseTab() 36 virtual void ShowContextMenuForTab(Tab* tab, in ShowContextMenuForTab() 39 virtual bool IsActiveTab(const Tab* tab) const OVERRIDE { in IsActiveTab() 42 virtual bool IsTabSelected(const Tab* tab) const OVERRIDE { in IsTabSelected() 45 virtual bool IsTabPinned(const Tab* tab) const OVERRIDE { return false; } in IsTabPinned() 47 Tab* tab, in MaybeStartDrag() [all …]
|
D | tab_strip.cc | 134 TabAnimationDelegate(TabStrip* tab_strip, Tab* tab); 141 Tab* tab() { return tab_; } in tab() 145 Tab* const tab_; 150 TabAnimationDelegate::TabAnimationDelegate(TabStrip* tab_strip, Tab* tab) in TabAnimationDelegate() 167 ResetDraggingStateDelegate(TabStrip* tab_strip, Tab* tab); 178 Tab* tab) in ResetDraggingStateDelegate() 495 RemoveTabDelegate(TabStrip* tab_strip, Tab* tab); 505 Tab* tab) in RemoveTabDelegate() 547 current_unselected_width_(Tab::GetStandardSize().width()), in TabStrip() 548 current_selected_width_(Tab::GetStandardSize().width()), in TabStrip() [all …]
|
D | tab_strip_unittest.cc | 26 while (current && strcmp(current->GetClassName(), Tab::kViewClassName)) { in FindTabView() 102 gfx::Rect GetTabHitTestMask(Tab* tab) { in GetTabHitTestMask() 111 gfx::Rect GetTabCloseHitTestMask(Tab* tab, bool padding) { in GetTabCloseHitTestMask() 121 bool IsPointInTab(Tab* tab, const gfx::Point& point_in_tabstrip_coords) { in IsPointInTab() 155 Tab* tab = tab_strip_->tab_at(0); in TEST_F() 176 Tab* tab = tab_strip_->tab_at(0); in TEST_F() 269 int normal_height = Tab::GetMinimumUnselectedSize().height(); in TEST_F() 277 int immersive_height = Tab::GetImmersiveHeight(); in TEST_F() 296 Tab* left_tab = tab_strip_->tab_at(0); in TEST_F() 299 Tab* active_tab = tab_strip_->tab_at(1); in TEST_F() [all …]
|
/external/chromium_org/ui/views/controls/tabbed_pane/ |
D | tabbed_pane.cc | 35 class Tab : public View { class 37 Tab(TabbedPane* tabbed_pane, const base::string16& title, View* contents); 38 virtual ~Tab(); 69 DISALLOW_COPY_AND_ASSIGN(Tab); 89 Tab::Tab(TabbedPane* tabbed_pane, const base::string16& title, View* contents) in Tab() function in views::Tab 103 Tab::~Tab() {} in ~Tab() 105 void Tab::SetSelected(bool selected) { in SetSelected() 110 bool Tab::OnMousePressed(const ui::MouseEvent& event) { in OnMousePressed() 117 void Tab::OnMouseEntered(const ui::MouseEvent& event) { in OnMouseEntered() 121 void Tab::OnMouseExited(const ui::MouseEvent& event) { in OnMouseExited() [all …]
|
/external/chromium_org/chrome/browser/sessions/ |
D | persistent_tab_restore_service_unittest.cc | 33 typedef TabRestoreService::Tab Tab; typedef 213 Tab* tab = static_cast<Tab*>(entry); in TEST_F() 237 tab = static_cast<Tab*>(entry); in TEST_F() 272 Tab* tab = static_cast<Tab*>(entry); in TEST_F() 297 Tab* tab = static_cast<Tab*>(entry); in TEST_F() 311 tab = static_cast<Tab*>(entry); in TEST_F() 341 const Tab* restored_tab = in TEST_F() 342 static_cast<const Tab*>(restored_entry); in TEST_F() 459 Tab* tab = static_cast<Tab*>(entry); in TEST_F() 501 Tab* tab = static_cast<Tab*>(entry); in TEST_F() [all …]
|
D | tab_restore_service_helper.cc | 38 void RecordAppLaunch(Profile* profile, const TabRestoreService::Tab& tab) { in RecordAppLaunch() 110 scoped_ptr<Tab> local_tab(new Tab()); in CreateHistoricalTab() 130 window->tabs.push_back(Tab()); in BrowserClosing() 149 AddEntry(new Tab(window->tabs[0]), true, true); in BrowserClosing() 185 TabRestoreService::Tab* TabRestoreServiceHelper::RemoveTabEntryById( in RemoveTabEntryById() 195 Tab* tab = static_cast<Tab*>(entry); in RemoveTabEntryById() 229 Tab* tab = static_cast<Tab*>(entry); in RestoreEntryById() 246 const Tab& tab = window->tabs[tab_i]; in RestoreEntryById() 271 for (std::vector<Tab>::iterator tab_i = window->tabs.begin(); in RestoreEntryById() 273 const Tab& tab = *tab_i; in RestoreEntryById() [all …]
|
D | tab_restore_service_helper.h | 37 typedef TabRestoreService::Tab Tab; typedef 86 Tab* RemoveTabEntryById(SessionID::id_type id); 123 void PopulateTab(Tab* tab, 137 const Tab& tab, 146 static bool ValidateTab(Tab* tab); 152 static bool IsTabInteresting(const Tab* tab);
|
D | tab_restore_service.cc | 32 TabRestoreService::Tab::Tab() in Tab() function in TabRestoreService::Tab 40 TabRestoreService::Tab::~Tab() { in ~Tab()
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/printing/ |
D | TabPrinter.java | 9 import org.chromium.chrome.browser.Tab; 23 private final WeakReference<Tab> mTab; 25 public TabPrinter(Tab tab) { in TabPrinter() 26 mTab = new WeakReference<Tab>(tab); in TabPrinter() 35 Tab tab = mTab.get(); in print() 41 Tab tab = mTab.get(); in getTitle()
|
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ |
D | TabUtils.java | 11 import org.chromium.chrome.browser.Tab; 26 private static TestContentViewClient createTestContentViewClientForTab(Tab tab) { in createTestContentViewClientForTab() 42 private TestCallbackHelperContainerForTab(Tab tab) { in TestCallbackHelperContainerForTab() 49 public void onDestroyed(Tab tab) { in TestCallbackHelperContainerForTab() 54 public void onContextMenuShown(Tab tab, ContextMenu menu) { in TestCallbackHelperContainerForTab() 89 public static TestCallbackHelperContainerForTab getTestCallbackHelperContainer(final Tab tab) { in getTestCallbackHelperContainer()
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ |
D | DomDistillerFeedbackReporter.java | 12 import org.chromium.chrome.browser.Tab; 39 private final Tab mTab; 57 public DomDistillerFeedbackReporter(Tab tab) { in DomDistillerFeedbackReporter() 129 public void onWebContentsSwapped(Tab tab, boolean didStartLoad, in createTabObserver() 135 public void onContentChanged(Tab tab) { in createTabObserver() 140 public void onDestroyed(Tab tab) { in createTabObserver()
|