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

Unified Diff: ash/display/display_change_observer_chromeos.h

Issue 2196923002: Make ash::DisplayMode more like ui::DisplayMode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 4 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: 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 8d7e1d97866c7173f74c3e037fc75df9d6976de0..4141e6450f952fa057495df4164ddb85dd3bb6cc 100644
--- a/ash/display/display_change_observer_chromeos.h
+++ b/ash/display/display_change_observer_chromeos.h
@@ -10,6 +10,7 @@
#include <vector>
#include "ash/ash_export.h"
+#include "ash/common/display/display_info.h"
#include "ash/common/shell_observer.h"
#include "base/macros.h"
#include "ui/display/chromeos/display_configurator.h"
@@ -17,8 +18,7 @@
namespace ash {
-class DisplayInfo;
-struct DisplayMode;
+class DisplayMode;
class DisplaySnapshot;
// An object that observes changes in display configuration and
@@ -29,12 +29,12 @@ class DisplayChangeObserver : public ui::DisplayConfigurator::StateController,
public ShellObserver {
public:
// Returns the mode list for internal display.
- ASH_EXPORT static std::vector<DisplayMode> GetInternalDisplayModeList(
+ ASH_EXPORT static DisplayInfo::DisplayModeList GetInternalDisplayModeList(
const DisplayInfo& display_info,
const ui::DisplaySnapshot& output);
// Returns the resolution list.
- ASH_EXPORT static std::vector<DisplayMode> GetExternalDisplayModeList(
+ ASH_EXPORT static DisplayInfo::DisplayModeList GetExternalDisplayModeList(
const ui::DisplaySnapshot& output);
DisplayChangeObserver();

Powered by Google App Engine
This is Rietveld 408576698