OLD | NEW |
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 <map> | 5 #include <map> |
6 | 6 |
7 #include "webkit/plugins/ppapi/event_conversion.h" | 7 #include "webkit/plugins/ppapi/event_conversion.h" |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/i18n/char_iterator.h" | 10 #include "base/i18n/char_iterator.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/string_util.h" | 13 #include "base/string_util.h" |
14 #include "base/stringprintf.h" | 14 #include "base/stringprintf.h" |
15 #include "base/strings/utf_string_conversion_utils.h" | 15 #include "base/strings/utf_string_conversion_utils.h" |
16 #include "base/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
17 #include "ppapi/c/pp_input_event.h" | 17 #include "ppapi/c/pp_input_event.h" |
18 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 18 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
19 #include "ppapi/shared_impl/time_conversion.h" | 19 #include "ppapi/shared_impl/time_conversion.h" |
20 #include "third_party/WebKit/public/platform/WebGamepads.h" | 20 #include "third_party/WebKit/public/platform/WebGamepads.h" |
21 #include "third_party/WebKit/public/platform/WebString.h" | 21 #include "third_party/WebKit/public/platform/WebString.h" |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
23 #include "webkit/plugins/ppapi/common.h" | 23 #include "webkit/plugins/ppapi/common.h" |
24 #include "webkit/plugins/ppapi/usb_key_code_conversion.h" | 24 #include "webkit/plugins/ppapi/usb_key_code_conversion.h" |
25 | 25 |
26 using ppapi::EventTimeToPPTimeTicks; | 26 using ppapi::EventTimeToPPTimeTicks; |
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 return PP_INPUTEVENT_CLASS_TOUCH; | 726 return PP_INPUTEVENT_CLASS_TOUCH; |
727 case WebInputEvent::Undefined: | 727 case WebInputEvent::Undefined: |
728 default: | 728 default: |
729 NOTREACHED(); | 729 NOTREACHED(); |
730 return PP_InputEvent_Class(0); | 730 return PP_InputEvent_Class(0); |
731 } | 731 } |
732 } | 732 } |
733 | 733 |
734 } // namespace ppapi | 734 } // namespace ppapi |
735 } // namespace webkit | 735 } // namespace webkit |
OLD | NEW |