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

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

Issue 1739743003: Blink Compositor Animation: Erase old animation system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Exclude histograms.xml Created 4 years, 9 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // alive until it is called. 123 // alive until it is called.
124 virtual void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) { } 124 virtual void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) { }
125 125
126 // The caller is responsible for keeping the WebCompositeAndReadbackAsyncCal lback 126 // The caller is responsible for keeping the WebCompositeAndReadbackAsyncCal lback
127 // object alive until it is called. 127 // object alive until it is called.
128 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) { } 128 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) { }
129 129
130 // Prevents updates to layer tree from becoming visible. 130 // Prevents updates to layer tree from becoming visible.
131 virtual void setDeferCommits(bool deferCommits) { } 131 virtual void setDeferCommits(bool deferCommits) { }
132 132
133 // Take responsiblity for this layer's animations, even if this layer hasn't yet
134 // been added to the tree.
135 virtual void registerForAnimations(WebLayer* layer) { }
136
137 // Identify key layers to the compositor when using the pinch virtual viewpo rt. 133 // Identify key layers to the compositor when using the pinch virtual viewpo rt.
138 virtual void registerViewportLayers( 134 virtual void registerViewportLayers(
139 const WebLayer* overscrollElasticityLayer, 135 const WebLayer* overscrollElasticityLayer,
140 const WebLayer* pageScaleLayer, 136 const WebLayer* pageScaleLayer,
141 const WebLayer* innerViewportScrollLayer, 137 const WebLayer* innerViewportScrollLayer,
142 const WebLayer* outerViewportScrollLayer) { } 138 const WebLayer* outerViewportScrollLayer) { }
143 virtual void clearViewportLayers() { } 139 virtual void clearViewportLayers() { }
144 140
145 // Used to update the active selection bounds. 141 // Used to update the active selection bounds.
146 virtual void registerSelection(const WebSelection&) { } 142 virtual void registerSelection(const WebSelection&) { }
(...skipping 19 matching lines...) Expand all
166 // Toggles the debug borders on layers 162 // Toggles the debug borders on layers
167 virtual void setShowDebugBorders(bool) { } 163 virtual void setShowDebugBorders(bool) { }
168 164
169 // Toggles scroll bottleneck rects on the HUD layer 165 // Toggles scroll bottleneck rects on the HUD layer
170 virtual void setShowScrollBottleneckRects(bool) { } 166 virtual void setShowScrollBottleneckRects(bool) { }
171 }; 167 };
172 168
173 } // namespace blink 169 } // namespace blink
174 170
175 #endif // WebLayerTreeView_h 171 #endif // WebLayerTreeView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebLayer.h ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698