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