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 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 WebViewImpl_h | 31 #ifndef WebViewImpl_h |
32 #define WebViewImpl_h | 32 #define WebViewImpl_h |
33 | 33 |
34 #include "core/page/PagePopupDriver.h" | 34 #include "core/page/PagePopupDriver.h" |
35 #include "platform/geometry/IntPoint.h" | 35 #include "platform/geometry/IntPoint.h" |
36 #include "platform/geometry/IntRect.h" | 36 #include "platform/geometry/IntRect.h" |
37 #include "platform/graphics/GraphicsLayer.h" | 37 #include "platform/graphics/GraphicsLayer.h" |
| 38 #include "public/platform/WebFrameTime.h" |
38 #include "public/platform/WebGestureCurveTarget.h" | 39 #include "public/platform/WebGestureCurveTarget.h" |
39 #include "public/platform/WebLayer.h" | 40 #include "public/platform/WebLayer.h" |
40 #include "public/platform/WebPoint.h" | 41 #include "public/platform/WebPoint.h" |
41 #include "public/platform/WebRect.h" | 42 #include "public/platform/WebRect.h" |
42 #include "public/platform/WebSize.h" | 43 #include "public/platform/WebSize.h" |
43 #include "public/platform/WebString.h" | 44 #include "public/platform/WebString.h" |
44 #include "public/web/WebInputEvent.h" | 45 #include "public/web/WebInputEvent.h" |
45 #include "public/web/WebNavigationPolicy.h" | 46 #include "public/web/WebNavigationPolicy.h" |
46 #include "public/web/WebView.h" | 47 #include "public/web/WebView.h" |
47 #include "web/BackForwardClientImpl.h" | 48 #include "web/BackForwardClientImpl.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 virtual void close() OVERRIDE; | 92 virtual void close() OVERRIDE; |
92 virtual WebSize size() OVERRIDE; | 93 virtual WebSize size() OVERRIDE; |
93 virtual void willStartLiveResize() OVERRIDE; | 94 virtual void willStartLiveResize() OVERRIDE; |
94 virtual void resize(const WebSize&) OVERRIDE; | 95 virtual void resize(const WebSize&) OVERRIDE; |
95 virtual void resizePinchViewport(const WebSize&) OVERRIDE; | 96 virtual void resizePinchViewport(const WebSize&) OVERRIDE; |
96 virtual void willEndLiveResize() OVERRIDE; | 97 virtual void willEndLiveResize() OVERRIDE; |
97 virtual void willEnterFullScreen() OVERRIDE; | 98 virtual void willEnterFullScreen() OVERRIDE; |
98 virtual void didEnterFullScreen() OVERRIDE; | 99 virtual void didEnterFullScreen() OVERRIDE; |
99 virtual void willExitFullScreen() OVERRIDE; | 100 virtual void willExitFullScreen() OVERRIDE; |
100 virtual void didExitFullScreen() OVERRIDE; | 101 virtual void didExitFullScreen() OVERRIDE; |
101 virtual void animate(double) OVERRIDE; | 102 |
| 103 virtual void animate(WebFrameTime) OVERRIDE; |
| 104 |
102 virtual void layout() OVERRIDE; | 105 virtual void layout() OVERRIDE; |
103 virtual void paint(WebCanvas*, const WebRect&) OVERRIDE; | 106 virtual void paint(WebCanvas*, const WebRect&) OVERRIDE; |
104 #if OS(ANDROID) | 107 #if OS(ANDROID) |
105 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) OVERRIDE; | 108 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) OVERRIDE; |
106 #endif | 109 #endif |
107 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*
) OVERRIDE; | 110 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*
) OVERRIDE; |
108 virtual bool isTrackingRepaints() const OVERRIDE; | 111 virtual bool isTrackingRepaints() const OVERRIDE; |
109 virtual void themeChanged() OVERRIDE; | 112 virtual void themeChanged() OVERRIDE; |
110 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE; | 113 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE; |
111 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE; | 114 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE; |
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 bool m_userGestureObserved; | 712 bool m_userGestureObserved; |
710 }; | 713 }; |
711 | 714 |
712 // We have no ways to check if the specified WebView is an instance of | 715 // We have no ways to check if the specified WebView is an instance of |
713 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 716 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
714 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 717 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
715 | 718 |
716 } // namespace blink | 719 } // namespace blink |
717 | 720 |
718 #endif | 721 #endif |
OLD | NEW |