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

Side by Side Diff: chrome/renderer/pepper/pepper_flash_menu_host.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/renderer/pepper/pepper_flash_menu_host.h" 5 #include "chrome/renderer/pepper/pepper_flash_menu_host.h"
6 6
7 #include <stddef.h>
8
7 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
8 #include "content/public/common/context_menu_params.h" 10 #include "content/public/common/context_menu_params.h"
9 #include "content/public/renderer/render_frame.h" 11 #include "content/public/renderer/render_frame.h"
10 #include "content/public/renderer/renderer_ppapi_host.h" 12 #include "content/public/renderer/renderer_ppapi_host.h"
11 #include "ipc/ipc_message.h" 13 #include "ipc/ipc_message.h"
12 #include "ppapi/c/private/ppb_flash_menu.h" 14 #include "ppapi/c/private/ppb_flash_menu.h"
13 #include "ppapi/host/dispatch_host_message.h" 15 #include "ppapi/host/dispatch_host_message.h"
14 #include "ppapi/host/ppapi_host.h" 16 #include "ppapi/host/ppapi_host.h"
15 #include "ppapi/proxy/ppapi_messages.h" 17 #include "ppapi/proxy/ppapi_messages.h"
16 #include "ppapi/proxy/serialized_flash_menu.h" 18 #include "ppapi/proxy/serialized_flash_menu.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 } 195 }
194 196
195 void PepperFlashMenuHost::SendMenuReply(int32_t result, int action) { 197 void PepperFlashMenuHost::SendMenuReply(int32_t result, int action) {
196 ppapi::host::ReplyMessageContext reply_context( 198 ppapi::host::ReplyMessageContext reply_context(
197 ppapi::proxy::ResourceMessageReplyParams(pp_resource(), 0), 199 ppapi::proxy::ResourceMessageReplyParams(pp_resource(), 0),
198 NULL, 200 NULL,
199 MSG_ROUTING_NONE); 201 MSG_ROUTING_NONE);
200 reply_context.params.set_result(result); 202 reply_context.params.set_result(result);
201 host()->SendReply(reply_context, PpapiPluginMsg_FlashMenu_ShowReply(action)); 203 host()->SendReply(reply_context, PpapiPluginMsg_FlashMenu_ShowReply(action));
202 } 204 }
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/pepper_flash_menu_host.h ('k') | chrome/renderer/pepper/pepper_flash_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698