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

Unified Diff: ash/rotator/screen_rotation_animator.h

Issue 1924703002: Rename gfx::Display/Screen to display::Display/Screen in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « ash/root_window_settings.cc ('k') | ash/rotator/screen_rotation_animator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/rotator/screen_rotation_animator.h
diff --git a/ash/rotator/screen_rotation_animator.h b/ash/rotator/screen_rotation_animator.h
index 179d0bea6c25b6a0280e0e1f6993779b4056f03b..f5b25d69298505c1d7d3d14e4ecb3631b1cb791d 100644
--- a/ash/rotator/screen_rotation_animator.h
+++ b/ash/rotator/screen_rotation_animator.h
@@ -9,7 +9,7 @@
#include "ash/ash_export.h"
#include "base/macros.h"
-#include "ui/gfx/display.h"
+#include "ui/display/display.h"
namespace ash {
@@ -21,15 +21,16 @@ class ASH_EXPORT ScreenRotationAnimator {
// Returns true if the screen rotation animation can be completed
// successfully. For example an animation is not possible if |display_id_|
- // specifies a gfx::Display that is not currently active. See
+ // specifies a display::Display that is not currently active. See
// www.crbug.com/479503.
bool CanAnimate() const;
- // Rotates the gfx::Display specified by |display_id_| to the |new_rotation|
+ // Rotates the display::Display specified by |display_id_| to the
+ // |new_rotation|
// orientation, for the given |source|. The rotation will also become active.
// Clients should only call |Rotate()| if |CanAnimate()| returns true.
- void Rotate(gfx::Display::Rotation new_rotation,
- gfx::Display::RotationSource source);
+ void Rotate(display::Display::Rotation new_rotation,
+ display::Display::RotationSource source);
private:
// The id of the display to rotate.
« no previous file with comments | « ash/root_window_settings.cc ('k') | ash/rotator/screen_rotation_animator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698