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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 PaintLayerCompositor* compositor() const; | 133 PaintLayerCompositor* compositor() const; |
134 | 134 |
135 // WebFrameWidgetBase overrides: | 135 // WebFrameWidgetBase overrides: |
136 bool forSubframe() const override { return true; } | 136 bool forSubframe() const override { return true; } |
137 void scheduleAnimation() override; | 137 void scheduleAnimation() override; |
138 CompositorProxyClient* createCompositorProxyClient() override; | 138 CompositorProxyClient* createCompositorProxyClient() override; |
139 WebWidgetClient* client() const override { return m_client; } | 139 WebWidgetClient* client() const override { return m_client; } |
140 void setRootGraphicsLayer(GraphicsLayer*) override; | 140 void setRootGraphicsLayer(GraphicsLayer*) override; |
141 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; | 141 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; |
142 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; | 142 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; |
| 143 HitTestResult coreHitTestResultAt(const WebPoint&) override; |
143 | 144 |
144 // Exposed for the purpose of overriding device metrics. | 145 // Exposed for the purpose of overriding device metrics. |
145 void sendResizeEventAndRepaint(); | 146 void sendResizeEventAndRepaint(); |
146 | 147 |
147 void updateMainFrameLayoutSize(); | 148 void updateMainFrameLayoutSize(); |
148 | 149 |
149 void setIgnoreInputEvents(bool newValue); | 150 void setIgnoreInputEvents(bool newValue); |
150 | 151 |
151 // Returns the page object associated with this widget. This may be null whe
n | 152 // Returns the page object associated with this widget. This may be null whe
n |
152 // the page is shutting down, but will be valid at all other times. | 153 // the page is shutting down, but will be valid at all other times. |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 WebColor m_baseBackgroundColor; | 252 WebColor m_baseBackgroundColor; |
252 | 253 |
253 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 254 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
254 }; | 255 }; |
255 | 256 |
256 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub
frame(), widget.forSubframe()); | 257 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub
frame(), widget.forSubframe()); |
257 | 258 |
258 } // namespace blink | 259 } // namespace blink |
259 | 260 |
260 #endif | 261 #endif |
OLD | NEW |