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 14 matching lines...) Expand all Loading... |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
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 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/scroll/ScrollTypes.h" | 36 #include "platform/scroll/ScrollTypes.h" |
36 #include "public/platform/WebPoint.h" | 37 #include "public/platform/WebPoint.h" |
37 #include "public/platform/WebSize.h" | 38 #include "public/platform/WebSize.h" |
38 #include "public/web/WebFrameWidget.h" | 39 #include "public/web/WebFrameWidget.h" |
39 #include "public/web/WebInputEvent.h" | 40 #include "public/web/WebInputEvent.h" |
40 #include "web/PageWidgetDelegate.h" | 41 #include "web/PageWidgetDelegate.h" |
41 #include "web/WebLocalFrameImpl.h" | 42 #include "web/WebLocalFrameImpl.h" |
42 #include "web/WebViewImpl.h" | 43 #include "web/WebViewImpl.h" |
43 #include "wtf/Assertions.h" | 44 #include "wtf/Assertions.h" |
44 #include "wtf/HashSet.h" | 45 #include "wtf/HashSet.h" |
45 #include "wtf/OwnPtr.h" | 46 #include "wtf/OwnPtr.h" |
46 #include "wtf/RefCounted.h" | |
47 | 47 |
48 namespace blink { | 48 namespace blink { |
49 class Frame; | 49 class Frame; |
50 class Element; | 50 class Element; |
51 class LocalFrame; | 51 class LocalFrame; |
52 class Page; | 52 class Page; |
53 class PaintLayerCompositor; | 53 class PaintLayerCompositor; |
54 class UserGestureToken; | 54 class UserGestureToken; |
55 class CompositorAnimationTimeline; | 55 class CompositorAnimationTimeline; |
56 class WebLayer; | 56 class WebLayer; |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 WebColor m_baseBackgroundColor; | 222 WebColor m_baseBackgroundColor; |
223 | 223 |
224 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 224 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
225 }; | 225 }; |
226 | 226 |
227 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); | 227 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); |
228 | 228 |
229 } // namespace blink | 229 } // namespace blink |
230 | 230 |
231 #endif | 231 #endif |
OLD | NEW |