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

Unified Diff: ash/display/display_info.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/display/display_error_observer_chromeos.h ('k') | ash/display/display_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_info.h
diff --git a/ash/display/display_info.h b/ash/display/display_info.h
index 57cd18a26c6b1a9da3706837ba3d076dfdfe73ab..8eab3e202de805d8e669edfcf66ea9bf7553be04 100644
--- a/ash/display/display_info.h
+++ b/ash/display/display_info.h
@@ -5,6 +5,8 @@
#ifndef ASH_DISPLAY_DISPLAY_INFO_H_
#define ASH_DISPLAY_DISPLAY_INFO_H_
+#include <stdint.h>
+
#include <map>
#include <string>
#include <vector>
@@ -83,8 +85,7 @@ class ASH_EXPORT DisplayInfo {
static DisplayInfo CreateFromSpec(const std::string& spec);
// Creates a DisplayInfo from string spec using given |id|.
- static DisplayInfo CreateFromSpecWithID(const std::string& spec,
- int64 id);
+ static DisplayInfo CreateFromSpecWithID(const std::string& spec, int64_t id);
// When this is set to true on the device whose internal display has
// 1.25 dsf, Chrome uses 1.0f as a default scale factor, and uses
@@ -92,10 +93,10 @@ class ASH_EXPORT DisplayInfo {
static void SetUse125DSFForUIScalingForTest(bool enable);
DisplayInfo();
- DisplayInfo(int64 id, const std::string& name, bool has_overscan);
+ DisplayInfo(int64_t id, const std::string& name, bool has_overscan);
~DisplayInfo();
- int64 id() const { return id_; }
+ int64_t id() const { return id_; }
// The name of the display.
const std::string& name() const { return name_; }
@@ -247,7 +248,7 @@ class ASH_EXPORT DisplayInfo {
// SetUse125DSFForUIScaling(true) is called and this is the internal display.
bool Use125DSFForUIScaling() const;
- int64 id_;
+ int64_t id_;
std::string name_;
bool has_overscan_;
std::map<gfx::Display::RotationSource, gfx::Display::Rotation> rotations_;
« no previous file with comments | « ash/display/display_error_observer_chromeos.h ('k') | ash/display/display_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698