Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(844)

Unified Diff: chrome/browser/android/tab_android.h

Issue 2233023002: Adding BlimpNavigationController to Tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nav_handler_remove
Patch Set: Fixing unit tests Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/android/blimp/blimp_client_context_factory.cc ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/tab_android.h
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
index fddc5d7f90d589c86982bebd839876dc09ce4ed2..832d52db66a859c17837e074bdbf4a779df79e87 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -29,6 +29,12 @@ class GURL;
class Profile;
class SkBitmap;
+namespace blimp {
+namespace client {
+class BlimpContents;
+}
+}
+
namespace cc {
class Layer;
}
@@ -90,6 +96,11 @@ class TabAndroid : public CoreTabHelperDelegate,
// Return the WebContents, if any, currently owned by this TabAndroid.
content::WebContents* web_contents() const { return web_contents_.get(); }
+ // Return the BlimpContents, if any, currently owned by this TabAndroid.
+ blimp::client::BlimpContents* blimp_contents() const {
+ return blimp_contents_.get();
+ }
+
// Return the cc::Layer that represents the content for this TabAndroid.
scoped_refptr<cc::Layer> GetContentLayer() const;
@@ -165,6 +176,10 @@ class TabAndroid : public CoreTabHelperDelegate,
const base::android::JavaParamRef<jobject>& jweb_contents,
const base::android::JavaParamRef<jobject>& jweb_contents_delegate,
const base::android::JavaParamRef<jobject>& jcontext_menu_populator);
+ base::android::ScopedJavaLocalRef<jobject> InitBlimpContents(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj,
+ const base::android::JavaParamRef<jobject>& j_profile);
void UpdateDelegates(
JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj,
@@ -283,6 +298,8 @@ class TabAndroid : public CoreTabHelperDelegate,
std::unique_ptr<chrome::android::TabWebContentsDelegateAndroid>
web_contents_delegate_;
+ std::unique_ptr<blimp::client::BlimpContents> blimp_contents_;
+
std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
DISALLOW_COPY_AND_ASSIGN(TabAndroid);
« no previous file with comments | « chrome/browser/android/blimp/blimp_client_context_factory.cc ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698