OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef PageWidgetDelegate_h | 31 #ifndef PageWidgetDelegate_h |
32 #define PageWidgetDelegate_h | 32 #define PageWidgetDelegate_h |
33 | 33 |
34 #include "public/platform/WebCanvas.h" | 34 #include "public/platform/WebCanvas.h" |
35 #include "public/web/WebInputEvent.h" | 35 #include "public/web/WebInputEvent.h" |
36 #include "public/web/WebWidget.h" | 36 #include "public/web/WebWidget.h" |
37 #include "web/WebExport.h" | 37 #include "web/WebExport.h" |
| 38 #include "wtf/OwnPtr.h" |
38 | 39 |
39 namespace blink { | 40 namespace blink { |
40 | 41 |
41 class LocalFrame; | 42 class LocalFrame; |
42 class Page; | 43 class Page; |
43 class WebGestureEvent; | 44 class WebGestureEvent; |
44 class WebInputEvent; | 45 class WebInputEvent; |
45 class WebKeyboardEvent; | 46 class WebKeyboardEvent; |
46 class WebMouseEvent; | 47 class WebMouseEvent; |
47 class WebMouseWheelEvent; | 48 class WebMouseWheelEvent; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 81 |
81 // See FIXME in the function body about nullptr |root|. | 82 // See FIXME in the function body about nullptr |root|. |
82 static WebInputEventResult handleInputEvent(PageWidgetEventHandler&, const W
ebInputEvent&, LocalFrame* root); | 83 static WebInputEventResult handleInputEvent(PageWidgetEventHandler&, const W
ebInputEvent&, LocalFrame* root); |
83 | 84 |
84 private: | 85 private: |
85 PageWidgetDelegate() { } | 86 PageWidgetDelegate() { } |
86 }; | 87 }; |
87 | 88 |
88 } // namespace blink | 89 } // namespace blink |
89 #endif | 90 #endif |
OLD | NEW |