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

Side by Side Diff: services/gfx/compositor/renderer_impl.cc

Issue 1782733002: Mozart: The great RectF-ication. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-9
Patch Set: rebase 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "services/gfx/compositor/renderer_impl.h" 5 #include "services/gfx/compositor/renderer_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 9
10 namespace compositor { 10 namespace compositor {
(...skipping 19 matching lines...) Expand all
30 uint32 scene_version, 30 uint32 scene_version,
31 mojo::RectPtr viewport) { 31 mojo::RectPtr viewport) {
32 engine_->SetRootScene(state_, scene_token.Pass(), scene_version, 32 engine_->SetRootScene(state_, scene_token.Pass(), scene_version,
33 viewport.Pass()); 33 viewport.Pass());
34 } 34 }
35 35
36 void RendererImpl::ClearRootScene() { 36 void RendererImpl::ClearRootScene() {
37 engine_->ClearRootScene(state_); 37 engine_->ClearRootScene(state_);
38 } 38 }
39 39
40 void RendererImpl::HitTest(mojo::PointPtr point, 40 void RendererImpl::HitTest(mojo::PointFPtr point,
41 const HitTestCallback& callback) { 41 const HitTestCallback& callback) {
42 engine_->HitTest(state_, point.Pass(), callback); 42 engine_->HitTest(state_, point.Pass(), callback);
43 } 43 }
44 44
45 } // namespace compositor 45 } // namespace compositor
OLDNEW
« no previous file with comments | « services/gfx/compositor/renderer_impl.h ('k') | services/ui/input_manager/input_dispatcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698