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

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

Issue 1779933003: Mozart: Replace Set/Reset nomenclature with Set/Clear. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-8
Patch Set: 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
« no previous file with comments | « services/gfx/compositor/renderer_impl.h ('k') | services/gfx/compositor/renderer_state.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 15 matching lines...) Expand all
26 } 26 }
27 27
28 void RendererImpl::SetRootScene( 28 void RendererImpl::SetRootScene(
29 mojo::gfx::composition::SceneTokenPtr scene_token, 29 mojo::gfx::composition::SceneTokenPtr scene_token,
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::ResetRootScene() { 36 void RendererImpl::ClearRootScene() {
37 engine_->ResetRootScene(state_); 37 engine_->ClearRootScene(state_);
38 } 38 }
39 39
40 void RendererImpl::HitTest(mojo::PointPtr point, 40 void RendererImpl::HitTest(mojo::PointPtr 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/gfx/compositor/renderer_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698