| 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 std::unique_ptr<SurfaceInfo> surface_info) override; | 206 std::unique_ptr<SurfaceInfo> surface_info) override; |
| 207 void DestroyFromServer() override; | 207 void DestroyFromServer() override; |
| 208 void AddTransientChildFromServer(WindowMus* child) override; | 208 void AddTransientChildFromServer(WindowMus* child) override; |
| 209 void RemoveTransientChildFromServer(WindowMus* child) override; | 209 void RemoveTransientChildFromServer(WindowMus* child) override; |
| 210 ChangeSource OnTransientChildAdded(WindowMus* child) override; | 210 ChangeSource OnTransientChildAdded(WindowMus* child) override; |
| 211 ChangeSource OnTransientChildRemoved(WindowMus* child) override; | 211 ChangeSource OnTransientChildRemoved(WindowMus* child) override; |
| 212 std::unique_ptr<WindowMusChangeData> PrepareForServerBoundsChange( | 212 std::unique_ptr<WindowMusChangeData> PrepareForServerBoundsChange( |
| 213 const gfx::Rect& bounds) override; | 213 const gfx::Rect& bounds) override; |
| 214 std::unique_ptr<WindowMusChangeData> PrepareForServerVisibilityChange( | 214 std::unique_ptr<WindowMusChangeData> PrepareForServerVisibilityChange( |
| 215 bool value) override; | 215 bool value) override; |
| 216 void PrepareForDestroy() override; |
| 216 void PrepareForTransientRestack(WindowMus* window) override; | 217 void PrepareForTransientRestack(WindowMus* window) override; |
| 217 void OnTransientRestackDone(WindowMus* window) override; | 218 void OnTransientRestackDone(WindowMus* window) override; |
| 218 void NotifyEmbeddedAppDisconnected() override; | 219 void NotifyEmbeddedAppDisconnected() override; |
| 219 | 220 |
| 220 // WindowPort: | 221 // WindowPort: |
| 221 void OnPreInit(Window* window) override; | 222 void OnPreInit(Window* window) override; |
| 222 void OnDeviceScaleFactorChanged(float device_scale_factor) override; | 223 void OnDeviceScaleFactorChanged(float device_scale_factor) override; |
| 223 void OnWillAddChild(Window* child) override; | 224 void OnWillAddChild(Window* child) override; |
| 224 void OnWillRemoveChild(Window* child) override; | 225 void OnWillRemoveChild(Window* child) override; |
| 225 void OnWillMoveChild(size_t current_index, size_t dest_index) override; | 226 void OnWillMoveChild(size_t current_index, size_t dest_index) override; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 242 std::unique_ptr<SurfaceInfo> surface_info_; | 243 std::unique_ptr<SurfaceInfo> surface_info_; |
| 243 | 244 |
| 244 ui::mojom::Cursor predefined_cursor_ = ui::mojom::Cursor::CURSOR_NULL; | 245 ui::mojom::Cursor predefined_cursor_ = ui::mojom::Cursor::CURSOR_NULL; |
| 245 | 246 |
| 246 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); | 247 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); |
| 247 }; | 248 }; |
| 248 | 249 |
| 249 } // namespace aura | 250 } // namespace aura |
| 250 | 251 |
| 251 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ | 252 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
| OLD | NEW |