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

Unified Diff: blimp/client/core/blimp_client_context_impl.cc

Issue 2270323004: Add BlimpView to a Chrome tab when Blimp is enabled. (Closed)
Patch Set: Now owned by BlimpContentsViewAndroid and also implemented touch and sizing 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
Index: blimp/client/core/blimp_client_context_impl.cc
diff --git a/blimp/client/core/blimp_client_context_impl.cc b/blimp/client/core/blimp_client_context_impl.cc
index 4ebebde648c30cfb8a3c03536604343eb4b982d8..6bdf85eaffe0a0639d4af0f8ad15fa3ff6d3d637 100644
--- a/blimp/client/core/blimp_client_context_impl.cc
+++ b/blimp/client/core/blimp_client_context_impl.cc
@@ -15,6 +15,7 @@
#include "blimp/client/core/contents/tab_control_feature.h"
#include "blimp/client/core/session/cross_thread_network_event_observer.h"
#include "blimp/client/public/blimp_client_context_delegate.h"
+#include "ui/gfx/native_widget_types.h"
#if defined(OS_ANDROID)
#include "blimp/client/core/android/blimp_client_context_impl_android.h"
@@ -85,9 +86,10 @@ void BlimpClientContextImpl::SetDelegate(BlimpClientContextDelegate* delegate) {
delegate_ = delegate;
}
-std::unique_ptr<BlimpContents> BlimpClientContextImpl::CreateBlimpContents() {
+std::unique_ptr<BlimpContents> BlimpClientContextImpl::CreateBlimpContents(
+ gfx::NativeWindow window) {
std::unique_ptr<BlimpContents> blimp_contents =
- blimp_contents_manager_->CreateBlimpContents();
+ blimp_contents_manager_->CreateBlimpContents(window);
delegate_->AttachBlimpContentsHelpers(blimp_contents.get());
return blimp_contents;
}

Powered by Google App Engine
This is Rietveld 408576698