/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() 92 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() 45 public void onLoadStarted(Tab tab) { } in onLoadStarted() [all …]
|
/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 ToggleTabAudioMute(Tab* tab) = 0; 51 virtual void ShowContextMenuForTab(Tab* tab, 57 virtual bool IsActiveTab(const Tab* tab) const = 0; 60 virtual bool IsTabSelected(const Tab* tab) const = 0; [all …]
|
D | tab_strip.h | 27 class Tab; variable 130 bool ShouldTabBeVisible(const Tab* tab) const; 152 Tab* tab_at(int index) const { in tab_at() 153 return static_cast<Tab*>(tabs_.view_at(index)); in tab_at() 158 int GetModelIndexOfTab(const Tab* tab) const; 218 virtual void SelectTab(Tab* tab) OVERRIDE; 219 virtual void ExtendSelectionTo(Tab* tab) OVERRIDE; 220 virtual void ToggleSelected(Tab* tab) OVERRIDE; 221 virtual void AddSelectionFromAnchorTo(Tab* tab) OVERRIDE; 222 virtual void CloseTab(Tab* tab, CloseTabSource source) OVERRIDE; [all …]
|
D | tab.cc | 195 class Tab::FaviconCrashAnimation : public gfx::LinearAnimation, 198 explicit FaviconCrashAnimation(Tab* target) in FaviconCrashAnimation() 225 Tab* target_; 235 class Tab::TabCloseButton : public views::ImageButton, 238 explicit TabCloseButton(Tab* tab) in TabCloseButton() 379 Tab* tab_; 387 Tab::ImageCacheEntry::ImageCacheEntry() in ImageCacheEntry() 392 Tab::ImageCacheEntry::~ImageCacheEntry() {} in ~ImageCacheEntry() 398 const char Tab::kViewClassName[] = "Tab"; 399 Tab::TabImage Tab::tab_active_ = {0}; [all …]
|
D | tab_unittest.cc | 33 virtual void SelectTab(Tab* tab) OVERRIDE {} in SelectTab() 34 virtual void ExtendSelectionTo(Tab* tab) OVERRIDE {} in ExtendSelectionTo() 35 virtual void ToggleSelected(Tab* tab) OVERRIDE {} in ToggleSelected() 36 virtual void AddSelectionFromAnchorTo(Tab* tab) OVERRIDE {} in AddSelectionFromAnchorTo() 37 virtual void CloseTab(Tab* tab, CloseTabSource source) OVERRIDE {} in CloseTab() 38 virtual void ToggleTabAudioMute(Tab* tab) OVERRIDE {} in ToggleTabAudioMute() 39 virtual void ShowContextMenuForTab(Tab* tab, in ShowContextMenuForTab() 42 virtual bool IsActiveTab(const Tab* tab) const OVERRIDE { in IsActiveTab() 45 virtual bool IsTabSelected(const Tab* tab) const OVERRIDE { in IsTabSelected() 48 virtual bool IsTabPinned(const Tab* tab) const OVERRIDE { return false; } in IsTabPinned() [all …]
|
D | tab_strip.cc | 136 TabAnimationDelegate(TabStrip* tab_strip, Tab* tab); 143 Tab* tab() { return tab_; } in tab() 147 Tab* const tab_; 152 TabAnimationDelegate::TabAnimationDelegate(TabStrip* tab_strip, Tab* tab) in TabAnimationDelegate() 169 ResetDraggingStateDelegate(TabStrip* tab_strip, Tab* tab); 180 Tab* tab) in ResetDraggingStateDelegate() 477 RemoveTabDelegate(TabStrip* tab_strip, Tab* tab); 487 Tab* tab) in RemoveTabDelegate() 529 current_unselected_width_(Tab::GetStandardSize().width()), in TabStrip() 530 current_selected_width_(Tab::GetStandardSize().width()), in TabStrip() [all …]
|
D | tab_strip_unittest.cc | 29 while (current && strcmp(current->GetClassName(), Tab::kViewClassName)) { in FindTabView() 129 gfx::Rect GetTabHitTestMask(Tab* tab) { in GetTabHitTestMask() 145 gfx::Rect GetTabCloseHitTestMask(Tab* tab, bool padding) { in GetTabCloseHitTestMask() 155 bool IsPointInTab(Tab* tab, const gfx::Point& point_in_tabstrip_coords) { in IsPointInTab() 189 Tab* tab = tab_strip_->tab_at(0); in TEST_F() 210 Tab* tab = tab_strip_->tab_at(0); in TEST_F() 303 int normal_height = Tab::GetMinimumUnselectedSize().height(); in TEST_F() 311 int immersive_height = Tab::GetImmersiveHeight(); in TEST_F() 330 Tab* left_tab = tab_strip_->tab_at(0); in TEST_F() 333 Tab* active_tab = tab_strip_->tab_at(1); in TEST_F() [all …]
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/ |
D | TabModelBase.java | 12 import org.chromium.chrome.browser.Tab; 39 private final List<Tab> mTabs = new ArrayList<Tab>(); 88 for (Tab tab : mTabs) { in destroy() 118 public void addTab(Tab tab, int index, TabLaunchType type) { in addTab() 180 Tab tab = mTabs.remove(curIndex); in moveTab() 201 public boolean closeTab(Tab tab) { in closeTab() 205 private Tab findTabInAllTabModels(int tabId) { in findTabInAllTabModels() 206 Tab tab = TabModelUtils.getTabById(mModelDelegate.getModel(mIsIncognito), tabId); in findTabInAllTabModels() 212 public Tab getNextTabIfClosed(int id) { in getNextTabIfClosed() 213 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 | 8 import org.chromium.chrome.browser.Tab; 32 void onNewTabCreated(Tab tab); in onNewTabCreated() 68 Tab getCurrentTab(); in getCurrentTab() 104 Tab openNewTab(LoadUrlParams loadUrlParams, TabLaunchType type, Tab parent, boolean incognito); in openNewTab() 111 boolean closeTab(Tab tab); in closeTab() 127 Tab getTabById(int id); in getTabById()
|
D | EmptyTabModel.java | 8 import org.chromium.chrome.browser.Tab; 47 public boolean closeTab(Tab tab) { in closeTab() 52 public Tab getNextTabIfClosed(int id) { in getNextTabIfClosed() 67 public Tab getTabAt(int position) { in getTabAt() 72 public int indexOf(Tab tab) { in indexOf() 96 public boolean closeTab(Tab tab, boolean animate, boolean uponExit, boolean canUndo) { in closeTab() 123 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/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 | 35 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/android/javatests/src/org/chromium/chrome/browser/contextmenu/ |
D | ContextMenuTest.java | 18 import org.chromium.chrome.browser.Tab; 47 Tab tab = getActivity().getActiveTab(); in testCopyLinkURL() 59 Tab tab = getActivity().getActiveTab(); in testCopyImageLinkCopiesLinkURL() 71 Tab tab = getActivity().getActiveTab(); in testCopyLinkTextSimple() 84 Tab tab = getActivity().getActiveTab(); in testCopyLinkTextComplex() 99 Tab tab = getActivity().getActiveTab(); in testCopyImageToClipboard() 114 final Tab tab = getActivity().getActiveTab(); in testLongPressOnImage() 146 final Tab tab = getActivity().getActiveTab(); in testLongPressOnImageLink() 175 Tab tab = getActivity().getActiveTab(); in testDismissContextMenuOnBack() 196 Tab tab = getActivity().getActiveTab(); in testDismissContextMenuOnClick()
|
/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()
|