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

Unified Diff: blimp/client/core/contents/blimp_contents_manager.cc

Issue 2270323004: Add BlimpView to a Chrome tab when Blimp is enabled. (Closed)
Patch Set: Magic now happens 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/contents/blimp_contents_manager.cc
diff --git a/blimp/client/core/contents/blimp_contents_manager.cc b/blimp/client/core/contents/blimp_contents_manager.cc
index e93a018e574ce3eb0f6430315bade477052fe9d1..726eba84d9cf28a558dc4444e92502869d5a191f 100644
--- a/blimp/client/core/contents/blimp_contents_manager.cc
+++ b/blimp/client/core/contents/blimp_contents_manager.cc
@@ -55,12 +55,13 @@ BlimpContentsManager::BlimpContentsManager(
BlimpContentsManager::~BlimpContentsManager() {}
-std::unique_ptr<BlimpContentsImpl> BlimpContentsManager::CreateBlimpContents() {
+std::unique_ptr<BlimpContentsImpl> BlimpContentsManager::CreateBlimpContents(
+ gfx::NativeWindow window) {
int id = CreateBlimpContentsId();
std::unique_ptr<BlimpContentsImpl> new_contents =
- base::MakeUnique<BlimpContentsImpl>(id, ime_feature_, navigation_feature_,
- tab_control_feature_);
+ base::MakeUnique<BlimpContentsImpl>(
+ id, window, ime_feature_, navigation_feature_, tab_control_feature_);
// Create an observer entry for the contents.
std::unique_ptr<BlimpContentsDeletionObserver> observer =

Powered by Google App Engine
This is Rietveld 408576698