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

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

Issue 2317333002: Refactor EventHandler out of RenderWidgetHostViewAura (Closed)
Patch Set: Docs and Windows compile Created 4 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
Index: content/browser/renderer_host/render_widget_host_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index b68718d872502f57fcabdd9e55142c91f4b3377d..c53fcf1280799975f0662c6932b3aaca365a016b 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -397,16 +397,6 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
void AddObserver(RenderWidgetHostViewBaseObserver* observer);
void RemoveObserver(RenderWidgetHostViewBaseObserver* observer);
- // Exposed for testing.
- virtual bool IsChildFrameForTesting() const;
- virtual cc::SurfaceId SurfaceIdForTesting() const;
-
- protected:
- // Interface class only, do not construct.
- RenderWidgetHostViewBase();
-
- void NotifyObserversAboutShutdown();
-
// Returns a reference to the current instance of TextInputManager. The
// reference is obtained from RenderWidgetHostDelegate. The first time a non-
// null reference is obtained, its value is cached in |text_input_manager_|
@@ -419,6 +409,21 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
// |text_input_manager_|.
TextInputManager* GetTextInputManager();
+ bool is_fullscreen() { return is_fullscreen_; }
+
+ // Exposed for testing.
+ virtual bool IsChildFrameForTesting() const;
+ virtual cc::SurfaceId SurfaceIdForTesting() const;
+
+ protected:
+ // Interface class only, do not construct.
+ RenderWidgetHostViewBase();
+
+ void NotifyObserversAboutShutdown();
+
+ // Is this a fullscreen view?
+ bool is_fullscreen_;
tdresser 2016/09/23 13:54:09 Why did is_fullscreen move here? (Not looking for
jonross 2016/10/05 15:37:57 The concept of a RWHVB being fullscreen was alread
+
// Whether this view is a popup and what kind of popup it is (select,
// autofill...).
blink::WebPopupType popup_type_;
@@ -458,10 +463,6 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
// The orientation of the display the renderer is currently on.
display::Display::Rotation current_display_rotation_;
- // Whether pinch-to-zoom should be enabled and pinch events forwarded to the
- // renderer.
- bool pinch_zoom_enabled_;
-
// A reference to current TextInputManager instance this RWHV is registered
// with. This is initially nullptr until the first time the view calls
// GetTextInputManager(). It also becomes nullptr when TextInputManager is

Powered by Google App Engine
This is Rietveld 408576698