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

Unified Diff: ash/rotator/screen_rotation_animator.h

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 years 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/rotator/screen_rotation_animation.h ('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 d57a85e7ae37db7139ae09261778dc074a2cecd8..179d0bea6c25b6a0280e0e1f6993779b4056f03b 100644
--- a/ash/rotator/screen_rotation_animator.h
+++ b/ash/rotator/screen_rotation_animator.h
@@ -5,8 +5,10 @@
#ifndef ASH_ROTATOR_SCREEN_ROTATION_ANIMATOR_H_
#define ASH_ROTATOR_SCREEN_ROTATION_ANIMATOR_H_
+#include <stdint.h>
+
#include "ash/ash_export.h"
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "ui/gfx/display.h"
namespace ash {
@@ -14,7 +16,7 @@ namespace ash {
// Utility to perform a screen rotation with an animation.
class ASH_EXPORT ScreenRotationAnimator {
public:
- explicit ScreenRotationAnimator(int64 display_id);
+ explicit ScreenRotationAnimator(int64_t display_id);
~ScreenRotationAnimator();
// Returns true if the screen rotation animation can be completed
@@ -31,7 +33,7 @@ class ASH_EXPORT ScreenRotationAnimator {
private:
// The id of the display to rotate.
- int64 display_id_;
+ int64_t display_id_;
DISALLOW_COPY_AND_ASSIGN(ScreenRotationAnimator);
};
« no previous file with comments | « ash/rotator/screen_rotation_animation.h ('k') | ash/rotator/screen_rotation_animator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698