Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(912)

Side by Side Diff: third_party/WebKit/Source/web/WebViewFrameWidget.h

Issue 2515363002: Introduce AnimationWorkletProxyClient and necessary plumbing to get it in worklet messaging proxy. (Closed)
Patch Set: Remove unnecessary PLATFORM_EXPORT Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 bool isTransparent() const override; 90 bool isTransparent() const override;
91 void setIsTransparent(bool) override; 91 void setIsTransparent(bool) override;
92 void setBaseBackgroundColor(WebColor) override; 92 void setBaseBackgroundColor(WebColor) override;
93 WebLocalFrameImpl* localRoot() const override; 93 WebLocalFrameImpl* localRoot() const override;
94 WebInputMethodControllerImpl* getActiveWebInputMethodController() 94 WebInputMethodControllerImpl* getActiveWebInputMethodController()
95 const override; 95 const override;
96 96
97 // WebFrameWidgetBase overrides: 97 // WebFrameWidgetBase overrides:
98 bool forSubframe() const override { return false; } 98 bool forSubframe() const override { return false; }
99 void scheduleAnimation() override; 99 void scheduleAnimation() override;
100 CompositorProxyClient* createCompositorProxyClient() override; 100 CompositorWorkerProxyClient* createCompositorWorkerProxyClient() override;
101 AnimationWorkletProxyClient* createAnimationWorkletProxyClient() override;
101 void setRootGraphicsLayer(GraphicsLayer*) override; 102 void setRootGraphicsLayer(GraphicsLayer*) override;
102 void setRootLayer(WebLayer*) override; 103 void setRootLayer(WebLayer*) override;
103 WebLayerTreeView* getLayerTreeView() const override; 104 WebLayerTreeView* getLayerTreeView() const override;
104 CompositorAnimationHost* animationHost() const override; 105 CompositorAnimationHost* animationHost() const override;
105 WebWidgetClient* client() const override { return m_client; } 106 WebWidgetClient* client() const override { return m_client; }
106 HitTestResult coreHitTestResultAt(const WebPoint&) override; 107 HitTestResult coreHitTestResultAt(const WebPoint&) override;
107 108
108 private: 109 private:
109 WebWidgetClient* m_client; 110 WebWidgetClient* m_client;
110 RefPtr<WebViewImpl> m_webView; 111 RefPtr<WebViewImpl> m_webView;
111 Persistent<WebLocalFrameImpl> m_mainFrame; 112 Persistent<WebLocalFrameImpl> m_mainFrame;
112 }; 113 };
113 114
114 } // namespace blink 115 } // namespace blink
115 116
116 #endif // WebViewFrameWidget_h 117 #endif // WebViewFrameWidget_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewFrameWidget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698