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 5e25a02bf003c817e59f9a487d40a38cdff37e56..ff04663a62b6e103eb4f9dc14167f704db9110c5 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_base.h |
+++ b/content/browser/renderer_host/render_widget_host_view_base.h |
@@ -406,16 +406,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_| |
@@ -428,6 +418,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_; |
@@ -467,10 +472,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 |