| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 SERVICES_UI_DEMO_MUS_DEMO_INTERNAL_H_ | 5 #ifndef SERVICES_UI_DEMO_MUS_DEMO_INTERNAL_H_ |
| 6 #define SERVICES_UI_DEMO_MUS_DEMO_INTERNAL_H_ | 6 #define SERVICES_UI_DEMO_MUS_DEMO_INTERNAL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 MusDemoInternal(); | 25 MusDemoInternal(); |
| 26 ~MusDemoInternal() final; | 26 ~MusDemoInternal() final; |
| 27 | 27 |
| 28 private: | 28 private: |
| 29 // ui::demo::MusDemo: | 29 // ui::demo::MusDemo: |
| 30 void OnStartImpl() final; | 30 void OnStartImpl() final; |
| 31 std::unique_ptr<aura::WindowTreeClient> CreateWindowTreeClient() final; | 31 std::unique_ptr<aura::WindowTreeClient> CreateWindowTreeClient() final; |
| 32 | 32 |
| 33 // aura::WindowManagerDelegate: | 33 // aura::WindowManagerDelegate: |
| 34 void SetWindowManagerClient(aura::WindowManagerClient* client) final; | 34 void SetWindowManagerClient(aura::WindowManagerClient* client) final; |
| 35 bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) final; | 35 void OnWmSetBounds(aura::Window* window, const gfx::Rect& bounds) final; |
| 36 bool OnWmSetProperty(aura::Window* window, | 36 bool OnWmSetProperty(aura::Window* window, |
| 37 const std::string& name, | 37 const std::string& name, |
| 38 std::unique_ptr<std::vector<uint8_t>>* new_data) final; | 38 std::unique_ptr<std::vector<uint8_t>>* new_data) final; |
| 39 void OnWmSetModalType(aura::Window* window, ModalType type) final; | 39 void OnWmSetModalType(aura::Window* window, ModalType type) final; |
| 40 void OnWmSetCanFocus(aura::Window* window, bool can_focus) final; | 40 void OnWmSetCanFocus(aura::Window* window, bool can_focus) final; |
| 41 aura::Window* OnWmCreateTopLevelWindow( | 41 aura::Window* OnWmCreateTopLevelWindow( |
| 42 ui::mojom::WindowType window_type, | 42 ui::mojom::WindowType window_type, |
| 43 std::map<std::string, std::vector<uint8_t>>* properties) final; | 43 std::map<std::string, std::vector<uint8_t>>* properties) final; |
| 44 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows, | 44 void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows, |
| 45 bool janky) final; | 45 bool janky) final; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 70 bool IsWindowActive(aura::Window* window) final; | 70 bool IsWindowActive(aura::Window* window) final; |
| 71 void OnWmDeactivateWindow(aura::Window* window) final; | 71 void OnWmDeactivateWindow(aura::Window* window) final; |
| 72 | 72 |
| 73 DISALLOW_COPY_AND_ASSIGN(MusDemoInternal); | 73 DISALLOW_COPY_AND_ASSIGN(MusDemoInternal); |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace demo | 76 } // namespace demo |
| 77 } // namespace ui | 77 } // namespace ui |
| 78 | 78 |
| 79 #endif // SERVICES_UI_DEMO_MUS_DEMO_INTERNAL_H_ | 79 #endif // SERVICES_UI_DEMO_MUS_DEMO_INTERNAL_H_ |
| OLD | NEW |