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

Unified Diff: content/public/common/screen_info.h

Issue 2439543003: Do not use overlays when VR shell is enabled. (Closed)
Patch Set: 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/public/common/screen_info.h
diff --git a/content/public/common/screen_info.h b/content/public/common/screen_info.h
index b758fed561b4c0562967ab437ab7a3655ebe1f3f..1796752be45c512884525943e481771ef6d19b5a 100644
--- a/content/public/common/screen_info.h
+++ b/content/public/common/screen_info.h
@@ -36,6 +36,9 @@ struct CONTENT_EXPORT ScreenInfo {
// This can be true for black and white printers
bool is_monochrome = false;
+ // This is true when display is a virtual display.
+ bool in_vr = false;
+
// The display monitor rectangle in virtual-screen coordinates. Note that
// this may be negative.
gfx::Rect rect;

Powered by Google App Engine
This is Rietveld 408576698