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

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

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 #ifndef SERVICES_GFX_COMPOSITOR_RENDERER_IMPL_H_ 5 #ifndef SERVICES_GFX_COMPOSITOR_RENDERER_IMPL_H_
6 #define SERVICES_GFX_COMPOSITOR_RENDERER_IMPL_H_ 6 #define SERVICES_GFX_COMPOSITOR_RENDERER_IMPL_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "mojo/common/binding_set.h" 10 #include "mojo/common/binding_set.h"
(...skipping 22 matching lines...) Expand all
33 private: 33 private:
34 // |Renderer|: 34 // |Renderer|:
35 void SetRootScene(mojo::gfx::composition::SceneTokenPtr scene_token, 35 void SetRootScene(mojo::gfx::composition::SceneTokenPtr scene_token,
36 uint32 scene_version, 36 uint32 scene_version,
37 mojo::RectPtr viewport) override; 37 mojo::RectPtr viewport) override;
38 void ClearRootScene() override; 38 void ClearRootScene() override;
39 void GetHitTester(mojo::InterfaceRequest<mojo::gfx::composition::HitTester> 39 void GetHitTester(mojo::InterfaceRequest<mojo::gfx::composition::HitTester>
40 hit_tester_request) override; 40 hit_tester_request) override;
41 41
42 // |HitTester|: 42 // |HitTester|:
43 void HitTest(mojo::PointPtr point, const HitTestCallback& callback) override; 43 void HitTest(mojo::PointFPtr point, const HitTestCallback& callback) override;
44 44
45 CompositorEngine* const engine_; 45 CompositorEngine* const engine_;
46 RendererState* const state_; 46 RendererState* const state_;
47 mojo::Binding<mojo::gfx::composition::Renderer> renderer_binding_; 47 mojo::Binding<mojo::gfx::composition::Renderer> renderer_binding_;
48 mojo::BindingSet<mojo::gfx::composition::HitTester> hit_tester_bindings; 48 mojo::BindingSet<mojo::gfx::composition::HitTester> hit_tester_bindings;
49 49
50 DISALLOW_COPY_AND_ASSIGN(RendererImpl); 50 DISALLOW_COPY_AND_ASSIGN(RendererImpl);
51 }; 51 };
52 52
53 } // namespace compositor 53 } // namespace compositor
54 54
55 #endif // SERVICES_GFX_COMPOSITOR_RENDERER_IMPL_H_ 55 #endif // SERVICES_GFX_COMPOSITOR_RENDERER_IMPL_H_
OLDNEW
« no previous file with comments | « services/gfx/compositor/render/render_frame.cc ('k') | services/gfx/compositor/renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698