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

Side by Side Diff: webkit/glue/plugins/pepper_event_conversion.cc

Issue 4164015: Switch to the new PPAPI repository. This removes the DEPS entry that refers t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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
« no previous file with comments | « webkit/glue/plugins/pepper_error_util.cc ('k') | webkit/glue/plugins/pepper_file_callbacks.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "webkit/glue/plugins/pepper_event_conversion.h" 5 #include "webkit/glue/plugins/pepper_event_conversion.h"
6 6
7 #include "base/i18n/char_iterator.h" 7 #include "base/i18n/char_iterator.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "base/utf_string_conversion_utils.h" 12 #include "base/utf_string_conversion_utils.h"
13 #include "third_party/ppapi/c/pp_input_event.h" 13 #include "ppapi/c/pp_input_event.h"
14 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" 14 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h"
15 15
16 using WebKit::WebInputEvent; 16 using WebKit::WebInputEvent;
17 using WebKit::WebKeyboardEvent; 17 using WebKit::WebKeyboardEvent;
18 using WebKit::WebMouseEvent; 18 using WebKit::WebMouseEvent;
19 using WebKit::WebMouseWheelEvent; 19 using WebKit::WebMouseWheelEvent;
20 20
21 namespace { 21 namespace {
22 22
23 PP_InputEvent_Type ConvertEventTypes(WebInputEvent::Type wetype) { 23 PP_InputEvent_Type ConvertEventTypes(WebInputEvent::Type wetype) {
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 break; 290 break;
291 case PP_INPUTEVENT_TYPE_CHAR: 291 case PP_INPUTEVENT_TYPE_CHAR:
292 web_input_event.reset(BuildCharEvent(event)); 292 web_input_event.reset(BuildCharEvent(event));
293 break; 293 break;
294 } 294 }
295 295
296 return web_input_event.release(); 296 return web_input_event.release();
297 } 297 }
298 298
299 } // namespace pepper 299 } // namespace pepper
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_error_util.cc ('k') | webkit/glue/plugins/pepper_file_callbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698