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

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

Issue 1310713006: Remove WebLayerTreeView::finishAllRendering(), nothing uses it. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 // Run layout and paint of all pending document changes asynchronously. 122 // Run layout and paint of all pending document changes asynchronously.
123 // The caller is resposible for keeping the WebLayoutAndPaintAsyncCallback o bject 123 // The caller is resposible for keeping the WebLayoutAndPaintAsyncCallback o bject
124 // alive until it is called. 124 // alive until it is called.
125 virtual void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) { } 125 virtual void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) { }
126 126
127 // The caller is responsible for keeping the WebCompositeAndReadbackAsyncCal lback 127 // The caller is responsible for keeping the WebCompositeAndReadbackAsyncCal lback
128 // object alive until it is called. 128 // object alive until it is called.
129 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) { } 129 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) { }
130 130
131 // Blocks until the most recently composited frame has finished rendering on the GPU.
132 // This can have a significant performance impact and should be used with ca re.
133 virtual void finishAllRendering() { }
134
135 // Prevents updates to layer tree from becoming visible. 131 // Prevents updates to layer tree from becoming visible.
136 virtual void setDeferCommits(bool deferCommits) { } 132 virtual void setDeferCommits(bool deferCommits) { }
137 133
138 // Take responsiblity for this layer's animations, even if this layer hasn't yet 134 // Take responsiblity for this layer's animations, even if this layer hasn't yet
139 // been added to the tree. 135 // been added to the tree.
140 virtual void registerForAnimations(WebLayer* layer) { } 136 virtual void registerForAnimations(WebLayer* layer) { }
141 137
142 // Identify key layers to the compositor when using the pinch virtual viewpo rt. 138 // Identify key layers to the compositor when using the pinch virtual viewpo rt.
143 virtual void registerViewportLayers( 139 virtual void registerViewportLayers(
144 const WebLayer* overscrollElasticityLayer, 140 const WebLayer* overscrollElasticityLayer,
(...skipping 24 matching lines...) Expand all
169 // Toggles continuous painting 165 // Toggles continuous painting
170 virtual void setContinuousPaintingEnabled(bool) { } 166 virtual void setContinuousPaintingEnabled(bool) { }
171 167
172 // Toggles scroll bottleneck rects on the HUD layer 168 // Toggles scroll bottleneck rects on the HUD layer
173 virtual void setShowScrollBottleneckRects(bool) { } 169 virtual void setShowScrollBottleneckRects(bool) { }
174 }; 170 };
175 171
176 } // namespace blink 172 } // namespace blink
177 173
178 #endif // WebLayerTreeView_h 174 #endif // WebLayerTreeView_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698