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

Unified Diff: ash/display/resolution_notification_controller.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: polish 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
Index: ash/display/resolution_notification_controller.h
diff --git a/ash/display/resolution_notification_controller.h b/ash/display/resolution_notification_controller.h
index 9fe402650177143a4d426275679adaafadcb51ea..fe3aa58c5a78d8c8430d7c46970a4999de916b67 100644
--- a/ash/display/resolution_notification_controller.h
+++ b/ash/display/resolution_notification_controller.h
@@ -24,6 +24,8 @@ class Widget;
namespace ash {
+struct DisplayMode;
+
// A class which manages the notification of display resolution change and
// also manages the timeout in case the new resolution is unusable.
class ASH_EXPORT ResolutionNotificationController
@@ -41,8 +43,8 @@ class ASH_EXPORT ResolutionNotificationController
// changes if something goes wrong.
void SetDisplayResolutionAndNotify(
int64 display_id,
- const gfx::Size& old_resolution,
- const gfx::Size& new_resolution,
+ const ash::DisplayMode& old_resolution,
+ const ash::DisplayMode& new_resolution,
oshima 2014/07/30 02:09:45 remove ash::
Jun Mukai 2014/07/30 02:18:31 Done.
const base::Closure& accept_callback);
// Returns true if the notification is visible or scheduled to be visible and

Powered by Google App Engine
This is Rietveld 408576698