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" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 ServerView* parent_; | 103 ServerView* parent_; |
104 Views children_; | 104 Views children_; |
105 bool visible_; | 105 bool visible_; |
106 gfx::Rect bounds_; | 106 gfx::Rect bounds_; |
107 cc::SurfaceId surface_id_; | 107 cc::SurfaceId surface_id_; |
108 float opacity_; | 108 float opacity_; |
109 gfx::Transform transform_; | 109 gfx::Transform transform_; |
110 | 110 |
111 std::map<std::string, std::vector<uint8_t>> properties_; | 111 std::map<std::string, std::vector<uint8_t>> properties_; |
112 | 112 |
113 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 // COMPONENTS_VIEW_MANAGER_SERVER_VIEW_H_ | 120 #endif // COMPONENTS_VIEW_MANAGER_SERVER_VIEW_H_ |
OLD | NEW |