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