| 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 SERVICES_VIEW_MANAGER_SERVER_VIEW_H_ | 5 #ifndef SERVICES_VIEW_MANAGER_SERVER_VIEW_H_ |
| 6 #define SERVICES_VIEW_MANAGER_SERVER_VIEW_H_ | 6 #define SERVICES_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 "mojo/services/view_manager/public/interfaces/view_manager.mojom.h" | 13 #include "mojo/services/view_manager/interfaces/view_manager.mojom.h" |
| 14 #include "services/view_manager/ids.h" | 14 #include "services/view_manager/ids.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 | 17 |
| 18 namespace view_manager { | 18 namespace view_manager { |
| 19 | 19 |
| 20 class ServerViewDelegate; | 20 class ServerViewDelegate; |
| 21 class ServerViewObserver; | 21 class ServerViewObserver; |
| 22 | 22 |
| 23 // Server side representation of a view. Delegate is informed of interesting | 23 // Server side representation of a view. Delegate is informed of interesting |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 std::map<std::string, std::vector<uint8_t>> properties_; | 111 std::map<std::string, std::vector<uint8_t>> properties_; |
| 112 | 112 |
| 113 base::ObserverList<ServerViewObserver> observers_; | 113 base::ObserverList<ServerViewObserver> observers_; |
| 114 | 114 |
| 115 DISALLOW_COPY_AND_ASSIGN(ServerView); | 115 DISALLOW_COPY_AND_ASSIGN(ServerView); |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 } // namespace view_manager | 118 } // namespace view_manager |
| 119 | 119 |
| 120 #endif // SERVICES_VIEW_MANAGER_SERVER_VIEW_H_ | 120 #endif // SERVICES_VIEW_MANAGER_SERVER_VIEW_H_ |
| OLD | NEW |