OLD | NEW |
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 Loading... |
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 |
OLD | NEW |