| 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/WebCoalescedInputEvent.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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 void resizeVisualViewport(const WebSize&) override; | 80 void resizeVisualViewport(const WebSize&) override; |
| 81 void didEnterFullscreen() override; | 81 void didEnterFullscreen() override; |
| 82 void didExitFullscreen() override; | 82 void didExitFullscreen() override; |
| 83 void beginFrame(double lastFrameTimeMonotonic) override; | 83 void beginFrame(double lastFrameTimeMonotonic) override; |
| 84 void updateAllLifecyclePhases() override; | 84 void updateAllLifecyclePhases() override; |
| 85 void paint(WebCanvas*, const WebRect&) override; | 85 void paint(WebCanvas*, const WebRect&) override; |
| 86 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; | 86 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; |
| 87 void compositeAndReadbackAsync( | 87 void compositeAndReadbackAsync( |
| 88 WebCompositeAndReadbackAsyncCallback*) override; | 88 WebCompositeAndReadbackAsyncCallback*) override; |
| 89 void themeChanged() override; | 89 void themeChanged() override; |
| 90 WebInputEventResult handleInputEvent(const WebInputEvent&) override; | 90 WebInputEventResult handleInputEvent(const WebCoalescedInputEvent&) override; |
| 91 void setCursorVisibilityState(bool isVisible) override; | 91 void setCursorVisibilityState(bool isVisible) override; |
| 92 bool hasTouchEventHandlersAt(const WebPoint&) override; | 92 bool hasTouchEventHandlersAt(const WebPoint&) override; |
| 93 | 93 |
| 94 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, | 94 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, |
| 95 const WebFloatSize& mainFrameDelta, | 95 const WebFloatSize& mainFrameDelta, |
| 96 const WebFloatSize& elasticOverscrollDelta, | 96 const WebFloatSize& elasticOverscrollDelta, |
| 97 float pageScaleDelta, | 97 float pageScaleDelta, |
| 98 float browserControlsDelta) override; | 98 float browserControlsDelta) override; |
| 99 void mouseCaptureLost() override; | 99 void mouseCaptureLost() override; |
| 100 void setFocus(bool enable) override; | 100 void setFocus(bool enable) override; |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 | 238 |
| 239 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, | 239 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, |
| 240 WebFrameWidgetBase, | 240 WebFrameWidgetBase, |
| 241 widget, | 241 widget, |
| 242 widget->forSubframe(), | 242 widget->forSubframe(), |
| 243 widget.forSubframe()); | 243 widget.forSubframe()); |
| 244 | 244 |
| 245 } // namespace blink | 245 } // namespace blink |
| 246 | 246 |
| 247 #endif | 247 #endif |
| OLD | NEW |