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 "content/renderer/pepper/event_conversion.h" | 5 #include "content/renderer/pepper/event_conversion.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <string.h> |
9 | 10 |
10 #include "base/i18n/char_iterator.h" | 11 #include "base/i18n/char_iterator.h" |
11 #include "base/logging.h" | 12 #include "base/logging.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
14 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
15 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
16 #include "base/strings/utf_string_conversion_utils.h" | 17 #include "base/strings/utf_string_conversion_utils.h" |
17 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
18 #include "build/build_config.h" | 19 #include "build/build_config.h" |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 case WebInputEvent::TouchStart: | 740 case WebInputEvent::TouchStart: |
740 return PP_INPUTEVENT_CLASS_TOUCH; | 741 return PP_INPUTEVENT_CLASS_TOUCH; |
741 case WebInputEvent::Undefined: | 742 case WebInputEvent::Undefined: |
742 default: | 743 default: |
743 CHECK(WebInputEvent::isGestureEventType(type)); | 744 CHECK(WebInputEvent::isGestureEventType(type)); |
744 return PP_InputEvent_Class(0); | 745 return PP_InputEvent_Class(0); |
745 } | 746 } |
746 } | 747 } |
747 | 748 |
748 } // namespace content | 749 } // namespace content |
OLD | NEW |