OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 16 matching lines...) Expand all Loading... |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
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 WebFrameWidgetImpl_h | 31 #ifndef WebFrameWidgetImpl_h |
32 #define WebFrameWidgetImpl_h | 32 #define WebFrameWidgetImpl_h |
33 | 33 |
34 #include "platform/graphics/GraphicsLayer.h" | 34 #include "platform/graphics/GraphicsLayer.h" |
35 #include "platform/heap/SelfKeepAlive.h" | 35 #include "platform/heap/SelfKeepAlive.h" |
36 #include "platform/scroll/ScrollTypes.h" | 36 #include "platform/scroll/ScrollTypes.h" |
37 #include "public/platform/WebInputEvent.h" | 37 #include "public/platform/CoalescedWebInputEvent.h" |
38 #include "public/platform/WebPoint.h" | 38 #include "public/platform/WebPoint.h" |
39 #include "public/platform/WebSize.h" | 39 #include "public/platform/WebSize.h" |
40 #include "public/web/WebInputMethodController.h" | 40 #include "public/web/WebInputMethodController.h" |
41 #include "web/PageWidgetDelegate.h" | 41 #include "web/PageWidgetDelegate.h" |
42 #include "web/WebFrameWidgetBase.h" | 42 #include "web/WebFrameWidgetBase.h" |
43 #include "web/WebInputMethodControllerImpl.h" | 43 #include "web/WebInputMethodControllerImpl.h" |
44 #include "web/WebLocalFrameImpl.h" | 44 #include "web/WebLocalFrameImpl.h" |
45 #include "web/WebViewImpl.h" | 45 #include "web/WebViewImpl.h" |
46 #include "wtf/Assertions.h" | 46 #include "wtf/Assertions.h" |
47 #include "wtf/HashSet.h" | 47 #include "wtf/HashSet.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 void resizeVisualViewport(const WebSize&) override; | 81 void resizeVisualViewport(const WebSize&) override; |
82 void didEnterFullscreen() override; | 82 void didEnterFullscreen() override; |
83 void didExitFullscreen() override; | 83 void didExitFullscreen() override; |
84 void beginFrame(double lastFrameTimeMonotonic) override; | 84 void beginFrame(double lastFrameTimeMonotonic) override; |
85 void updateAllLifecyclePhases() override; | 85 void updateAllLifecyclePhases() override; |
86 void paint(WebCanvas*, const WebRect&) override; | 86 void paint(WebCanvas*, const WebRect&) override; |
87 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; | 87 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; |
88 void compositeAndReadbackAsync( | 88 void compositeAndReadbackAsync( |
89 WebCompositeAndReadbackAsyncCallback*) override; | 89 WebCompositeAndReadbackAsyncCallback*) override; |
90 void themeChanged() override; | 90 void themeChanged() override; |
91 WebInputEventResult handleInputEvent(const WebInputEvent&) override; | 91 WebInputEventResult handleInputEvent(const CoalescedWebInputEvent&) override; |
92 void setCursorVisibilityState(bool isVisible) override; | 92 void setCursorVisibilityState(bool isVisible) override; |
93 bool hasTouchEventHandlersAt(const WebPoint&) override; | 93 bool hasTouchEventHandlersAt(const WebPoint&) override; |
94 | 94 |
95 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, | 95 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, |
96 const WebFloatSize& mainFrameDelta, | 96 const WebFloatSize& mainFrameDelta, |
97 const WebFloatSize& elasticOverscrollDelta, | 97 const WebFloatSize& elasticOverscrollDelta, |
98 float pageScaleDelta, | 98 float pageScaleDelta, |
99 float browserControlsDelta) override; | 99 float browserControlsDelta) override; |
100 void mouseCaptureLost() override; | 100 void mouseCaptureLost() override; |
101 void setFocus(bool enable) override; | 101 void setFocus(bool enable) override; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 | 241 |
242 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, | 242 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, |
243 WebFrameWidgetBase, | 243 WebFrameWidgetBase, |
244 widget, | 244 widget, |
245 widget->forSubframe(), | 245 widget->forSubframe(), |
246 widget.forSubframe()); | 246 widget.forSubframe()); |
247 | 247 |
248 } // namespace blink | 248 } // namespace blink |
249 | 249 |
250 #endif | 250 #endif |
OLD | NEW |