Chromium Code Reviews| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 80 bool isAcceleratedCompositingActive() const override; | 80 bool isAcceleratedCompositingActive() const override; |
| 81 bool isWebView() const override { return false; } | 81 bool isWebView() const override { return false; } |
| 82 bool isPagePopup() const override { return false; } | 82 bool isPagePopup() const override { return false; } |
| 83 void willCloseLayerTreeView() override; | 83 void willCloseLayerTreeView() override; |
| 84 void didAcquirePointerLock() override; | 84 void didAcquirePointerLock() override; |
| 85 void didNotAcquirePointerLock() override; | 85 void didNotAcquirePointerLock() override; |
| 86 void didLosePointerLock() override; | 86 void didLosePointerLock() override; |
| 87 void didChangeWindowResizerRect() override; | 87 void didChangeWindowResizerRect() override; |
| 88 WebColor backgroundColor() const override; | 88 WebColor backgroundColor() const override; |
| 89 WebPagePopup* pagePopup() const override; | 89 WebPagePopup* pagePopup() const override; |
| 90 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; | |
| 91 void applyReplacementRange(int start, int length) override; | |
|
dcheng
2016/09/08 19:42:16
How come these lines are in this patch?
lfg
2016/09/08 19:58:24
When they were added, they were added only to WebV
| |
| 90 void updateTopControlsState(WebTopControlsState constraints, WebTopControlsS tate current, bool animate) override; | 92 void updateTopControlsState(WebTopControlsState constraints, WebTopControlsS tate current, bool animate) override; |
| 91 void setVisibilityState(WebPageVisibilityState) override; | 93 void setVisibilityState(WebPageVisibilityState) override; |
| 92 bool isTransparent() const override; | 94 bool isTransparent() const override; |
| 93 void setIsTransparent(bool) override; | 95 void setIsTransparent(bool) override; |
| 94 void setBaseBackgroundColor(WebColor) override; | 96 void setBaseBackgroundColor(WebColor) override; |
| 95 WebLocalFrameImpl* localRoot() override; | 97 WebLocalFrameImpl* localRoot() override; |
| 96 | 98 |
| 97 // WebFrameWidgetBase overrides: | 99 // WebFrameWidgetBase overrides: |
| 98 bool forSubframe() const override { return false; } | 100 bool forSubframe() const override { return false; } |
| 99 void scheduleAnimation() override; | 101 void scheduleAnimation() override; |
| 100 CompositorProxyClient* createCompositorProxyClient() override; | 102 CompositorProxyClient* createCompositorProxyClient() override; |
| 101 void setRootGraphicsLayer(GraphicsLayer*) override; | 103 void setRootGraphicsLayer(GraphicsLayer*) override; |
| 102 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid e; | 104 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid e; |
| 103 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid e; | 105 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid e; |
| 104 WebWidgetClient* client() const override { return m_client; } | 106 WebWidgetClient* client() const override { return m_client; } |
| 105 | 107 |
| 106 private: | 108 private: |
| 107 WebWidgetClient* m_client; | 109 WebWidgetClient* m_client; |
| 108 RefPtr<WebViewImpl> m_webView; | 110 RefPtr<WebViewImpl> m_webView; |
| 109 Persistent<WebLocalFrameImpl> m_mainFrame; | 111 Persistent<WebLocalFrameImpl> m_mainFrame; |
| 110 }; | 112 }; |
| 111 | 113 |
| 112 } // namespace blink | 114 } // namespace blink |
| 113 | 115 |
| 114 #endif // WebViewFrameWidget_h | 116 #endif // WebViewFrameWidget_h |
| OLD | NEW |