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

Unified Diff: blimp/client/app/android/blimp_view.cc

Issue 2325893002: [blimp] Add support for having multiple tabs (Closed)
Patch Set: Add tablet and non-blimp support Created 4 years, 3 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 | « no previous file | blimp/client/app/linux/blimp_display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/app/android/blimp_view.cc
diff --git a/blimp/client/app/android/blimp_view.cc b/blimp/client/app/android/blimp_view.cc
index 32ed533ef151523e5c6d2c0688f37d6b1aaec571..325fb248573cbab50f9397fc64b61e52035c53c3 100644
--- a/blimp/client/app/android/blimp_view.cc
+++ b/blimp/client/app/android/blimp_view.cc
@@ -19,6 +19,10 @@
using base::android::JavaParamRef;
+namespace {
+const int kDummyBlimpContentsId = 0;
+} // namespace
+
namespace blimp {
namespace client {
namespace app {
@@ -68,7 +72,8 @@ BlimpView::BlimpView(JNIEnv* env,
&BlimpView::OnSwapBuffersCompleted, weak_ptr_factory_.GetWeakPtr()));
compositor_manager_ = base::MakeUnique<BlimpCompositorManager>(
- render_widget_feature, compositor_dependencies_.get());
+ kDummyBlimpContentsId, render_widget_feature,
+ compositor_dependencies_.get());
compositor_->SetContentLayer(compositor_manager_->layer());
java_obj_.Reset(env, jobj);
« no previous file with comments | « no previous file | blimp/client/app/linux/blimp_display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698