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

Side by Side Diff: ppapi/shared_impl/ppb_input_event_shared.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes 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 unified diff | Download patch
« no previous file with comments | « ppapi/shared_impl/ppb_input_event_shared.h ('k') | ppapi/shared_impl/ppb_memory_shared.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ppapi/shared_impl/ppb_input_event_shared.h" 5 #include "ppapi/shared_impl/ppb_input_event_shared.h"
6 6
7 #include <stddef.h>
8
7 #include "ppapi/shared_impl/ppapi_globals.h" 9 #include "ppapi/shared_impl/ppapi_globals.h"
8 #include "ppapi/shared_impl/var.h" 10 #include "ppapi/shared_impl/var.h"
9 11
10 using ppapi::thunk::PPB_InputEvent_API; 12 using ppapi::thunk::PPB_InputEvent_API;
11 13
12 namespace ppapi { 14 namespace ppapi {
13 15
14 InputEventData::InputEventData() 16 InputEventData::InputEventData()
15 : is_filtered(false), 17 : is_filtered(false),
16 event_type(PP_INPUTEVENT_TYPE_UNDEFINED), 18 event_type(PP_INPUTEVENT_TYPE_UNDEFINED),
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 return 0; 333 return 0;
332 334
333 InputEventData data; 335 InputEventData data;
334 data.event_type = event_type; 336 data.event_type = event_type;
335 data.event_time_stamp = time_stamp; 337 data.event_time_stamp = time_stamp;
336 data.event_modifiers = modifiers; 338 data.event_modifiers = modifiers;
337 return (new PPB_InputEvent_Shared(type, instance, data))->GetReference(); 339 return (new PPB_InputEvent_Shared(type, instance, data))->GetReference();
338 } 340 }
339 341
340 } // namespace ppapi 342 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppb_input_event_shared.h ('k') | ppapi/shared_impl/ppb_memory_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698