| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 CompositorProxyClient* createCompositorProxyClient() override; | 126 CompositorProxyClient* createCompositorProxyClient() override; |
| 127 | 127 |
| 128 WebWidgetClient* client() const override { return m_client; } | 128 WebWidgetClient* client() const override { return m_client; } |
| 129 | 129 |
| 130 Frame* focusedCoreFrame() const; | 130 Frame* focusedCoreFrame() const; |
| 131 | 131 |
| 132 // Returns the currently focused Element or null if no element has focus. | 132 // Returns the currently focused Element or null if no element has focus. |
| 133 Element* focusedElement() const; | 133 Element* focusedElement() const; |
| 134 | 134 |
| 135 PaintLayerCompositor* compositor() const; | 135 PaintLayerCompositor* compositor() const; |
| 136 void setRootGraphicsLayer(GraphicsLayer*); | 136 void setRootGraphicsLayer(GraphicsLayer*) override; |
| 137 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*); | 137 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; |
| 138 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*); | 138 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; |
| 139 | 139 |
| 140 // Exposed for the purpose of overriding device metrics. | 140 // Exposed for the purpose of overriding device metrics. |
| 141 void sendResizeEventAndRepaint(); | 141 void sendResizeEventAndRepaint(); |
| 142 | 142 |
| 143 void updateMainFrameLayoutSize(); | 143 void updateMainFrameLayoutSize(); |
| 144 | 144 |
| 145 void setIgnoreInputEvents(bool newValue); | 145 void setIgnoreInputEvents(bool newValue); |
| 146 | 146 |
| 147 // Returns the page object associated with this widget. This may be null whe
n | 147 // Returns the page object associated with this widget. This may be null whe
n |
| 148 // the page is shutting down, but will be valid at all other times. | 148 // the page is shutting down, but will be valid at all other times. |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 WebColor m_baseBackgroundColor; | 230 WebColor m_baseBackgroundColor; |
| 231 | 231 |
| 232 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 232 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
| 233 }; | 233 }; |
| 234 | 234 |
| 235 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); | 235 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); |
| 236 | 236 |
| 237 } // namespace blink | 237 } // namespace blink |
| 238 | 238 |
| 239 #endif | 239 #endif |
| OLD | NEW |