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 "public/web/WebFrameWidget.h" | 9 #include "public/web/WebFrameWidget.h" |
10 #include "wtf/Noncopyable.h" | 10 #include "wtf/Noncopyable.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 void updateTopControlsState(WebTopControlsState constraints, WebTopControlsS
tate current, bool animate) override; | 90 void updateTopControlsState(WebTopControlsState constraints, WebTopControlsS
tate current, 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 bool forSubframe() const { return false; } | 95 bool forSubframe() const { return false; } |
96 void scheduleAnimation() override; | 96 void scheduleAnimation() override; |
97 CompositorProxyClient* createCompositorProxyClient() override; | 97 CompositorProxyClient* createCompositorProxyClient(WorkerClients&) override; |
98 void setRootGraphicsLayer(GraphicsLayer*) override; | 98 void setRootGraphicsLayer(GraphicsLayer*) override; |
99 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; | 99 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; |
100 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; | 100 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) overrid
e; |
101 WebWidgetClient* client() const override { return m_client; } | 101 WebWidgetClient* client() const override { return m_client; } |
102 | 102 |
103 private: | 103 private: |
104 WebWidgetClient* m_client; | 104 WebWidgetClient* m_client; |
105 RefPtr<WebViewImpl> m_webView; | 105 RefPtr<WebViewImpl> m_webView; |
106 Persistent<WebLocalFrameImpl> m_mainFrame; | 106 Persistent<WebLocalFrameImpl> m_mainFrame; |
107 }; | 107 }; |
108 | 108 |
109 } // namespace blink | 109 } // namespace blink |
110 | 110 |
111 #endif // WebViewFrameWidget_h | 111 #endif // WebViewFrameWidget_h |
OLD | NEW |