| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 WebPagePopup* pagePopup() const override; | 91 WebPagePopup* pagePopup() const override; |
| 92 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; | 92 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; |
| 93 void applyReplacementRange(const WebRange&) override; | 93 void applyReplacementRange(const WebRange&) override; |
| 94 void updateBrowserControlsState(WebBrowserControlsState constraints, | 94 void updateBrowserControlsState(WebBrowserControlsState constraints, |
| 95 WebBrowserControlsState current, | 95 WebBrowserControlsState current, |
| 96 bool animate) override; | 96 bool animate) override; |
| 97 void setVisibilityState(WebPageVisibilityState) override; | 97 void setVisibilityState(WebPageVisibilityState) override; |
| 98 bool isTransparent() const override; | 98 bool isTransparent() const override; |
| 99 void setIsTransparent(bool) override; | 99 void setIsTransparent(bool) override; |
| 100 void setBaseBackgroundColor(WebColor) override; | 100 void setBaseBackgroundColor(WebColor) override; |
| 101 WebLocalFrameImpl* localRoot() override; | 101 WebLocalFrameImpl* localRoot() const override; |
| 102 | 102 |
| 103 // WebFrameWidgetBase overrides: | 103 // WebFrameWidgetBase overrides: |
| 104 bool forSubframe() const override { return false; } | 104 bool forSubframe() const override { return false; } |
| 105 void scheduleAnimation() override; | 105 void scheduleAnimation() override; |
| 106 CompositorProxyClient* createCompositorProxyClient() override; | 106 CompositorProxyClient* createCompositorProxyClient() override; |
| 107 void setRootGraphicsLayer(GraphicsLayer*) override; | 107 void setRootGraphicsLayer(GraphicsLayer*) override; |
| 108 void setRootLayer(WebLayer*) override; | 108 void setRootLayer(WebLayer*) override; |
| 109 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) override; | 109 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) override; |
| 110 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) override; | 110 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) override; |
| 111 WebWidgetClient* client() const override { return m_client; } | 111 WebWidgetClient* client() const override { return m_client; } |
| 112 HitTestResult coreHitTestResultAt(const WebPoint&) override; | 112 HitTestResult coreHitTestResultAt(const WebPoint&) override; |
| 113 | 113 |
| 114 private: | 114 private: |
| 115 WebWidgetClient* m_client; | 115 WebWidgetClient* m_client; |
| 116 RefPtr<WebViewImpl> m_webView; | 116 RefPtr<WebViewImpl> m_webView; |
| 117 Persistent<WebLocalFrameImpl> m_mainFrame; | 117 Persistent<WebLocalFrameImpl> m_mainFrame; |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 } // namespace blink | 120 } // namespace blink |
| 121 | 121 |
| 122 #endif // WebViewFrameWidget_h | 122 #endif // WebViewFrameWidget_h |
| OLD | NEW |