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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #include "wtf/OwnPtr.h" | 45 #include "wtf/OwnPtr.h" |
46 #include "wtf/RefCounted.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 WebCompositorAnimationTimeline; | 55 class CompositorAnimationTimeline; |
56 class WebLayer; | 56 class WebLayer; |
57 class WebLayerTreeView; | 57 class WebLayerTreeView; |
58 class WebMouseEvent; | 58 class WebMouseEvent; |
59 class WebMouseWheelEvent; | 59 class WebMouseWheelEvent; |
60 class WebFrameWidgetImpl; | 60 class WebFrameWidgetImpl; |
61 | 61 |
62 using WebFrameWidgetsSet = WillBePersistentHeapHashSet<RawPtrWillBeWeakMember<We
bFrameWidgetImpl>>; | 62 using WebFrameWidgetsSet = WillBePersistentHeapHashSet<RawPtrWillBeWeakMember<We
bFrameWidgetImpl>>; |
63 | 63 |
64 class WebFrameWidgetImpl final : public RefCountedWillBeGarbageCollectedFinalize
d<WebFrameWidgetImpl> | 64 class WebFrameWidgetImpl final : public RefCountedWillBeGarbageCollectedFinalize
d<WebFrameWidgetImpl> |
65 , public WebFrameWidget | 65 , public WebFrameWidget |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 119 |
120 Frame* focusedCoreFrame() const; | 120 Frame* focusedCoreFrame() const; |
121 | 121 |
122 // Returns the currently focused Element or null if no element has focus. | 122 // Returns the currently focused Element or null if no element has focus. |
123 Element* focusedElement() const; | 123 Element* focusedElement() const; |
124 | 124 |
125 void scheduleAnimation() override; | 125 void scheduleAnimation() override; |
126 | 126 |
127 PaintLayerCompositor* compositor() const; | 127 PaintLayerCompositor* compositor() const; |
128 void setRootGraphicsLayer(GraphicsLayer*); | 128 void setRootGraphicsLayer(GraphicsLayer*); |
129 void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*); | 129 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*); |
130 void detachCompositorAnimationTimeline(WebCompositorAnimationTimeline*); | 130 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*); |
131 | 131 |
132 void setVisibilityState(WebPageVisibilityState, bool) override; | 132 void setVisibilityState(WebPageVisibilityState, bool) override; |
133 | 133 |
134 // Exposed for the purpose of overriding device metrics. | 134 // Exposed for the purpose of overriding device metrics. |
135 void sendResizeEventAndRepaint(); | 135 void sendResizeEventAndRepaint(); |
136 | 136 |
137 void updateMainFrameLayoutSize(); | 137 void updateMainFrameLayoutSize(); |
138 | 138 |
139 void setIgnoreInputEvents(bool newValue); | 139 void setIgnoreInputEvents(bool newValue); |
140 | 140 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 #if ENABLE(OILPAN) | 222 #if ENABLE(OILPAN) |
223 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 223 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
224 #endif | 224 #endif |
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 |