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

Unified Diff: ash/display/display_change_observer_chromeos.h

Issue 417113012: Introduce user customization of external HighDPI mode for 4K monitor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 5 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_change_observer_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_change_observer_chromeos.h
diff --git a/ash/display/display_change_observer_chromeos.h b/ash/display/display_change_observer_chromeos.h
index deef25b36b6b70e42819c91ee8bcf30615621900..346f35de45311ffc544fbcd2ad3946ef8b0b9c61 100644
--- a/ash/display/display_change_observer_chromeos.h
+++ b/ash/display/display_change_observer_chromeos.h
@@ -12,6 +12,7 @@
namespace ash {
+class DisplayInfo;
struct DisplayMode;
// An object that observes changes in display configuration and
@@ -20,8 +21,13 @@ class DisplayChangeObserver : public ui::DisplayConfigurator::StateController,
public ui::DisplayConfigurator::Observer,
public ShellObserver {
public:
+ // Returns the mode list for internal display.
+ ASH_EXPORT static std::vector<DisplayMode> GetInternalDisplayModeList(
+ const DisplayInfo& display_info,
+ const ui::DisplayConfigurator::DisplayState& output);
+
// Returns the resolution list.
- ASH_EXPORT static std::vector<DisplayMode> GetDisplayModeList(
+ ASH_EXPORT static std::vector<DisplayMode> GetExternalDisplayModeList(
const ui::DisplayConfigurator::DisplayState& output);
DisplayChangeObserver();
« no previous file with comments | « no previous file | ash/display/display_change_observer_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698