OLD | NEW |
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_VIEW_MANAGER_SERVER_VIEW_H_ | 5 #ifndef COMPONENTS_VIEW_MANAGER_SERVER_VIEW_H_ |
6 #define COMPONENTS_VIEW_MANAGER_SERVER_VIEW_H_ | 6 #define COMPONENTS_VIEW_MANAGER_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_id.h" | 12 #include "cc/surfaces/surface_id.h" |
13 #include "components/view_manager/ids.h" | 13 #include "components/view_manager/ids.h" |
14 #include "components/view_manager/public/interfaces/view_manager.mojom.h" | 14 #include "components/view_manager/public/interfaces/view_tree.mojom.h" |
15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
16 #include "ui/gfx/transform.h" | 16 #include "ui/gfx/transform.h" |
17 #include "ui/platform_window/text_input_state.h" | 17 #include "ui/platform_window/text_input_state.h" |
18 | 18 |
19 namespace view_manager { | 19 namespace view_manager { |
20 | 20 |
21 class ServerViewDelegate; | 21 class ServerViewDelegate; |
22 class ServerViewObserver; | 22 class ServerViewObserver; |
23 | 23 |
24 // Server side representation of a view. Delegate is informed of interesting | 24 // Server side representation of a view. Delegate is informed of interesting |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 std::map<std::string, std::vector<uint8_t>> properties_; | 123 std::map<std::string, std::vector<uint8_t>> properties_; |
124 | 124 |
125 base::ObserverList<ServerViewObserver> observers_; | 125 base::ObserverList<ServerViewObserver> observers_; |
126 | 126 |
127 DISALLOW_COPY_AND_ASSIGN(ServerView); | 127 DISALLOW_COPY_AND_ASSIGN(ServerView); |
128 }; | 128 }; |
129 | 129 |
130 } // namespace view_manager | 130 } // namespace view_manager |
131 | 131 |
132 #endif // COMPONENTS_VIEW_MANAGER_SERVER_VIEW_H_ | 132 #endif // COMPONENTS_VIEW_MANAGER_SERVER_VIEW_H_ |
OLD | NEW |