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

Unified Diff: ui/gfx/display.h

Issue 12217120: Add IsInternal property to gfx::Display (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Get rid of static initializer Created 7 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
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/display_options_handler.cc ('k') | ui/gfx/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/display.h
diff --git a/ui/gfx/display.h b/ui/gfx/display.h
index 8b3f346902b7b9501fd2acf3ca7d662486c2c95c..4df69b7d500541f2676e0aeef642bec8b7e82080 100644
--- a/ui/gfx/display.h
+++ b/ui/gfx/display.h
@@ -101,6 +101,13 @@ class UI_EXPORT Display {
// True if the display contains valid display id.
bool is_valid() const { return id_ != kInvalidDisplayID; }
+ // True if the display corresponds to internal panel.
+ bool IsInternal() const;
+
+ // Gets/Sets an id of display corresponding to internal panel.
+ static int64 InternalDisplayId();
+ static void SetInternalDisplayId(int64 internal_display_id);
+
static const int64 kInvalidDisplayID;
private:
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/display_options_handler.cc ('k') | ui/gfx/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698