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

Side by Side Diff: content/renderer/pepper/event_conversion.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (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 "content/renderer/pepper/event_conversion.h" 5 #include "content/renderer/pepper/event_conversion.h"
6 6
7 #include "base/basictypes.h" 7 #include <stddef.h>
8 #include <stdint.h>
9
8 #include "base/i18n/char_iterator.h" 10 #include "base/i18n/char_iterator.h"
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
11 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
12 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
13 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
14 #include "base/strings/utf_string_conversion_utils.h" 16 #include "base/strings/utf_string_conversion_utils.h"
15 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "build/build_config.h"
16 #include "content/common/input/web_touch_event_traits.h" 19 #include "content/common/input/web_touch_event_traits.h"
17 #include "ppapi/c/pp_input_event.h" 20 #include "ppapi/c/pp_input_event.h"
18 #include "ppapi/shared_impl/ppb_input_event_shared.h" 21 #include "ppapi/shared_impl/ppb_input_event_shared.h"
19 #include "third_party/WebKit/public/platform/WebGamepads.h" 22 #include "third_party/WebKit/public/platform/WebGamepads.h"
20 #include "third_party/WebKit/public/web/WebInputEvent.h" 23 #include "third_party/WebKit/public/web/WebInputEvent.h"
21 #include "ui/events/keycodes/dom/keycode_converter.h" 24 #include "ui/events/keycodes/dom/keycode_converter.h"
22 25
23 using ppapi::InputEventData; 26 using ppapi::InputEventData;
24 using blink::WebInputEvent; 27 using blink::WebInputEvent;
25 using blink::WebKeyboardEvent; 28 using blink::WebKeyboardEvent;
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 case WebInputEvent::TouchStart: 739 case WebInputEvent::TouchStart:
737 return PP_INPUTEVENT_CLASS_TOUCH; 740 return PP_INPUTEVENT_CLASS_TOUCH;
738 case WebInputEvent::Undefined: 741 case WebInputEvent::Undefined:
739 default: 742 default:
740 CHECK(WebInputEvent::isGestureEventType(type)); 743 CHECK(WebInputEvent::isGestureEventType(type));
741 return PP_InputEvent_Class(0); 744 return PP_InputEvent_Class(0);
742 } 745 }
743 } 746 }
744 747
745 } // namespace content 748 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/content_renderer_pepper_host_factory.cc ('k') | content/renderer/pepper/event_conversion_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698