| 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_MUS_WS_TEST_SERVER_WINDOW_DELEGATE_H_ | 5 #ifndef COMPONENTS_MUS_WS_TEST_SERVER_WINDOW_DELEGATE_H_ |
| 6 #define COMPONENTS_MUS_WS_TEST_SERVER_WINDOW_DELEGATE_H_ | 6 #define COMPONENTS_MUS_WS_TEST_SERVER_WINDOW_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/mus/ws/server_window_delegate.h" | 9 #include "components/mus/ws/server_window_delegate.h" |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 mus::SurfacesState* GetSurfacesState() override; | 26 mus::SurfacesState* GetSurfacesState() override; |
| 27 void OnScheduleWindowPaint(ServerWindow* window) override; | 27 void OnScheduleWindowPaint(ServerWindow* window) override; |
| 28 const ServerWindow* GetRootWindow(const ServerWindow* window) const override; | 28 const ServerWindow* GetRootWindow(const ServerWindow* window) const override; |
| 29 void ScheduleSurfaceDestruction(ServerWindow* window) override; | 29 void ScheduleSurfaceDestruction(ServerWindow* window) override; |
| 30 ServerWindow* FindWindowForSurface( | 30 ServerWindow* FindWindowForSurface( |
| 31 const ServerWindow* ancestor, | 31 const ServerWindow* ancestor, |
| 32 mojom::SurfaceType surface_type, | 32 mojom::SurfaceType surface_type, |
| 33 const ClientWindowId& client_window_id) override; | 33 const ClientWindowId& client_window_id) override; |
| 34 | 34 |
| 35 const ServerWindow* root_window_; | 35 const ServerWindow* root_window_; |
| 36 scoped_refptr<mus::SurfacesState> surfaces_state_; |
| 36 | 37 |
| 37 DISALLOW_COPY_AND_ASSIGN(TestServerWindowDelegate); | 38 DISALLOW_COPY_AND_ASSIGN(TestServerWindowDelegate); |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 } // namespace ws | 41 } // namespace ws |
| 41 | 42 |
| 42 } // namespace mus | 43 } // namespace mus |
| 43 | 44 |
| 44 #endif // COMPONENTS_MUS_WS_TEST_SERVER_WINDOW_DELEGATE_H_ | 45 #endif // COMPONENTS_MUS_WS_TEST_SERVER_WINDOW_DELEGATE_H_ |
| OLD | NEW |