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

Unified Diff: ash/test/display_manager_test_api.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/test/cursor_manager_test_api.h ('k') | ash/test/display_manager_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/display_manager_test_api.h
diff --git a/ash/test/display_manager_test_api.h b/ash/test/display_manager_test_api.h
index 4bb070d438d581e5720c0ed9c53b17f1af399b53..d3c19ff59807744bad87f9c654d1609adf72284a 100644
--- a/ash/test/display_manager_test_api.h
+++ b/ash/test/display_manager_test_api.h
@@ -5,10 +5,12 @@
#ifndef ASH_TEST_DISPLAY_MANAGER_TEST_API_H_
#define ASH_TEST_DISPLAY_MANAGER_TEST_API_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "ui/display/types/display_constants.h"
namespace gfx {
@@ -45,21 +47,21 @@ class DisplayManagerTestApi {
// Set the 1st display as an internal display and returns the display Id for
// the internal display.
- int64 SetFirstDisplayAsInternalDisplay();
+ int64_t SetFirstDisplayAsInternalDisplay();
// Don't update the display when the root window's size was changed.
void DisableChangeDisplayUponHostResize();
// Sets the available color profiles for |display_id|.
void SetAvailableColorProfiles(
- int64 display_id,
+ int64_t display_id,
const std::vector<ui::ColorCalibrationProfile>& profiles);
private:
friend class ScopedSetInternalDisplayId;
// Sets the display id for internal display and
// update the display mode list if necessary.
- void SetInternalDisplayId(int64 id);
+ void SetInternalDisplayId(int64_t id);
DisplayManager* display_manager_; // not owned
@@ -77,7 +79,7 @@ class ScopedDisable125DSFForUIScaling {
class ScopedSetInternalDisplayId {
public:
- ScopedSetInternalDisplayId(int64 id);
+ ScopedSetInternalDisplayId(int64_t id);
~ScopedSetInternalDisplayId();
private:
@@ -85,7 +87,7 @@ class ScopedSetInternalDisplayId {
};
// Sets the display mode that matches the |resolution| for |display_id|.
-bool SetDisplayResolution(int64 display_id, const gfx::Size& resolution);
+bool SetDisplayResolution(int64_t display_id, const gfx::Size& resolution);
} // namespace test
} // namespace ash
« no previous file with comments | « ash/test/cursor_manager_test_api.h ('k') | ash/test/display_manager_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698