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

Side by Side Diff: services/ui/view_manager/view_tree_impl.h

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/ui/view_manager/view_registry.cc ('k') | services/ui/view_manager/view_tree_impl.cc » ('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 #ifndef SERVICES_UI_VIEW_MANAGER_VIEW_TREE_IMPL_H_ 5 #ifndef SERVICES_UI_VIEW_MANAGER_VIEW_TREE_IMPL_H_
6 #define SERVICES_UI_VIEW_MANAGER_VIEW_TREE_IMPL_H_ 6 #define SERVICES_UI_VIEW_MANAGER_VIEW_TREE_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/common/binding_set.h" 9 #include "mojo/common/binding_set.h"
10 #include "mojo/services/ui/views/interfaces/view_trees.mojom.h" 10 #include "mojo/services/ui/views/interfaces/view_trees.mojom.h"
(...skipping 14 matching lines...) Expand all
25 // |ViewTree|: 25 // |ViewTree|:
26 void GetToken(const GetTokenCallback& callback) override; 26 void GetToken(const GetTokenCallback& callback) override;
27 void GetServiceProvider( 27 void GetServiceProvider(
28 mojo::InterfaceRequest<mojo::ServiceProvider> service_provider) override; 28 mojo::InterfaceRequest<mojo::ServiceProvider> service_provider) override;
29 void SetRenderer(mojo::InterfaceHandle<mojo::gfx::composition::Renderer> 29 void SetRenderer(mojo::InterfaceHandle<mojo::gfx::composition::Renderer>
30 renderer) override; 30 renderer) override;
31 void RequestLayout() override; 31 void RequestLayout() override;
32 void SetRoot( 32 void SetRoot(
33 uint32_t root_key, 33 uint32_t root_key,
34 mojo::InterfaceHandle<mojo::ui::ViewOwner> root_view_owner) override; 34 mojo::InterfaceHandle<mojo::ui::ViewOwner> root_view_owner) override;
35 void ResetRoot(mojo::InterfaceRequest<mojo::ui::ViewOwner> 35 void ClearRoot(mojo::InterfaceRequest<mojo::ui::ViewOwner>
36 transferred_view_owner_request) override; 36 transferred_view_owner_request) override;
37 void LayoutRoot(mojo::ui::ViewLayoutParamsPtr root_layout_params, 37 void LayoutRoot(mojo::ui::ViewLayoutParamsPtr root_layout_params,
38 const LayoutRootCallback& callback) override; 38 const LayoutRootCallback& callback) override;
39 39
40 // |ServiceProvider|: 40 // |ServiceProvider|:
41 void ConnectToService(const mojo::String& service_name, 41 void ConnectToService(const mojo::String& service_name,
42 mojo::ScopedMessagePipeHandle client_handle) override; 42 mojo::ScopedMessagePipeHandle client_handle) override;
43 43
44 ViewRegistry* const registry_; 44 ViewRegistry* const registry_;
45 ViewTreeState* const state_; 45 ViewTreeState* const state_;
46 mojo::BindingSet<mojo::ServiceProvider> service_provider_bindings_; 46 mojo::BindingSet<mojo::ServiceProvider> service_provider_bindings_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(ViewTreeImpl); 48 DISALLOW_COPY_AND_ASSIGN(ViewTreeImpl);
49 }; 49 };
50 50
51 } // namespace view_manager 51 } // namespace view_manager
52 52
53 #endif // SERVICES_UI_VIEW_MANAGER_VIEW_TREE_IMPL_H_ 53 #endif // SERVICES_UI_VIEW_MANAGER_VIEW_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « services/ui/view_manager/view_registry.cc ('k') | services/ui/view_manager/view_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698