| 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 #include "services/ui/demo/mus_demo_internal.h" | 5 #include "services/ui/demo/mus_demo_internal.h" |
| 6 | 6 |
| 7 #include "services/service_manager/public/cpp/service_context.h" | 7 #include "services/service_manager/public/cpp/service_context.h" |
| 8 #include "services/ui/demo/window_tree_data.h" | 8 #include "services/ui/demo/window_tree_data.h" |
| 9 #include "ui/aura/mus/window_tree_client.h" | 9 #include "ui/aura/mus/window_tree_client.h" |
| 10 #include "ui/aura/mus/window_tree_host_mus.h" | 10 #include "ui/aura/mus/window_tree_host_mus.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 return true; | 41 return true; |
| 42 } | 42 } |
| 43 | 43 |
| 44 bool MusDemoInternal::OnWmSetProperty( | 44 bool MusDemoInternal::OnWmSetProperty( |
| 45 aura::Window* window, | 45 aura::Window* window, |
| 46 const std::string& name, | 46 const std::string& name, |
| 47 std::unique_ptr<std::vector<uint8_t>>* new_data) { | 47 std::unique_ptr<std::vector<uint8_t>>* new_data) { |
| 48 return true; | 48 return true; |
| 49 } | 49 } |
| 50 | 50 |
| 51 bool MusDemoInternal::OnWmSetModalType(aura::Window* window, |
| 52 ui::ModalType type) { |
| 53 return true; |
| 54 } |
| 55 |
| 51 void MusDemoInternal::OnWmSetCanFocus(aura::Window* window, bool can_focus) {} | 56 void MusDemoInternal::OnWmSetCanFocus(aura::Window* window, bool can_focus) {} |
| 52 | 57 |
| 53 aura::Window* MusDemoInternal::OnWmCreateTopLevelWindow( | 58 aura::Window* MusDemoInternal::OnWmCreateTopLevelWindow( |
| 54 mojom::WindowType window_type, | 59 mojom::WindowType window_type, |
| 55 std::map<std::string, std::vector<uint8_t>>* properties) { | 60 std::map<std::string, std::vector<uint8_t>>* properties) { |
| 56 NOTREACHED(); | 61 NOTREACHED(); |
| 57 return nullptr; | 62 return nullptr; |
| 58 } | 63 } |
| 59 | 64 |
| 60 void MusDemoInternal::OnWmClientJankinessChanged( | 65 void MusDemoInternal::OnWmClientJankinessChanged( |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 const std::vector<gfx::Rect>& additional_client_areas) {} | 107 const std::vector<gfx::Rect>& additional_client_areas) {} |
| 103 | 108 |
| 104 bool MusDemoInternal::IsWindowActive(aura::Window* window) { | 109 bool MusDemoInternal::IsWindowActive(aura::Window* window) { |
| 105 return false; | 110 return false; |
| 106 } | 111 } |
| 107 | 112 |
| 108 void MusDemoInternal::OnWmDeactivateWindow(aura::Window* window) {} | 113 void MusDemoInternal::OnWmDeactivateWindow(aura::Window* window) {} |
| 109 | 114 |
| 110 } // namespace demo | 115 } // namespace demo |
| 111 } // namespace ui | 116 } // namespace ui |
| OLD | NEW |