OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TabModel
(Results
1 - 24
of
24
) sorted by null
/external/chromium_org/chrome/browser/ui/android/tab_model/
tab_model_list.h
13
class
TabModel
;
23
// Stores a list of all
TabModel
objects.
26
typedef std::vector<
TabModel
*> TabModelVector;
31
static void AddTabModel(
TabModel
* tab_model);
32
static void RemoveTabModel(
TabModel
* tab_model);
34
static
TabModel
* GetTabModelForWebContents(
36
static
TabModel
* FindTabModelWithId(SessionID::id_type desired_id);
44
static
TabModel
* get(size_t index);
tab_model.cc
17
TabModel
::
TabModel
(Profile* profile)
42
TabModel
::~
TabModel
() {
45
Profile*
TabModel
::GetProfile() const {
49
bool
TabModel
::IsOffTheRecord() const {
53
browser_sync::SyncedWindowDelegate*
TabModel
::GetSyncedWindowDelegate() const {
57
SessionID::id_type
TabModel
::GetSessionId() const {
61
void
TabModel
::BroadcastSessionRestoreComplete() {
74
void
TabModel
::Observe
[
all
...]
tab_model.h
31
class
TabModel
: public content::NotificationObserver {
59
explicit
TabModel
(Profile* profile);
60
virtual ~
TabModel
();
62
// Instructs the
TabModel
to broadcast a notification that all tabs are now
69
// Determines how
TabModel
will interact with the profile.
74
// The profile associated with this
TabModel
.
77
// Describes if this
TabModel
contains an off-the-record profile.
80
// The SyncedWindowDelegate associated with this
TabModel
.
83
// Unique identifier of this
TabModel
for session restore. This id is only
88
// The Registrar used to register
TabModel
for notifications
[
all
...]
tab_model_list.cc
15
// Maintains and gives access to a static list of
TabModel
instances.
24
void TabModelList::AddTabModel(
TabModel
* tab_model) {
29
void TabModelList::RemoveTabModel(
TabModel
* tab_model) {
46
TabModel
* TabModelList::GetTabModelForWebContents(
53
TabModel
* model = *i;
63
TabModel
* TabModelList::FindTabModelWithId(
100
TabModel
* TabModelList::get(size_t index) {
tab_model_list_unittest.cc
16
class TestTabModel : public
TabModel
{
18
explicit TestTabModel(Profile* profile) :
TabModel
(profile), tab_count_(0) {}
51
//
TabModel
::GetTabAt returns NULL.
tab_model_unittest.cc
27
class TestTabModel : public
TabModel
{
30
:
TabModel
(profile) {}
52
// Construct
TabModel
with standard Profile.
56
// Verify
TabModel
has the correct profile and profile type.
69
// Construct
TabModel
with off-the-record Profile.
77
// Verify
TabModel
has the correct profile and profile type.
tab_model_base.h
27
class TabModelBase : public
TabModel
{
37
//
TabModel
:
54
// Instructs the
TabModel
to broadcast a notification that all tabs are now
tab_model_base.cc
30
:
TabModel
(profile),
147
TabModel
::BroadcastSessionRestoreComplete();
176
TabModel
* tab_model = new TabModelBase(env, obj, profile);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/
TabModelSelector.java
5
package org.chromium.chrome.browser.
tabmodel
;
9
import org.chromium.chrome.browser.
tabmodel
.
TabModel
.TabLaunchType;
15
* TabModelSelector is a wrapper class containing both a normal and an incognito
TabModel
.
16
* This class helps the app know which mode it is currently in, and which
TabModel
it should
21
* Interface of listener that get notified on changes in the {@link
TabModel
}s.
25
* Called whenever the {@link
TabModel
} has changed.
45
TabModel
getModel(boolean incognito);
50
List<
TabModel
> getModels();
56
TabModel
getModelAt(int index)
[
all
...]
TabModelDelegate.java
5
package org.chromium.chrome.browser.
tabmodel
;
8
import org.chromium.chrome.browser.
tabmodel
.
TabModel
.TabSelectionType;
11
* This class serves as a callback from
TabModel
to TabModelSelector. The number of methods in this
22
* Called when the {@link TabModelSelector} or its {@link
TabModel
} has changed.
34
TabModel
getCurrentModel();
35
TabModel
getModel(boolean incognito);
TabModelUtils.java
5
package org.chromium.chrome.browser.
tabmodel
;
8
import org.chromium.chrome.browser.
tabmodel
.
TabModel
.TabSelectionType;
12
* A set of convenience methods used for interacting with {@link TabList}s and {@link
TabModel
}s.
18
* @param model The {@link
TabModel
} to act on.
22
public static boolean closeTabByIndex(
TabModel
model, int index) {
30
* @param model The {@link
TabModel
} to act on.
34
public static boolean closeTabById(
TabModel
model, int tabId) {
39
* @param model The {@link
TabModel
} to act on.
44
public static boolean closeTabById(
TabModel
model, int tabId, boolean canUndo)
[
all
...]
TabModelSelectorBase.java
5
package org.chromium.chrome.browser.
tabmodel
;
20
private List<
TabModel
> mTabModels = Collections.emptyList();
24
protected final void initialize(boolean startIncognito,
TabModel
... models) {
32
List<
TabModel
> tabModels = new ArrayList<
TabModel
>();
46
public
TabModel
getModelAt(int index) {
64
public
TabModel
getModelForTabId(int id) {
66
TabModel
model = mTabModels.get(i);
75
public
TabModel
getCurrentModel() {
85
public
TabModel
getModel(boolean incognito)
[
all
...]
EmptyTabModelObserver.java
5
package org.chromium.chrome.browser.
tabmodel
;
8
import org.chromium.chrome.browser.
tabmodel
.
TabModel
.TabLaunchType;
9
import org.chromium.chrome.browser.
tabmodel
.
TabModel
.TabSelectionType;
TabModelObserver.java
5
package org.chromium.chrome.browser.
tabmodel
;
8
import org.chromium.chrome.browser.
tabmodel
.
TabModel
.TabLaunchType;
9
import org.chromium.chrome.browser.
tabmodel
.
TabModel
.TabSelectionType;
12
* An interface to be notified about changes to a
TabModel
.
42
* Called before a tab will be added to the {@link
TabModel
}.
50
* Called after a tab has been added to the {@link
TabModel
}.
58
* Called after a tab has been moved from one position in the {@link
TabModel
} to another.
TabModelOrderController.java
5
package org.chromium.chrome.browser.
tabmodel
;
8
import org.chromium.chrome.browser.
tabmodel
.
TabModel
.TabLaunchType;
53
TabModel
currentModel = mTabModelSelector.getCurrentModel();
94
TabModel
currentModel = mTabModelSelector.getCurrentModel();
109
TabModel
currentModel = mTabModelSelector.getCurrentModel();
142
static boolean sameModelType(
TabModel
model, Tab tab) {
TabModel.java
5
package org.chromium.chrome.browser.
tabmodel
;
11
*
TabModel
organizes all the open tabs and allows you to create new ones. There are two TabModels
15
public interface
TabModel
extends TabList {
110
* @return The complete {@link TabList} this {@link
TabModel
} represents. Note that this may
111
* be different than this actual {@link
TabModel
} if it supports pending closures
EmptyTabModel.java
5
package org.chromium.chrome.browser.
tabmodel
;
14
public class EmptyTabModel implements
TabModel
{
17
* Used to mock
TabModel
. Application code should use getInstance() to construct an
TabModelBase.java
5
package org.chromium.chrome.browser.
tabmodel
;
21
* This is the default implementation of the {@link
TabModel
} interface.
23
public abstract class TabModelBase implements
TabModel
{
53
* certain UI elements can call {@link
TabModel
#getComprehensiveModel()} to get a full list of
54
* {@link Tab}s that includes rewindable entries, as the typical {@link
TabModel
} does not
161
setIndex(newIndex,
TabModel
.TabSelectionType.FROM_NEW);
423
* Performs the necessary actions to remove this {@link Tab} from this {@link
TabModel
}.
427
* @param tab The {@link Tab} to remove from this {@link
TabModel
}.
466
TabModel
nextModel = mModelDelegate.getModel(nextIsIncognito);
499
* If {@link
TabModel
} has a valid selected tab, this will return that same tab in th
[
all
...]
/external/chromium_org/chrome/browser/sync/glue/
synced_window_delegate_android.h
12
class
TabModel
;
20
explicit SyncedWindowDelegateAndroid(
TabModel
* tab_model);
38
TabModel
* tab_model_;
synced_window_delegate_android.cc
31
TabModel
* tab_model = TabModelList::FindTabModelWithId(
41
TabModel
* tab_model)
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/
AccessibilityTabModelAdapter.java
15
import org.chromium.chrome.browser.
tabmodel
.TabList;
16
import org.chromium.chrome.browser.
tabmodel
.
TabModel
;
17
import org.chromium.chrome.browser.
tabmodel
.TabModelUtils;
21
* An instance of a {@link BaseAdapter} that represents a {@link
TabModel
}.
27
private
TabModel
mActualTabModel;
95
* @param
tabModel
The
TabModel
that this adapter should represent.
97
public void setTabModel(
TabModel
tabModel
) {
[
all
...]
/external/chromium_org/chrome/browser/android/
dev_tools_manager_delegate_android.cc
121
TabModel
* model;
132
TabModel
* model;
154
TabModel
* model;
163
TabModel
* model;
182
bool FindTab(
TabModel
** model_result, int* index_result) const {
185
TabModel
* model = *iter;
281
TabModel
* tab_model = TabModelList::get(0);
304
TabModel
* model = *iter;
/external/chromium_org/chrome/browser/sessions/
session_restore_android.cc
29
TabModel
* tab_model = TabModelList::GetTabModelForWebContents(web_contents);
/external/chromium_org/chrome/browser/ui/webui/memory_internals/
memory_internals_proxy.cc
89
TabModel
* model = *iter;
216
TabModel
* model = *iter;
Completed in 204 milliseconds