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 15 matching lines...) Expand all Loading... |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
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 WebViewImpl_h | 31 #ifndef WebViewImpl_h |
32 #define WebViewImpl_h | 32 #define WebViewImpl_h |
33 | 33 |
34 #include "core/page/ContextMenuProvider.h" | 34 #include "core/page/ContextMenuProvider.h" |
35 #include "core/page/EventWithHitTestResults.h" | 35 #include "core/page/EventWithHitTestResults.h" |
| 36 #include "platform/animation/WebCompositorAnimationTimeline.h" |
36 #include "platform/geometry/IntPoint.h" | 37 #include "platform/geometry/IntPoint.h" |
37 #include "platform/geometry/IntRect.h" | 38 #include "platform/geometry/IntRect.h" |
38 #include "platform/graphics/GraphicsLayer.h" | 39 #include "platform/graphics/GraphicsLayer.h" |
39 #include "platform/graphics/compositing/PaintArtifactCompositor.h" | 40 #include "platform/graphics/compositing/PaintArtifactCompositor.h" |
40 #include "platform/heap/Handle.h" | 41 #include "platform/heap/Handle.h" |
41 #include "public/platform/WebCompositorAnimationTimeline.h" | |
42 #include "public/platform/WebDisplayMode.h" | 42 #include "public/platform/WebDisplayMode.h" |
43 #include "public/platform/WebFloatSize.h" | 43 #include "public/platform/WebFloatSize.h" |
44 #include "public/platform/WebGestureCurveTarget.h" | 44 #include "public/platform/WebGestureCurveTarget.h" |
45 #include "public/platform/WebInputEventResult.h" | 45 #include "public/platform/WebInputEventResult.h" |
46 #include "public/platform/WebLayer.h" | 46 #include "public/platform/WebLayer.h" |
47 #include "public/platform/WebPoint.h" | 47 #include "public/platform/WebPoint.h" |
48 #include "public/platform/WebRect.h" | 48 #include "public/platform/WebRect.h" |
49 #include "public/platform/WebSize.h" | 49 #include "public/platform/WebSize.h" |
50 #include "public/platform/WebString.h" | 50 #include "public/platform/WebString.h" |
51 #include "public/platform/WebVector.h" | 51 #include "public/platform/WebVector.h" |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 }; | 775 }; |
776 | 776 |
777 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 777 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
778 // We have no ways to check if the specified WebView is an instance of | 778 // We have no ways to check if the specified WebView is an instance of |
779 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 779 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
780 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 780 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
781 | 781 |
782 } // namespace blink | 782 } // namespace blink |
783 | 783 |
784 #endif | 784 #endif |
OLD | NEW |