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

Unified Diff: blimp/client/public/blimp_client_context.h

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/public/blimp_client_context.h
diff --git a/blimp/client/public/blimp_client_context.h b/blimp/client/public/blimp_client_context.h
index 52573d3a726e438e4bc4b0ffa1083320b5237447..50b4b69bd2f511e8e63121d53f8f48c481fbe2d7 100644
--- a/blimp/client/public/blimp_client_context.h
+++ b/blimp/client/public/blimp_client_context.h
@@ -13,6 +13,7 @@
#include "blimp/client/public/blimp_client_context_delegate.h"
#include "blimp/client/public/contents/blimp_contents.h"
#include "components/keyed_service/core/keyed_service.h"
+#include "ui/gfx/native_widget_types.h"
#if defined(OS_ANDROID)
#include "base/android/jni_android.h"
@@ -51,8 +52,9 @@ class BlimpClientContext : public KeyedService {
// The delegate provides all the required functionality from the embedder.
virtual void SetDelegate(BlimpClientContextDelegate* delegate) = 0;
- // Creates a new BlimpContents.
- virtual std::unique_ptr<BlimpContents> CreateBlimpContents() = 0;
+ // Creates a new BlimpContents that will be shown in |window|.
+ virtual std::unique_ptr<BlimpContents> CreateBlimpContents(
+ gfx::NativeWindow window) = 0;
// Start authentication flow and connection to engine.
virtual void Connect() = 0;

Powered by Google App Engine
This is Rietveld 408576698