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

Side by Side Diff: third_party/WebKit/public/platform/WebLayerTreeView.h

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ScrollAnimatorCompositorCoordinator for MSVC. Created 4 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 18 matching lines...) Expand all
29 #include "WebColor.h" 29 #include "WebColor.h"
30 #include "WebCommon.h" 30 #include "WebCommon.h"
31 #include "WebFloatPoint.h" 31 #include "WebFloatPoint.h"
32 #include "WebNonCopyable.h" 32 #include "WebNonCopyable.h"
33 #include "WebPrivateOwnPtr.h" 33 #include "WebPrivateOwnPtr.h"
34 #include "WebSize.h" 34 #include "WebSize.h"
35 #include "WebTopControlsState.h" 35 #include "WebTopControlsState.h"
36 36
37 class SkBitmap; 37 class SkBitmap;
38 38
39 namespace cc {
40 class AnimationTimeline;
41 }
42
39 namespace blink { 43 namespace blink {
40 44
41 class WebCompositeAndReadbackAsyncCallback; 45 class WebCompositeAndReadbackAsyncCallback;
42 class WebCompositorAnimationTimeline;
43 class WebLayer; 46 class WebLayer;
44 class WebLayoutAndPaintAsyncCallback; 47 class WebLayoutAndPaintAsyncCallback;
45 struct WebPoint; 48 struct WebPoint;
46 struct WebSelectionBound; 49 struct WebSelectionBound;
47 class WebSelection; 50 class WebSelection;
48 class WebWidget; 51 class WebWidget;
49 52
50 class WebLayerTreeView { 53 class WebLayerTreeView {
51 public: 54 public:
52 virtual ~WebLayerTreeView() { } 55 virtual ~WebLayerTreeView() { }
53 56
54 // Initialization and lifecycle -------------------------------------- 57 // Initialization and lifecycle --------------------------------------
55 58
56 // Sets the root of the tree. The root is set by way of the constructor. 59 // Sets the root of the tree. The root is set by way of the constructor.
57 virtual void setRootLayer(const WebLayer&) { } 60 virtual void setRootLayer(const WebLayer&) { }
58 virtual void clearRootLayer() { } 61 virtual void clearRootLayer() { }
59 62
60 virtual void attachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*) { } 63 virtual void attachCompositorAnimationTimeline(cc::AnimationTimeline*) { }
61 virtual void detachCompositorAnimationTimeline(WebCompositorAnimationTimelin e*) { } 64 virtual void detachCompositorAnimationTimeline(cc::AnimationTimeline*) { }
62 65
63 // View properties --------------------------------------------------- 66 // View properties ---------------------------------------------------
64 67
65 virtual void setViewportSize(const WebSize& deviceViewportSize) { } 68 virtual void setViewportSize(const WebSize& deviceViewportSize) { }
66 69
67 virtual void setDeviceScaleFactor(float) { } 70 virtual void setDeviceScaleFactor(float) { }
68 71
69 // Sets the background color for the viewport. 72 // Sets the background color for the viewport.
70 virtual void setBackgroundColor(WebColor) { } 73 virtual void setBackgroundColor(WebColor) { }
71 74
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // Toggles the debug borders on layers 157 // Toggles the debug borders on layers
155 virtual void setShowDebugBorders(bool) { } 158 virtual void setShowDebugBorders(bool) { }
156 159
157 // Toggles scroll bottleneck rects on the HUD layer 160 // Toggles scroll bottleneck rects on the HUD layer
158 virtual void setShowScrollBottleneckRects(bool) { } 161 virtual void setShowScrollBottleneckRects(bool) { }
159 }; 162 };
160 163
161 } // namespace blink 164 } // namespace blink
162 165
163 #endif // WebLayerTreeView_h 166 #endif // WebLayerTreeView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698