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

Side by Side Diff: webkit/compositor_bindings/web_layer_tree_view_impl.cc

Issue 11275113: Remove most remaining references to IntRect and FloatRect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compositor bindings Created 8 years, 1 month 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 | « cc/tiled_layer_unittest.cc ('k') | 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 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 #include "config.h" 5 #include "config.h"
6 #include "web_layer_tree_view_impl.h" 6 #include "web_layer_tree_view_impl.h"
7 7
8 #include "cc/font_atlas.h" 8 #include "cc/font_atlas.h"
9 #include "cc/input_handler.h" 9 #include "cc/input_handler.h"
10 #include "cc/layer.h" 10 #include "cc/layer.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 } 161 }
162 162
163 void WebLayerTreeViewImpl::updateAnimations(double frameBeginTimeSeconds) 163 void WebLayerTreeViewImpl::updateAnimations(double frameBeginTimeSeconds)
164 { 164 {
165 base::TimeTicks frameBeginTime = base::TimeTicks::FromInternalValue(frameBeg inTimeSeconds * base::Time::kMicrosecondsPerSecond); 165 base::TimeTicks frameBeginTime = base::TimeTicks::FromInternalValue(frameBeg inTimeSeconds * base::Time::kMicrosecondsPerSecond);
166 m_layerTreeHost->updateAnimations(frameBeginTime); 166 m_layerTreeHost->updateAnimations(frameBeginTime);
167 } 167 }
168 168
169 bool WebLayerTreeViewImpl::compositeAndReadback(void *pixels, const WebRect& rec t) 169 bool WebLayerTreeViewImpl::compositeAndReadback(void *pixels, const WebRect& rec t)
170 { 170 {
171 return m_layerTreeHost->compositeAndReadback(pixels, convert(rect)); 171 return m_layerTreeHost->compositeAndReadback(pixels, rect);
172 } 172 }
173 173
174 void WebLayerTreeViewImpl::finishAllRendering() 174 void WebLayerTreeViewImpl::finishAllRendering()
175 { 175 {
176 m_layerTreeHost->finishAllRendering(); 176 m_layerTreeHost->finishAllRendering();
177 } 177 }
178 178
179 void WebLayerTreeViewImpl::setDeferCommits(bool deferCommits) 179 void WebLayerTreeViewImpl::setDeferCommits(bool deferCommits)
180 { 180 {
181 m_layerTreeHost->setDeferCommits(deferCommits); 181 m_layerTreeHost->setDeferCommits(deferCommits);
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 { 274 {
275 m_client->didCompleteSwapBuffers(); 275 m_client->didCompleteSwapBuffers();
276 } 276 }
277 277
278 void WebLayerTreeViewImpl::scheduleComposite() 278 void WebLayerTreeViewImpl::scheduleComposite()
279 { 279 {
280 m_client->scheduleComposite(); 280 m_client->scheduleComposite();
281 } 281 }
282 282
283 } // namespace WebKit 283 } // namespace WebKit
OLDNEW
« no previous file with comments | « cc/tiled_layer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698