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

Unified Diff: content/plugin/plugin_interpose_util_mac.mm

Issue 1544273002: Switch to standard integer types in content/. (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 | « content/plugin/plugin_channel.cc ('k') | content/plugin/plugin_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_interpose_util_mac.mm
diff --git a/content/plugin/plugin_interpose_util_mac.mm b/content/plugin/plugin_interpose_util_mac.mm
index b9265c3567f19bf9d8e08cfd6ec8c601244ac763..678fea294fe8b73a7afffe689dd60a6ae04a651d 100644
--- a/content/plugin/plugin_interpose_util_mac.mm
+++ b/content/plugin/plugin_interpose_util_mac.mm
@@ -6,6 +6,7 @@
#import <AppKit/AppKit.h>
#import <objc/runtime.h>
+#include <stdint.h>
#include "content/child/npapi/webplugin_delegate_impl.h"
#include "content/common/plugin_process_messages.h"
@@ -32,7 +33,8 @@ void SwitchToPluginProcess() {
// Sends a message to the browser process to inform it that the given window
// has been shown.
-void NotifyBrowserOfPluginShowWindow(uint32 window_id, CGRect bounds,
+void NotifyBrowserOfPluginShowWindow(uint32_t window_id,
+ CGRect bounds,
bool modal) {
PluginThread* plugin_thread = PluginThread::current();
if (plugin_thread) {
@@ -46,7 +48,7 @@ void NotifyBrowserOfPluginShowWindow(uint32 window_id, CGRect bounds,
// Sends a message to the browser process to inform it that the given window
// has been hidden, and switches focus back to the browser process if there are
// no remaining plugin windows.
-void NotifyBrowserOfPluginHideWindow(uint32 window_id, CGRect bounds) {
+void NotifyBrowserOfPluginHideWindow(uint32_t window_id, CGRect bounds) {
PluginThread* plugin_thread = PluginThread::current();
if (plugin_thread) {
gfx::Rect window_bounds(bounds);
@@ -65,7 +67,7 @@ void NotifyPluginOfSetCursorVisibility(bool visibility) {
}
struct WindowInfo {
- uint32 window_id;
+ uint32_t window_id;
CGRect bounds;
WindowInfo(NSWindow* window) {
NSInteger window_num = [window windowNumber];
« no previous file with comments | « content/plugin/plugin_channel.cc ('k') | content/plugin/plugin_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698