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

Unified Diff: ui/gfx/native_widget_types.h

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ui/gfx/native_pixmap_handle_ozone.h ('k') | ui/gfx/nine_image_painter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_widget_types.h
diff --git a/ui/gfx/native_widget_types.h b/ui/gfx/native_widget_types.h
index b39ab51a2da848ba2d586ba0926a276866811390..8297630216ceeb857ceb13aa6282f585614f861d 100644
--- a/ui/gfx/native_widget_types.h
+++ b/ui/gfx/native_widget_types.h
@@ -5,16 +5,16 @@
#ifndef UI_GFX_NATIVE_WIDGET_TYPES_H_
#define UI_GFX_NATIVE_WIDGET_TYPES_H_
+#include <stdint.h>
+
+#include "base/logging.h"
#include "build/build_config.h"
+#include "ui/gfx/gfx_export.h"
#if defined(OS_ANDROID)
#include <jni.h>
#endif
-#include "base/basictypes.h"
-#include "base/logging.h"
-#include "ui/gfx/gfx_export.h"
-
// This file provides cross platform typedefs for native widget types.
// NativeWindow: this is a handle to a native, top-level window
// NativeView: this is a handle to a native UI element. It may be the
@@ -203,13 +203,13 @@ typedef intptr_t NativeViewId;
typedef unsigned long PluginWindowHandle;
const PluginWindowHandle kNullPluginWindow = 0;
#elif defined(OS_ANDROID)
- typedef uint32 PluginWindowHandle;
+ typedef uint32_t PluginWindowHandle;
const PluginWindowHandle kNullPluginWindow = 0;
#elif defined(USE_OZONE)
typedef intptr_t PluginWindowHandle;
const PluginWindowHandle kNullPluginWindow = 0;
#else
- typedef uint32 PluginWindowHandle;
+ typedef uint32_t PluginWindowHandle;
const PluginWindowHandle kNullPluginWindow = 0;
#endif
« no previous file with comments | « ui/gfx/native_pixmap_handle_ozone.h ('k') | ui/gfx/nine_image_painter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698