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

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

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more more clang fun Created 7 years, 4 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 | Annotate | Revision Log
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"
6
5 #include <map> 7 #include <map>
6 8
7 #include "webkit/plugins/ppapi/event_conversion.h"
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/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "base/strings/utf_string_conversion_utils.h" 15 #include "base/strings/utf_string_conversion_utils.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "content/renderer/pepper/common.h"
18 #include "content/renderer/pepper/usb_key_code_conversion.h"
17 #include "ppapi/c/pp_input_event.h" 19 #include "ppapi/c/pp_input_event.h"
18 #include "ppapi/shared_impl/ppb_input_event_shared.h" 20 #include "ppapi/shared_impl/ppb_input_event_shared.h"
19 #include "ppapi/shared_impl/time_conversion.h" 21 #include "ppapi/shared_impl/time_conversion.h"
20 #include "third_party/WebKit/public/platform/WebGamepads.h" 22 #include "third_party/WebKit/public/platform/WebGamepads.h"
21 #include "third_party/WebKit/public/platform/WebString.h" 23 #include "third_party/WebKit/public/platform/WebString.h"
22 #include "third_party/WebKit/public/web/WebInputEvent.h" 24 #include "third_party/WebKit/public/web/WebInputEvent.h"
23 #include "webkit/plugins/ppapi/common.h"
24 #include "webkit/plugins/ppapi/usb_key_code_conversion.h"
25 25
26 using ppapi::EventTimeToPPTimeTicks; 26 using ppapi::EventTimeToPPTimeTicks;
27 using ppapi::InputEventData; 27 using ppapi::InputEventData;
28 using ppapi::PPTimeTicksToEventTime; 28 using ppapi::PPTimeTicksToEventTime;
29 using WebKit::WebInputEvent; 29 using WebKit::WebInputEvent;
30 using WebKit::WebKeyboardEvent; 30 using WebKit::WebKeyboardEvent;
31 using WebKit::WebMouseEvent; 31 using WebKit::WebMouseEvent;
32 using WebKit::WebMouseWheelEvent; 32 using WebKit::WebMouseWheelEvent;
33 using WebKit::WebString; 33 using WebKit::WebString;
34 using WebKit::WebTouchEvent; 34 using WebKit::WebTouchEvent;
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « content/renderer/pepper/event_conversion.h ('k') | content/renderer/pepper/fullscreen_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698