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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 2122403002: Android: Extend ViewAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Extend ViewAndroid Created 4 years, 5 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: content/browser/renderer_host/render_widget_host_view_android.h
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h
index eab7d120fe5d567f6b029a164d294537364cd2c6..ae0f8d52675032ff1a3daf344e87140f3a0da39a 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -33,6 +33,7 @@
#include "content/public/browser/readback_types.h"
#include "gpu/command_buffer/common/mailbox.h"
#include "third_party/skia/include/core/SkColor.h"
+#include "ui/android/view_android.h"
#include "ui/android/window_android_observer.h"
#include "ui/events/gesture_detection/filtered_gesture_provider.h"
#include "ui/gfx/geometry/size.h"
@@ -341,7 +342,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
// Body background color of the underlying document.
SkColor cached_background_color_;
- scoped_refptr<cc::Layer> layer_;
+ mutable ui::ViewAndroid view_;
Yusuf 2016/07/08 16:35:05 Where do we initialize this? and also in destroy s
no sievers 2016/07/08 18:29:04 We set the |view_|'s layer still at the same time
std::unique_ptr<cc::SurfaceIdAllocator> id_allocator_;
std::unique_ptr<cc::SurfaceFactory> surface_factory_;

Powered by Google App Engine
This is Rietveld 408576698