| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 Frame* focusedCoreFrame() const; | 127 Frame* focusedCoreFrame() const; |
| 128 | 128 |
| 129 // 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. |
| 130 Element* focusedElement() const; | 130 Element* focusedElement() const; |
| 131 | 131 |
| 132 PaintLayerCompositor* compositor() const; | 132 PaintLayerCompositor* compositor() const; |
| 133 | 133 |
| 134 // WebFrameWidgetBase overrides: | 134 // WebFrameWidgetBase overrides: |
| 135 bool forSubframe() const override { return true; } | 135 bool forSubframe() const override { return true; } |
| 136 void scheduleAnimation() override; | 136 void scheduleAnimation() override; |
| 137 CompositorProxyClient* createCompositorProxyClient() override; | 137 CompositorProxyClient* createCompositorProxyClient( |
| 138 CompositorProxyClient::Type) override; |
| 138 WebWidgetClient* client() const override { return m_client; } | 139 WebWidgetClient* client() const override { return m_client; } |
| 139 void setRootGraphicsLayer(GraphicsLayer*) override; | 140 void setRootGraphicsLayer(GraphicsLayer*) override; |
| 140 void setRootLayer(WebLayer*) override; | 141 void setRootLayer(WebLayer*) override; |
| 141 WebLayerTreeView* getLayerTreeView() const override; | 142 WebLayerTreeView* getLayerTreeView() const override; |
| 142 CompositorAnimationHost* animationHost() const override; | 143 CompositorAnimationHost* animationHost() const override; |
| 143 HitTestResult coreHitTestResultAt(const WebPoint&) override; | 144 HitTestResult coreHitTestResultAt(const WebPoint&) override; |
| 144 | 145 |
| 145 // Exposed for the purpose of overriding device metrics. | 146 // Exposed for the purpose of overriding device metrics. |
| 146 void sendResizeEventAndRepaint(); | 147 void sendResizeEventAndRepaint(); |
| 147 | 148 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 | 239 |
| 239 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, | 240 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, |
| 240 WebFrameWidgetBase, | 241 WebFrameWidgetBase, |
| 241 widget, | 242 widget, |
| 242 widget->forSubframe(), | 243 widget->forSubframe(), |
| 243 widget.forSubframe()); | 244 widget.forSubframe()); |
| 244 | 245 |
| 245 } // namespace blink | 246 } // namespace blink |
| 246 | 247 |
| 247 #endif | 248 #endif |
| OLD | NEW |