| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 void didExitFullScreen() override; | 110 void didExitFullScreen() override; |
| 111 | 111 |
| 112 void beginFrame(const WebBeginFrameArgs&) override; | 112 void beginFrame(const WebBeginFrameArgs&) override; |
| 113 | 113 |
| 114 void layout() override; | 114 void layout() override; |
| 115 void paint(WebCanvas*, const WebRect&) override; | 115 void paint(WebCanvas*, const WebRect&) override; |
| 116 #if OS(ANDROID) | 116 #if OS(ANDROID) |
| 117 void paintCompositedDeprecated(WebCanvas*, const WebRect&) override; | 117 void paintCompositedDeprecated(WebCanvas*, const WebRect&) override; |
| 118 #endif | 118 #endif |
| 119 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; | 119 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; |
| 120 void didCommitCompositorFrame() override; |
| 120 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; | 121 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; |
| 121 void themeChanged() override; | 122 void themeChanged() override; |
| 122 bool handleInputEvent(const WebInputEvent&) override; | 123 bool handleInputEvent(const WebInputEvent&) override; |
| 123 void setCursorVisibilityState(bool isVisible) override; | 124 void setCursorVisibilityState(bool isVisible) override; |
| 124 bool hasTouchEventHandlersAt(const WebPoint&) override; | 125 bool hasTouchEventHandlersAt(const WebPoint&) override; |
| 125 | 126 |
| 126 void applyViewportDeltas( | 127 void applyViewportDeltas( |
| 127 const WebFloatSize& visualViewportDelta, | 128 const WebFloatSize& visualViewportDelta, |
| 128 const WebFloatSize& layoutViewportDelta, | 129 const WebFloatSize& layoutViewportDelta, |
| 129 const WebFloatSize& elasticOverscrollDelta, | 130 const WebFloatSize& elasticOverscrollDelta, |
| (...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 }; | 771 }; |
| 771 | 772 |
| 772 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 773 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 773 // We have no ways to check if the specified WebView is an instance of | 774 // We have no ways to check if the specified WebView is an instance of |
| 774 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 775 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 775 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 776 | 777 |
| 777 } // namespace blink | 778 } // namespace blink |
| 778 | 779 |
| 779 #endif | 780 #endif |
| OLD | NEW |