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

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

Issue 2683823002: Disable DateTime, Color, and Select popups when in VR (Closed)
Patch Set: reformat todo's Created 3 years, 10 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 b7e0cda7766034cfe42ee7698329d66fe6aefed0..3dad72b16a5defd049308cab8a8dcbfc50e5bd9b 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -98,6 +98,7 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
bool IsShowingContextMenu() const override;
void SetShowingContextMenu(bool showing_menu) override;
void SetIsInVR(bool is_in_vr) override;
+ bool IsInVR() const override;
base::string16 GetSelectedText() override;
bool IsMouseLocked() override;
gfx::Size GetVisibleViewportSize() const override;
@@ -287,9 +288,6 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
// need to also be resolved.
virtual bool IsRenderWidgetHostViewChildFrame();
- // Returns true if the current view is in virtual reality mode.
- virtual bool IsInVR() const;
-
//----------------------------------------------------------------------------
// The following methods are related to IME.
// TODO(ekaramad): Most of the IME methods should not stay virtual after IME

Powered by Google App Engine
This is Rietveld 408576698