| 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 30 matching lines...) Expand all Loading... |
| 41 #include "wtf/OwnPtr.h" | 41 #include "wtf/OwnPtr.h" |
| 42 #include "wtf/RefCounted.h" | 42 #include "wtf/RefCounted.h" |
| 43 | 43 |
| 44 namespace blink { | 44 namespace blink { |
| 45 class Frame; | 45 class Frame; |
| 46 class Element; | 46 class Element; |
| 47 class LocalFrame; | 47 class LocalFrame; |
| 48 class Page; | 48 class Page; |
| 49 class LayerCompositor; | 49 class LayerCompositor; |
| 50 class UserGestureToken; | 50 class UserGestureToken; |
| 51 class WebCompositorAnimationTimeline; |
| 51 class WebLayer; | 52 class WebLayer; |
| 52 class WebLayerTreeView; | 53 class WebLayerTreeView; |
| 53 class WebLocalFrameImpl; | 54 class WebLocalFrameImpl; |
| 54 class WebMouseEvent; | 55 class WebMouseEvent; |
| 55 class WebMouseWheelEvent; | 56 class WebMouseWheelEvent; |
| 56 class WebViewImpl; | 57 class WebViewImpl; |
| 57 | 58 |
| 58 class WebFrameWidgetImpl final : public WebFrameWidget | 59 class WebFrameWidgetImpl final : public WebFrameWidget |
| 59 , public PageWidgetEventHandler | 60 , public PageWidgetEventHandler |
| 60 , public RefCounted<WebFrameWidgetImpl> { | 61 , public RefCounted<WebFrameWidgetImpl> { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 Frame* focusedCoreFrame() const; | 127 Frame* focusedCoreFrame() const; |
| 127 | 128 |
| 128 // Returns the currently focused Element or null if no element has focus. | 129 // Returns the currently focused Element or null if no element has focus. |
| 129 Element* focusedElement() const; | 130 Element* focusedElement() const; |
| 130 | 131 |
| 131 void scheduleAnimation(); | 132 void scheduleAnimation(); |
| 132 | 133 |
| 133 LayerCompositor* compositor() const; | 134 LayerCompositor* compositor() const; |
| 134 void suppressInvalidations(bool enable); | 135 void suppressInvalidations(bool enable); |
| 135 void setRootGraphicsLayer(GraphicsLayer*); | 136 void setRootGraphicsLayer(GraphicsLayer*); |
| 137 void setCompositorAnimationTimeline(WebCompositorAnimationTimeline*); |
| 136 | 138 |
| 137 // Exposed for the purpose of overriding device metrics. | 139 // Exposed for the purpose of overriding device metrics. |
| 138 void sendResizeEventAndRepaint(); | 140 void sendResizeEventAndRepaint(); |
| 139 | 141 |
| 140 void updateMainFrameLayoutSize(); | 142 void updateMainFrameLayoutSize(); |
| 141 | 143 |
| 142 // Returns the page object associated with this widget. This may be null whe
n | 144 // Returns the page object associated with this widget. This may be null whe
n |
| 143 // the page is shutting down, but will be valid at all other times. | 145 // the page is shutting down, but will be valid at all other times. |
| 144 Page* page() const { return m_page; } | 146 Page* page() const { return m_page; } |
| 145 | 147 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 bool m_suppressNextKeypressEvent; | 208 bool m_suppressNextKeypressEvent; |
| 207 | 209 |
| 208 bool m_ignoreInputEvents; | 210 bool m_ignoreInputEvents; |
| 209 | 211 |
| 210 static const WebInputEvent* m_currentInputEvent; | 212 static const WebInputEvent* m_currentInputEvent; |
| 211 }; | 213 }; |
| 212 | 214 |
| 213 } // namespace blink | 215 } // namespace blink |
| 214 | 216 |
| 215 #endif | 217 #endif |
| OLD | NEW |