Available Methods
- INVALID_TAB_ID
- getId ( )
- getWebContents ( )
- getContentViewCore ( )
- isIncognito ( )
- getUrl ( )
- isNativePage ( )
- isInitialized ( )
- getView ( )
- getInfoBarContainer ( )
- getTitle ( )
- isShowingErrorPage ( )
- addObserver ( )
- destroy ( )
- isLoading ( )
- getNativePage ( )
- show ( )
- getThemeColor ( )
- removeObserver ( )
- reload ( )
- loadIfNeeded ( )
- getProfile ( )
- loadUrl ( )
- requestFocus ( )
- canGoForward ( )
- goForward ( )
- setUseDesktopUserAgent ( )
- INVALID_BOOKMARK_ID
- setClosing ( )
- canGoBack ( )
- updateFullscreenEnabledState ( )
- onActivityHidden ( )
- isShowingInterstitialPage ( )
- getDelegateFactory ( )
- getSecurityLevel ( )
- getWindowAndroid ( )
- getOriginalUrl ( )
- enableEmbeddedMediaExperience ( )
- isTabStateDirty ( )
- initialize ( )
- updateAccessibilityVisibility ( )
- print ( )
- freezeNativePage ( )
Related Classes
- android.content.Context
- android.view.View
- android.content.Intent
- android.app.Activity
- android.net.Uri
- android.view.MenuItem
- android.graphics.Bitmap
- android.view.Menu
- android.text.TextUtils
- android.widget.FrameLayout
- android.os.AsyncTask
- android.os.SystemClock
- android.support.v7.app.AlertDialog
- org.chromium.chrome.browser.profiles.Profile
- org.chromium.base.ApiCompatibilityUtils
- org.chromium.chrome.R
- org.chromium.content.browser.ContentViewCore
- org.chromium.base.metrics.RecordHistogram
- org.chromium.base.ContextUtils
- org.chromium.base.annotations.CalledByNative
- org.chromium.base.Log
- org.chromium.chrome.browser.preferences.PrefServiceBridge
- org.chromium.chrome.browser.NativePage
- org.chromium.chrome.browser.UrlConstants
- org.chromium.chrome.browser.compositor.bottombar.OverlayPanel.StateChangeReason
Java Code Examples for org.chromium.chrome.browser.tab.Tab#isTabStateDirty()
The following examples show how to use
org.chromium.chrome.browser.tab.Tab#isTabStateDirty() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TabPersistentStore.java From delion with Apache License 2.0 | 5 votes |
public void addTabToSaveQueue(Tab tab) { // TODO(ianwen): remove this check once we figure out a better plan to disable tab saving. if (tab.getDelegateFactory() instanceof CustomTabDelegateFactory) { return; } if (!mTabsToSave.contains(tab) && tab.isTabStateDirty() && !isTabUrlContentScheme(tab)) { mTabsToSave.addLast(tab); } saveNextTab(); }
Example 2
Source File: TabPersistentStore.java From 365browser with Apache License 2.0 | 5 votes |
private void addTabToSaveQueueIfApplicable(Tab tab) { if (tab == null) return; if (mTabsToSave.contains(tab) || !tab.isTabStateDirty() || isTabUrlContentScheme(tab)) { return; } if (NewTabPage.isNTPUrl(tab.getUrl()) && !tab.canGoBack() && !tab.canGoForward()) { return; } mTabsToSave.addLast(tab); }
Example 3
Source File: TabPersistentStore.java From AndroidChromium with Apache License 2.0 | 4 votes |
public void addTabToSaveQueue(Tab tab) { if (!mTabsToSave.contains(tab) && tab.isTabStateDirty() && !isTabUrlContentScheme(tab)) { mTabsToSave.addLast(tab); } saveNextTab(); }