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 "platform/heap/Handle.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/platform/WebVector.h" | 45 #include "public/platform/WebVector.h" |
45 #include "public/web/WebInputEvent.h" | 46 #include "public/web/WebInputEvent.h" |
46 #include "public/web/WebNavigationPolicy.h" | 47 #include "public/web/WebNavigationPolicy.h" |
47 #include "public/web/WebView.h" | 48 #include "public/web/WebView.h" |
(...skipping 18 matching lines...) Expand all Loading... |
66 class DataObject; | 67 class DataObject; |
67 class Frame; | 68 class Frame; |
68 class FullscreenController; | 69 class FullscreenController; |
69 class LinkHighlight; | 70 class LinkHighlight; |
70 class PopupContainer; | 71 class PopupContainer; |
71 class RenderLayerCompositor; | 72 class RenderLayerCompositor; |
72 class UserGestureToken; | 73 class UserGestureToken; |
73 class WebActiveGestureAnimation; | 74 class WebActiveGestureAnimation; |
74 class WebDevToolsAgentPrivate; | 75 class WebDevToolsAgentPrivate; |
75 class WebLocalFrameImpl; | 76 class WebLocalFrameImpl; |
| 77 class WebRemoteFrameImpl; |
76 class WebImage; | 78 class WebImage; |
77 class WebPagePopupImpl; | 79 class WebPagePopupImpl; |
78 class WebPlugin; | 80 class WebPlugin; |
79 class WebSettingsImpl; | 81 class WebSettingsImpl; |
80 | 82 |
81 class WebViewImpl FINAL : public WebView | 83 class WebViewImpl FINAL : public WebView |
82 , public RefCounted<WebViewImpl> | 84 , public RefCounted<WebViewImpl> |
83 , public WebGestureCurveTarget | 85 , public WebGestureCurveTarget |
84 , public PagePopupDriver | 86 , public PagePopupDriver |
85 , public PageWidgetEventHandler { | 87 , public PageWidgetEventHandler { |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 bool m_recreatingGraphicsContext; | 707 bool m_recreatingGraphicsContext; |
706 static const WebInputEvent* m_currentInputEvent; | 708 static const WebInputEvent* m_currentInputEvent; |
707 | 709 |
708 MediaKeysClientImpl m_mediaKeysClientImpl; | 710 MediaKeysClientImpl m_mediaKeysClientImpl; |
709 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; | 711 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; |
710 WebPoint m_positionOnFlingStart; | 712 WebPoint m_positionOnFlingStart; |
711 WebPoint m_globalPositionOnFlingStart; | 713 WebPoint m_globalPositionOnFlingStart; |
712 int m_flingModifier; | 714 int m_flingModifier; |
713 bool m_flingSourceDevice; | 715 bool m_flingSourceDevice; |
714 Vector<OwnPtr<LinkHighlight> > m_linkHighlights; | 716 Vector<OwnPtr<LinkHighlight> > m_linkHighlights; |
715 OwnPtr<FullscreenController> m_fullscreenController; | 717 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController; |
716 | 718 |
717 bool m_showFPSCounter; | 719 bool m_showFPSCounter; |
718 bool m_showPaintRects; | 720 bool m_showPaintRects; |
719 bool m_showDebugBorders; | 721 bool m_showDebugBorders; |
720 bool m_continuousPaintingEnabled; | 722 bool m_continuousPaintingEnabled; |
721 bool m_showScrollBottleneckRects; | 723 bool m_showScrollBottleneckRects; |
722 WebColor m_baseBackgroundColor; | 724 WebColor m_baseBackgroundColor; |
723 WebColor m_backgroundColorOverride; | 725 WebColor m_backgroundColorOverride; |
724 float m_zoomFactorOverride; | 726 float m_zoomFactorOverride; |
725 | 727 |
726 bool m_userGestureObserved; | 728 bool m_userGestureObserved; |
727 float m_topControlsContentOffset; | 729 float m_topControlsContentOffset; |
728 }; | 730 }; |
729 | 731 |
730 // We have no ways to check if the specified WebView is an instance of | 732 // We have no ways to check if the specified WebView is an instance of |
731 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 733 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
732 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 734 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
733 | 735 |
734 } // namespace blink | 736 } // namespace blink |
735 | 737 |
736 #endif | 738 #endif |
OLD | NEW |