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

Unified Diff: content/browser/web_contents/web_contents_view_android.h

Issue 2453213003: Have WebContentsViewAndroid own ViewAndroid (Closed)
Patch Set: fixed builds & rebased Created 4 years, 1 month 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: content/browser/web_contents/web_contents_view_android.h
diff --git a/content/browser/web_contents/web_contents_view_android.h b/content/browser/web_contents/web_contents_view_android.h
index 771047b97eef9f91630804a2f8779515ba66374e..bd2c52dce6596a14c1baf07826b257f9b5192d0b 100644
--- a/content/browser/web_contents/web_contents_view_android.h
+++ b/content/browser/web_contents/web_contents_view_android.h
@@ -13,6 +13,7 @@
#include "content/public/browser/web_contents_view_delegate.h"
#include "content/public/common/context_menu_params.h"
#include "content/public/common/drop_data.h"
+#include "ui/android/view_android.h"
#include "ui/gfx/geometry/rect_f.h"
namespace content {
@@ -99,6 +100,9 @@ class WebContentsViewAndroid : public WebContentsView,
// Interface for extensions to WebContentsView. Used to show the context menu.
std::unique_ptr<WebContentsViewDelegate> delegate_;
+ // The native view associated with the contents of the web.
+ ui::ViewAndroid view_;
+
DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid);
};

Powered by Google App Engine
This is Rietveld 408576698