Searched refs:Tab (Results 1 - 25 of 110) sorted by relevance

12345

/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DEmptyTabObserver.java15 public void onDestroyed(Tab tab) { }
18 public void onContentChanged(Tab tab) { }
21 public void onLoadUrl(Tab tab, String url, int loadType) { }
24 public void onFaviconUpdated(Tab tab) { }
27 public void onTitleUpdated(Tab tab) { }
30 public void onUrlUpdated(Tab tab) { }
33 public void onSSLStateUpdated(Tab tab) { }
36 public void onWebContentsSwapped(Tab tab, boolean didStartLoad, boolean didFinishLoad) { }
39 public void onContextMenuShown(Tab tab, ContextMenu menu) { }
45 public void onLoadStarted(Tab ta
[all...]
H A DTabObserver.java12 * An observer that is notified of changes to a {@link Tab} object.
17 * Called when a {@link Tab} is being destroyed.
18 * @param tab The notifying {@link Tab}.
20 void onDestroyed(Tab tab);
24 * @param tab The notifying {@link Tab}.
26 void onContentChanged(Tab tab);
29 * Called when loadUrl is triggered on a a {@link Tab}.
30 * @param tab The notifying {@link Tab}.
39 void onLoadUrl(Tab tab, String url, int loadType);
42 * Called when the favicon of a {@link Tab} ha
[all...]
H A DChromiumApplication.java35 protected abstract void openClearBrowsingData(Tab tab);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/
H A DEmptyTabModelObserver.java7 import org.chromium.chrome.browser.Tab;
17 public void didSelectTab(Tab tab, TabSelectionType type, int lastId) {
21 public void willCloseTab(Tab tab, boolean animate) {
25 public void didCloseTab(Tab tab) {
29 public void willAddTab(Tab tab, TabLaunchType type) {
33 public void didAddTab(Tab tab, TabLaunchType type) {
37 public void didMoveTab(Tab tab, int newIndex, int curIndex) {
41 public void tabPendingClosure(Tab tab) {
45 public void tabClosureUndone(Tab tab) {
49 public void tabClosureCommitted(Tab ta
[all...]
H A DTabModelObserver.java7 import org.chromium.chrome.browser.Tab;
21 * @param lastId The ID of the last selected tab, or {@link Tab#INVALID_TAB_ID} if no tab was
24 void didSelectTab(Tab tab, TabSelectionType type, int lastId);
32 void willCloseTab(Tab tab, boolean animate);
39 void didCloseTab(Tab tab);
47 void willAddTab(Tab tab, TabLaunchType type);
55 void didAddTab(Tab tab, TabLaunchType type);
64 void didMoveTab(Tab tab, int newIndex, int curIndex);
72 void tabPendingClosure(Tab tab);
79 void tabClosureUndone(Tab ta
[all...]
H A DTabList.java7 import org.chromium.chrome.browser.Tab;
10 * A read only list of {@link Tab}s. This list understands the concept of an incognito list as
34 * @param index The index of the {@link Tab} to return.
35 * @return The {@code Tab} at position {@code index}, or {@code null} if {@code index} < 0
38 Tab getTabAt(int index);
43 int indexOf(Tab tab);
46 * @param tabId The id of the {@link Tab} that might have a pending closure.
47 * @return Whether or not the {@link Tab} specified by {@code tabId} has a pending
H A DTabModelSelector.java8 import org.chromium.chrome.browser.Tab;
32 void onNewTabCreated(Tab tab);
68 Tab getCurrentTab();
72 * @return Id of the current tab or {@link Tab#INVALID_TAB_ID} if no tab is selected or the
78 * Convenience function to get the {@link TabModel} for a {@link Tab} specified by
80 * @param id The id of the {@link Tab} to find the {@link TabModel} for.
81 * @return The {@link TabModel} that owns the {@link Tab} specified by {@code id}.
104 Tab openNewTab(LoadUrlParams loadUrlParams, TabLaunchType type, Tab parent, boolean incognito);
107 * Searches through all children models for the specified Tab an
[all...]
H A DTabModelDelegate.java7 import org.chromium.chrome.browser.Tab;
19 void didCreateNewTab(Tab tab);
31 void requestToShowTab(Tab tab, TabSelectionType type);
H A DTabModel.java7 import org.chromium.chrome.browser.Tab;
29 FROM_INSTANT, // Tab was created by instant.
54 public boolean closeTab(Tab tab);
64 * {@link #supportsPendingClosures()} is {@code true}, this {@link Tab}
72 public boolean closeTab(Tab tab, boolean animate, boolean uponExit, boolean canUndo);
79 public Tab getNextTabIfClosed(int id);
98 * @param tabId The id of the {@link Tab} to commit the pending closure.
103 * Cancels a pending {@link Tab} closure, bringing the tab back into this model. Note that this
104 * will select the rewound {@link Tab}.
105 * @param tabId The id of the {@link Tab} t
[all...]
H A DEmptyTabModel.java8 import org.chromium.chrome.browser.Tab;
12 * Singleton class intended to stub out Tab model before it has been created.
47 public boolean closeTab(Tab tab) {
52 public Tab getNextTabIfClosed(int id) {
67 public Tab getTabAt(int position) {
72 public int indexOf(Tab tab) {
96 public boolean closeTab(Tab tab, boolean animate, boolean uponExit, boolean canUndo) {
123 public void addTab(Tab tab, int index, TabLaunchType type) {
H A DTabModelUtils.java7 import org.chromium.chrome.browser.Tab;
19 * @param index The index of the {@link Tab} to close.
20 * @return {@code true} if the {@link Tab} was found.
23 Tab tab = model.getTabAt(index);
31 * @param tabId The id of the {@link Tab} to close.
32 * @return {@code true} if the {@link Tab} was found.
40 * @param tabId The id of the {@link Tab} to close.
42 * @return {@code true} if the {@link Tab} was found.
45 Tab tab = TabModelUtils.getTabById(model, tabId);
53 * @return {@code true} if the {@link Tab} wa
[all...]
H A DTabModelBase.java12 import org.chromium.chrome.browser.Tab;
39 private final List<Tab> mTabs = new ArrayList<Tab>();
52 * A {@link TabList} that represents the complete list of {@link Tab}s. This is so that
54 * {@link Tab}s that includes rewindable entries, as the typical {@link TabModel} does not
60 * This specifies the current {@link Tab} in {@link #mTabs}.
64 /** Native Tab pointer which will be set by nativeInit(). */
88 for (Tab tab : mTabs) {
118 public void addTab(Tab tab, int index, TabLaunchType type) {
180 Tab ta
[all...]
H A DTabModelOrderController.java7 import org.chromium.chrome.browser.Tab;
32 public int determineInsertionIndex(TabLaunchType type, int position, Tab newTab) {
52 public int determineInsertionIndex(TabLaunchType type, Tab newTab) {
54 Tab currentTab = TabModelUtils.getCurrentTab(currentModel);
97 Tab tab = currentModel.getTabAt(i);
142 static boolean sameModelType(TabModel model, Tab tab) {
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_controller.h10 class Tab;
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;
59 // Returns true if the specified Tab i
[all...]
H A Dtab_strip.h27 class Tab;
48 // - It takes part in Tab Drag & Drop with Tab, TabDragHelper and
130 bool ShouldTabBeVisible(const Tab* tab) const;
146 // Retrieves the ideal bounds for the Tab at the specified index.
151 // Returns the Tab at |index|.
152 Tab* tab_at(int index) const {
153 return static_cast<Tab*>(tabs_.view_at(index));
158 int GetModelIndexOfTab(const Tab* tab) const;
218 virtual void SelectTab(Tab* ta
[all...]
H A Dtab_unittest.cc33 virtual void SelectTab(Tab* tab) OVERRIDE {}
34 virtual void ExtendSelectionTo(Tab* tab) OVERRIDE {}
35 virtual void ToggleSelected(Tab* tab) OVERRIDE {}
36 virtual void AddSelectionFromAnchorTo(Tab* tab) OVERRIDE {}
37 virtual void CloseTab(Tab* tab, CloseTabSource source) OVERRIDE {}
38 virtual void ToggleTabAudioMute(Tab* tab) OVERRIDE {}
39 virtual void ShowContextMenuForTab(Tab* tab,
42 virtual bool IsActiveTab(const Tab* tab) const OVERRIDE {
45 virtual bool IsTabSelected(const Tab* tab) const OVERRIDE {
48 virtual bool IsTabPinned(const Tab* ta
[all...]
H A Dtab.cc195 class Tab::FaviconCrashAnimation : public gfx::LinearAnimation,
198 explicit FaviconCrashAnimation(Tab* target)
225 Tab* target_;
235 class Tab::TabCloseButton : public views::ImageButton,
238 explicit TabCloseButton(Tab* tab)
249 // Tab close button has no children, so tooltip handler should be the same
278 // Consume all gesture events here so that the parent (Tab) does not
379 Tab* tab_;
387 Tab::ImageCacheEntry::ImageCacheEntry()
392 Tab
407 Tab::Tab(TabController* controller) function in class:Tab
[all...]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/printing/
H A DTabPrinter.java9 import org.chromium.chrome.browser.Tab;
15 * Wraps printing related functionality of a {@link Tab} object.
17 * This class doesn't have any lifetime expectations with regards to Tab, since we keep a weak
23 private final WeakReference<Tab> mTab;
25 public TabPrinter(Tab tab) {
26 mTab = new WeakReference<Tab>(tab);
35 Tab tab = mTab.get();
41 Tab tab = mTab.get();
/external/chromium_org/chrome/browser/sessions/
H A Dtab_restore_service.cc30 // Tab ------------------------------------------------------------------------
32 TabRestoreService::Tab::Tab() function in class:TabRestoreService::Tab
40 TabRestoreService::Tab::~Tab() {
H A Dtab_restore_service_helper.h37 typedef TabRestoreService::Tab Tab; typedef in class:TabRestoreServiceHelper
86 Tab* RemoveTabEntryById(SessionID::id_type id);
111 // identifies a tab, then the iterator position of the Window in which the Tab
123 void PopulateTab(Tab* tab,
137 const Tab& tab,
146 static bool ValidateTab(Tab* tab);
152 static bool IsTabInteresting(const Tab* tab);
H A Dtab_restore_service.h32 // TabRestoreService::CreateHistoricalTab is invoked and a Tab is created to
78 struct Tab : public Entry { struct in class:TabRestoreService
79 Tab();
80 virtual ~Tab();
116 std::vector<Tab> tabs;
134 // Creates a Tab to represent |contents| and notifies observers the list of
164 // Removes the Tab with id |id| from the list and returns it; ownership is
166 virtual Tab* RemoveTabEntryById(SessionID::id_type id) = 0;
/external/chromium_org/chrome/test/android/unit_tests_apk/src/org/chromium/chrome/unit_tests_apk/
H A DChromeNativeTestApplication.java9 import org.chromium.chrome.browser.Tab;
33 protected void openClearBrowsingData(Tab tab) {
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omnibox/
H A DOmniboxPrerender.java7 import org.chromium.chrome.browser.Tab;
62 Profile profile, Tab tab) {
74 Tab tab);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/password_manager/
H A DPasswordAuthenticationManager.java8 import org.chromium.chrome.browser.Tab;
29 void requestAuthentication(Tab tab, PasswordAuthenticationCallback callback);
75 public void requestAuthentication(Tab tab, PasswordAuthenticationCallback callback) {
117 Tab tab, PasswordAuthenticationCallback callback) {
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/
H A DDomDistillerFeedbackReporter.java12 import org.chromium.chrome.browser.Tab;
39 private final Tab mTab;
57 public DomDistillerFeedbackReporter(Tab tab) {
121 * Creates a TabObserver for monitoring a Tab, used to react to changes in the ContentViewCore
124 * @return TabObserver that can be used to monitor a Tab.
129 public void onWebContentsSwapped(Tab tab, boolean didStartLoad,
135 public void onContentChanged(Tab tab) {
140 public void onDestroyed(Tab tab) {

Completed in 1052 milliseconds

12345