| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be found | 2 // Use of this source code is governed by a BSD-style license that can be found |
| 3 // in the LICENSE file. | 3 // in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebViewFrameWidget_h | 5 #ifndef WebViewFrameWidget_h |
| 6 #define WebViewFrameWidget_h | 6 #define WebViewFrameWidget_h |
| 7 | 7 |
| 8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
| 9 #include "web/WebFrameWidgetBase.h" | 9 #include "web/WebFrameWidgetBase.h" |
| 10 #include "web/WebLocalFrameImpl.h" | 10 #include "web/WebLocalFrameImpl.h" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 WebLocalFrameImpl* localRoot() override; | 96 WebLocalFrameImpl* localRoot() override; |
| 97 | 97 |
| 98 // WebFrameWidgetBase overrides: | 98 // WebFrameWidgetBase overrides: |
| 99 bool forSubframe() const override { return false; } | 99 bool forSubframe() const override { return false; } |
| 100 void scheduleAnimation() override; | 100 void scheduleAnimation() override; |
| 101 CompositorProxyClient* createCompositorProxyClient() override; | 101 CompositorProxyClient* createCompositorProxyClient() override; |
| 102 void setRootGraphicsLayer(GraphicsLayer*) override; | 102 void setRootGraphicsLayer(GraphicsLayer*) override; |
| 103 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; | 103 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; |
| 104 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; | 104 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; |
| 105 WebWidgetClient* client() const override { return m_client; } | 105 WebWidgetClient* client() const override { return m_client; } |
| 106 HitTestResult coreHitTestResultAt(const WebPoint&) override; |
| 106 | 107 |
| 107 private: | 108 private: |
| 108 WebWidgetClient* m_client; | 109 WebWidgetClient* m_client; |
| 109 RefPtr<WebViewImpl> m_webView; | 110 RefPtr<WebViewImpl> m_webView; |
| 110 Persistent<WebLocalFrameImpl> m_mainFrame; | 111 Persistent<WebLocalFrameImpl> m_mainFrame; |
| 111 }; | 112 }; |
| 112 | 113 |
| 113 } // namespace blink | 114 } // namespace blink |
| 114 | 115 |
| 115 #endif // WebViewFrameWidget_h | 116 #endif // WebViewFrameWidget_h |
| OLD | NEW |