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

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

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 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
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 #ifndef CONTENT_RENDERER_PEPPER_EVENT_CONVERSION_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_EVENT_CONVERSION_H_
6 #define CONTENT_RENDERER_PEPPER_EVENT_CONVERSION_H_ 6 #define CONTENT_RENDERER_PEPPER_EVENT_CONVERSION_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "ppapi/c/ppb_input_event.h" 12 #include "ppapi/c/ppb_input_event.h"
13 #include "third_party/WebKit/public/web/WebInputEvent.h" 13 #include "third_party/WebKit/public/web/WebInputEvent.h"
14 14
15 struct PP_InputEvent; 15 struct PP_InputEvent;
16 16
17 namespace ppapi { 17 namespace ppapi {
18 struct InputEventData; 18 struct InputEventData;
19 } 19 }
20 20
21 namespace blink { 21 namespace blink {
22 class WebGamepads;
23 class WebInputEvent; 22 class WebInputEvent;
24 } 23 }
25 24
26 namespace content { 25 namespace content {
27 26
28 // Converts the given WebKit event to one or possibly multiple PP_InputEvents. 27 // Converts the given WebKit event to one or possibly multiple PP_InputEvents.
29 // The generated events will be filled into the given vector. On failure, no 28 // The generated events will be filled into the given vector. On failure, no
30 // events will ge generated and the vector will be empty. 29 // events will ge generated and the vector will be empty.
31 CONTENT_EXPORT void CreateInputEventData( 30 CONTENT_EXPORT void CreateInputEventData(
32 const blink::WebInputEvent& event, 31 const blink::WebInputEvent& event,
(...skipping 12 matching lines...) Expand all
45 int plugin_x, 44 int plugin_x,
46 int plugin_y); 45 int plugin_y);
47 46
48 // Returns the PPAPI event class for the given WebKit event type. The given 47 // Returns the PPAPI event class for the given WebKit event type. The given
49 // type should not be "Undefined" since there's no corresponding PPAPI class. 48 // type should not be "Undefined" since there's no corresponding PPAPI class.
50 PP_InputEvent_Class ClassifyInputEvent(const blink::WebInputEvent& event); 49 PP_InputEvent_Class ClassifyInputEvent(const blink::WebInputEvent& event);
51 50
52 } // namespace content 51 } // namespace content
53 52
54 #endif // CONTENT_RENDERER_PEPPER_EVENT_CONVERSION_H_ 53 #endif // CONTENT_RENDERER_PEPPER_EVENT_CONVERSION_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/content_renderer_pepper_host_factory.h ('k') | content/renderer/pepper/mock_renderer_ppapi_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698