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

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

Issue 2317333002: Refactor EventHandler out of RenderWidgetHostViewAura (Closed)
Patch Set: Fix Windows Created 4 years, 2 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 b556e1cdec81a2b1e161f32525d3743b2aa1351a..ce60e771273c9431ac86f9af584a7366e53c6b00 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -416,16 +416,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_|
@@ -438,6 +428,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_;
+
// Whether this view is a popup and what kind of popup it is (select,
// autofill...).
blink::WebPopupType popup_type_;
@@ -477,10 +482,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