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

Side by Side Diff: components/mus/server_view.h

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated all the namespaces in mus Created 5 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_MUS_SERVER_VIEW_H_ 5 #ifndef COMPONENTS_MUS_SERVER_VIEW_H_
6 #define COMPONENTS_MUS_SERVER_VIEW_H_ 6 #define COMPONENTS_MUS_SERVER_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/observer_list.h" 11 #include "base/observer_list.h"
12 #include "cc/surfaces/surface_factory.h" 12 #include "cc/surfaces/surface_factory.h"
13 #include "cc/surfaces/surface_factory_client.h" 13 #include "cc/surfaces/surface_factory_client.h"
14 #include "cc/surfaces/surface_id.h" 14 #include "cc/surfaces/surface_id.h"
15 #include "cc/surfaces/surface_id_allocator.h" 15 #include "cc/surfaces/surface_id_allocator.h"
16 #include "components/mus/ids.h" 16 #include "components/mus/ids.h"
17 #include "components/mus/public/interfaces/view_tree.mojom.h" 17 #include "components/mus/public/interfaces/view_tree.mojom.h"
18 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" 18 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
19 #include "ui/gfx/geometry/rect.h" 19 #include "ui/gfx/geometry/rect.h"
20 #include "ui/gfx/transform.h" 20 #include "ui/gfx/transform.h"
21 #include "ui/platform_window/text_input_state.h" 21 #include "ui/platform_window/text_input_state.h"
22 22
23 namespace view_manager { 23 namespace mus {
24 24
25 class ServerViewDelegate; 25 class ServerViewDelegate;
26 class ServerViewObserver; 26 class ServerViewObserver;
27 27
28 // Server side representation of a view. Delegate is informed of interesting 28 // Server side representation of a view. Delegate is informed of interesting
29 // events. 29 // events.
30 // 30 //
31 // It is assumed that all functions that mutate the tree have validated the 31 // It is assumed that all functions that mutate the tree have validated the
32 // mutation is possible before hand. For example, Reorder() assumes the supplied 32 // mutation is possible before hand. For example, Reorder() assumes the supplied
33 // view is a child and not already in position. 33 // view is a child and not already in position.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 std::map<std::string, std::vector<uint8_t>> properties_; 155 std::map<std::string, std::vector<uint8_t>> properties_;
156 156
157 base::ObserverList<ServerViewObserver> observers_; 157 base::ObserverList<ServerViewObserver> observers_;
158 mojo::SurfaceClientPtr client_; 158 mojo::SurfaceClientPtr client_;
159 mojo::Binding<Surface> binding_; 159 mojo::Binding<Surface> binding_;
160 160
161 DISALLOW_COPY_AND_ASSIGN(ServerView); 161 DISALLOW_COPY_AND_ASSIGN(ServerView);
162 }; 162 };
163 163
164 } // namespace view_manager 164 } // namespace mus
165 165
166 #endif // COMPONENTS_MUS_SERVER_VIEW_H_ 166 #endif // COMPONENTS_MUS_SERVER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698