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

Unified Diff: ash/display/display_manager.h

Issue 11818008: Automatically set the overscan insets if the output has the flag and no preference is set. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « no previous file | ash/display/display_manager.cc » ('j') | ash/display/display_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_manager.h
diff --git a/ash/display/display_manager.h b/ash/display/display_manager.h
index 292da15f898c56cde0745166b1aa001a83f3c70d..736aa8c4052484c940e7a812ae8a4d07eea7ac7b 100644
--- a/ash/display/display_manager.h
+++ b/ash/display/display_manager.h
@@ -141,6 +141,16 @@ class ASH_EXPORT DisplayManager : public aura::RootWindowObserver {
// The overscan insets for the display.
gfx::Insets overscan_insets_in_dip;
+
+ // True if the output overscans. False means unknown, it may or may not
+ // overscan.
oshima 2013/01/12 02:06:38 True if we detect that the display has overscan ar
Jun Mukai 2013/01/14 18:18:51 Done.
+ bool overscan;
oshima 2013/01/12 02:06:38 has_overscan ? (according to http://en.wikipedia.
Jun Mukai 2013/01/14 18:18:51 done. # sometimes 'overscan' is used as verb, whic
+
+ // True if the |overscan_insets_in_dip| is specified. This is set because
+ // the user may specify an empty intentionally.
+ bool overscan_insets_specified;
oshima 2013/01/12 02:06:38 custom_overscan_insets ?
Jun Mukai 2013/01/14 18:18:51 done. has_custom_overscan_insets for consistency.
+
+ DisplayInfo();
oshima 2013/01/12 02:06:38 move this to top
Jun Mukai 2013/01/14 18:18:51 Done.
};
void Init();
@@ -162,8 +172,8 @@ class ASH_EXPORT DisplayManager : public aura::RootWindowObserver {
// the center of the nearest display if it's outside of all displays.
void EnsurePointerInDisplays();
- // Updates |display_names_| by calling platform-dependent functions.
- void RefreshDisplayNames();
+ // Updates |display_info_| by calling platform-dependent functions.
+ void RefreshDisplayInfo();
// Update the display's id in the |display_list| to match the ones
// stored in this display manager's |displays_|. This is used to
« no previous file with comments | « no previous file | ash/display/display_manager.cc » ('j') | ash/display/display_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698