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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 bool isAcceleratedCompositingActive() const override; | 114 bool isAcceleratedCompositingActive() const override; |
115 void willCloseLayerTreeView() override; | 115 void willCloseLayerTreeView() override; |
116 void didChangeWindowResizerRect() override; | 116 void didChangeWindowResizerRect() override; |
117 | 117 |
118 // WebFrameWidget implementation. | 118 // WebFrameWidget implementation. |
119 void setVisibilityState(WebPageVisibilityState, bool) override; | 119 void setVisibilityState(WebPageVisibilityState, bool) override; |
120 bool isTransparent() const override; | 120 bool isTransparent() const override; |
121 void setIsTransparent(bool) override; | 121 void setIsTransparent(bool) override; |
122 void setBaseBackgroundColor(WebColor) override; | 122 void setBaseBackgroundColor(WebColor) override; |
123 void scheduleAnimation() override; | 123 void scheduleAnimation() override; |
| 124 CompositorProxyClient* createCompositorProxyClient() override; |
124 | 125 |
125 WebWidgetClient* client() const override { return m_client; } | 126 WebWidgetClient* client() const override { return m_client; } |
126 | 127 |
127 Frame* focusedCoreFrame() const; | 128 Frame* focusedCoreFrame() const; |
128 | 129 |
129 // Returns the currently focused Element or null if no element has focus. | 130 // Returns the currently focused Element or null if no element has focus. |
130 Element* focusedElement() const; | 131 Element* focusedElement() const; |
131 | 132 |
132 PaintLayerCompositor* compositor() const; | 133 PaintLayerCompositor* compositor() const; |
133 void setRootGraphicsLayer(GraphicsLayer*); | 134 void setRootGraphicsLayer(GraphicsLayer*); |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 WebColor m_baseBackgroundColor; | 223 WebColor m_baseBackgroundColor; |
223 | 224 |
224 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 225 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
225 }; | 226 }; |
226 | 227 |
227 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); | 228 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); |
228 | 229 |
229 } // namespace blink | 230 } // namespace blink |
230 | 231 |
231 #endif | 232 #endif |
OLD | NEW |