| 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 MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_H_ | 5 #ifndef SERVICES_VIEW_MANAGER_SERVER_VIEW_H_ |
| 6 #define MOJO_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 "cc/surfaces/surface_id.h" | 11 #include "cc/surfaces/surface_id.h" |
| 12 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h" | 12 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h" |
| 13 #include "mojo/services/view_manager/ids.h" | 13 #include "services/view_manager/ids.h" |
| 14 #include "ui/gfx/geometry/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
| 15 | 15 |
| 16 namespace mojo { | 16 namespace mojo { |
| 17 namespace service { | 17 namespace service { |
| 18 | 18 |
| 19 class ServerViewDelegate; | 19 class ServerViewDelegate; |
| 20 | 20 |
| 21 // Server side representation of a view. Delegate is informed of interesting | 21 // Server side representation of a view. Delegate is informed of interesting |
| 22 // events. | 22 // events. |
| 23 // | 23 // |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 float opacity_; | 96 float opacity_; |
| 97 | 97 |
| 98 std::map<std::string, std::vector<uint8_t>> properties_; | 98 std::map<std::string, std::vector<uint8_t>> properties_; |
| 99 | 99 |
| 100 DISALLOW_COPY_AND_ASSIGN(ServerView); | 100 DISALLOW_COPY_AND_ASSIGN(ServerView); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace service | 103 } // namespace service |
| 104 } // namespace mojo | 104 } // namespace mojo |
| 105 | 105 |
| 106 #endif // MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_H_ | 106 #endif // SERVICES_VIEW_MANAGER_SERVER_VIEW_H_ |
| OLD | NEW |