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

Unified Diff: components/html_viewer/html_frame.h

Issue 1373003002: html_viewer/Mandoline: Avoid subclassing WebLayerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 5 years, 3 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
« no previous file with comments | « components/html_viewer/BUILD.gn ('k') | components/html_viewer/html_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/html_frame.h
diff --git a/components/html_viewer/html_frame.h b/components/html_viewer/html_frame.h
index 4f7de6ca4da92227f741423ccc40be372bdc2a2c..644160570d1e29395ce3d906541da0e02e5947e2 100644
--- a/components/html_viewer/html_frame.h
+++ b/components/html_viewer/html_frame.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
+#include "cc/layers/surface_layer.h"
#include "components/html_viewer/html_frame_tree_manager.h"
#include "components/html_viewer/replicated_frame_state.h"
#include "components/mus/public/cpp/view_observer.h"
@@ -288,7 +289,7 @@ class HTMLFrame : public blink::WebFrameClient,
virtual void navigate(const blink::WebURLRequest& request,
bool should_replace_current_entry);
virtual void reload(bool ignore_cache, bool is_client_redirect);
- virtual void forwardInputEvent(const blink::WebInputEvent* event);
+ virtual void frameRectsChanged(const blink::WebRect& frame_rect);
HTMLFrameTreeManager* frame_tree_manager_;
HTMLFrame* parent_;
@@ -305,6 +306,7 @@ class HTMLFrame : public blink::WebFrameClient,
scoped_ptr<TouchHandler> touch_handler_;
scoped_ptr<cc_blink::WebLayerImpl> web_layer_;
+ scoped_refptr<cc::SurfaceLayer> surface_layer_;
HTMLFrameDelegate* delegate_;
scoped_ptr<mojo::Binding<web_view::mojom::FrameClient>> frame_client_binding_;
« no previous file with comments | « components/html_viewer/BUILD.gn ('k') | components/html_viewer/html_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698