Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 UI_AURA_MUS_WINDOW_PORT_MUS_H_ | 5 #ifndef UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
| 6 #define UI_AURA_MUS_WINDOW_PORT_MUS_H_ | 6 #define UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 126 // automatically removed. Instead the change is explicitly removed. | 126 // automatically removed. Instead the change is explicitly removed. |
| 127 TRANSIENT_REORDER, | 127 TRANSIENT_REORDER, |
| 128 VISIBLE, | 128 VISIBLE, |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 // Contains data needed to identify a change from the server. | 131 // Contains data needed to identify a change from the server. |
| 132 struct ServerChangeData { | 132 struct ServerChangeData { |
| 133 // Applies to ADD, ADD_TRANSIENT, REMOVE, REMOVE_TRANSIENT, REORDER and | 133 // Applies to ADD, ADD_TRANSIENT, REMOVE, REMOVE_TRANSIENT, REORDER and |
| 134 // TRANSIENT_REORDER. | 134 // TRANSIENT_REORDER. |
| 135 Id child_id; | 135 Id child_id; |
| 136 // Applies to BOUNDS. | 136 // Applies to BOUNDS. This should be in pixels. |
|
sky
2016/12/15 22:07:32
Name the member as such to reinforce that, e.g. bo
riajiang
2016/12/19 23:51:55
In order to move conversions to WTC, this now take
| |
| 137 gfx::Rect bounds; | 137 gfx::Rect bounds; |
| 138 // Applies to VISIBLE. | 138 // Applies to VISIBLE. |
| 139 bool visible; | 139 bool visible; |
| 140 // Applies to PROPERTY. | 140 // Applies to PROPERTY. |
| 141 std::string property_name; | 141 std::string property_name; |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 // Used to identify a change the server. | 144 // Used to identify a change the server. |
| 145 struct ServerChange { | 145 struct ServerChange { |
| 146 ServerChangeType type; | 146 ServerChangeType type; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 250 std::unique_ptr<SurfaceInfo> surface_info_; | 250 std::unique_ptr<SurfaceInfo> surface_info_; |
| 251 | 251 |
| 252 ui::mojom::Cursor predefined_cursor_ = ui::mojom::Cursor::CURSOR_NULL; | 252 ui::mojom::Cursor predefined_cursor_ = ui::mojom::Cursor::CURSOR_NULL; |
| 253 | 253 |
| 254 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); | 254 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); |
| 255 }; | 255 }; |
| 256 | 256 |
| 257 } // namespace aura | 257 } // namespace aura |
| 258 | 258 |
| 259 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ | 259 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
| OLD | NEW |