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

Unified Diff: blimp/client/core/contents/blimp_contents_view_android.h

Issue 2279403003: blimp: Hook up the layer holding the tab content into Chrome. (Closed)
Patch Set: Addressed comments 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_view_android.h
diff --git a/blimp/client/core/contents/blimp_contents_view_android.h b/blimp/client/core/contents/blimp_contents_view_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..4feaad59034233d4f319999f3d1546bb27154c51
--- /dev/null
+++ b/blimp/client/core/contents/blimp_contents_view_android.h
@@ -0,0 +1,32 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_ANDROID_H_
+#define BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_ANDROID_H_
+
+#include "base/macros.h"
+#include "blimp/client/core/contents/blimp_contents_view.h"
+#include "ui/android/view_android.h"
+
+namespace blimp {
+namespace client {
+class BlimpContentsImplAndroid;
+
+class BlimpContentsViewAndroid : public BlimpContentsView {
+ public:
+ explicit BlimpContentsViewAndroid(BlimpContentsImplAndroid* blimp_contents);
+
+ // BlimpContentsView implementation.
+ gfx::NativeView GetNativeView() override;
+
+ private:
+ ui::ViewAndroid view_;
+
+ DISALLOW_COPY_AND_ASSIGN(BlimpContentsViewAndroid);
+};
+
+} // namespace client
+} // namespace blimp
+
+#endif // BLIMP_CLIENT_CORE_CONTENTS_BLIMP_CONTENTS_VIEW_ANDROID_H_
« no previous file with comments | « blimp/client/core/contents/blimp_contents_view.h ('k') | blimp/client/core/contents/blimp_contents_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698