diff options
Diffstat (limited to 'chrome/browser/android/tab_android.h')
-rw-r--r-- | chrome/browser/android/tab_android.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h index 71c5745..2ef531f 100644 --- a/chrome/browser/android/tab_android.h +++ b/chrome/browser/android/tab_android.h @@ -57,8 +57,15 @@ class TabAndroid : public CoreTabHelperDelegate, // Return specific id information regarding this TabAndroid. const SessionID& session_id() const { return session_tab_id_; } int GetAndroidId() const; - // TODO(kaznacheev) Remove when there are no more downstream usages. - int android_id() const { return GetAndroidId(); } + + // Return the tab title. + string16 GetTitle() const; + + // Return the tab url. + GURL GetURL() const; + + // Restore the tab if it was unloaded from memory. + bool RestoreIfNeeded(); // Helper methods to make it easier to access objects from the associated // WebContents. Can return NULL. @@ -117,13 +124,6 @@ class TabAndroid : public CoreTabHelperDelegate, // Methods called from Java via JNI ----------------------------------------- - // TODO(kaznacheev) Remove when there are no more downstream usages. - virtual void InitWebContents(JNIEnv* env, - jobject obj, - jint tab_id, - jboolean incognito, - jobject jcontent_view_core, - jobject jweb_contents_delegate); virtual void InitWebContents(JNIEnv* env, jobject obj, jboolean incognito, |