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

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

Issue 2150443002: Supplement should have a Member to the corresponding Supplementable object (Part 1) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebFrameWidgetBase_h 5 #ifndef WebFrameWidgetBase_h
6 #define WebFrameWidgetBase_h 6 #define WebFrameWidgetBase_h
7 7
8 #include "public/web/WebFrameWidget.h" 8 #include "public/web/WebFrameWidget.h"
9 #include "wtf/Assertions.h" 9 #include "wtf/Assertions.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class CompositorAnimationTimeline; 13 class CompositorAnimationTimeline;
14 class CompositorProxyClient; 14 class CompositorProxyClient;
15 class GraphicsLayer; 15 class GraphicsLayer;
16 class WorkerClients;
16 17
17 class WebFrameWidgetBase : public WebFrameWidget { 18 class WebFrameWidgetBase : public WebFrameWidget {
18 public: 19 public:
19 virtual bool forSubframe() const = 0; 20 virtual bool forSubframe() const = 0;
20 virtual void scheduleAnimation() = 0; 21 virtual void scheduleAnimation() = 0;
21 virtual CompositorProxyClient* createCompositorProxyClient() = 0; 22 virtual CompositorProxyClient* createCompositorProxyClient(WorkerClients&) = 0;
22 virtual WebWidgetClient* client() const = 0; 23 virtual WebWidgetClient* client() const = 0;
23 24
24 // Sets the root graphics layer. |GraphicsLayer| can be null when detaching 25 // Sets the root graphics layer. |GraphicsLayer| can be null when detaching
25 // the root layer. 26 // the root layer.
26 virtual void setRootGraphicsLayer(GraphicsLayer*) = 0; 27 virtual void setRootGraphicsLayer(GraphicsLayer*) = 0;
27 28
28 // Attaches/detaches a CompositorAnimationTimeline to the layer tree. 29 // Attaches/detaches a CompositorAnimationTimeline to the layer tree.
29 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) = 0; 30 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*) = 0;
30 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) = 0; 31 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*) = 0;
31 }; 32 };
32 33
33 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true); 34 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true);
34 35
35 } // namespace blink 36 } // namespace blink
36 37
37 #endif 38 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/CompositorProxyClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698