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 #include "ash/mus/bridge/wm_window_mus.h" | 5 #include "ash/mus/bridge/wm_window_mus.h" |
6 | 6 |
7 #include "ash/common/wm/container_finder.h" | 7 #include "ash/common/wm/container_finder.h" |
8 #include "ash/common/wm/window_state.h" | 8 #include "ash/common/wm/window_state.h" |
9 #include "ash/common/wm_layout_manager.h" | 9 #include "ash/common/wm_layout_manager.h" |
10 #include "ash/common/wm_window_observer.h" | 10 #include "ash/common/wm_window_observer.h" |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
352 } | 352 } |
353 | 353 |
354 NOTREACHED(); | 354 NOTREACHED(); |
355 } | 355 } |
356 | 356 |
357 ShelfItemDetails* WmWindowMus::GetShelfItemDetails() { | 357 ShelfItemDetails* WmWindowMus::GetShelfItemDetails() { |
358 NOTIMPLEMENTED(); | 358 NOTIMPLEMENTED(); |
359 return nullptr; | 359 return nullptr; |
360 } | 360 } |
361 | 361 |
362 void WmWindowMus::SetShelfItemDetails(const ShelfItemDetails& details) { | |
363 NOTIMPLEMENTED(); | |
sky
2016/08/03 21:36:59
I encourage you to file bugs for these and referen
msw
2016/08/03 21:51:27
Done.
| |
364 } | |
365 | |
366 void WmWindowMus::ClearShelfItemDetails() { | |
367 NOTIMPLEMENTED(); | |
368 } | |
369 | |
362 const wm::WindowState* WmWindowMus::GetWindowState() const { | 370 const wm::WindowState* WmWindowMus::GetWindowState() const { |
363 return window_state_.get(); | 371 return window_state_.get(); |
364 } | 372 } |
365 | 373 |
366 WmWindow* WmWindowMus::GetToplevelWindow() { | 374 WmWindow* WmWindowMus::GetToplevelWindow() { |
367 return WmShellMus::GetToplevelAncestor(window_); | 375 return WmShellMus::GetToplevelAncestor(window_); |
368 } | 376 } |
369 | 377 |
370 WmWindow* WmWindowMus::GetToplevelWindowForFocus() { | 378 WmWindow* WmWindowMus::GetToplevelWindowForFocus() { |
371 // TODO(sky): resolve if we really need two notions of top-level. In the mus | 379 // TODO(sky): resolve if we really need two notions of top-level. In the mus |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
818 void WmWindowMus::OnWindowDestroying(ui::Window* window) { | 826 void WmWindowMus::OnWindowDestroying(ui::Window* window) { |
819 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroying(this)); | 827 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroying(this)); |
820 } | 828 } |
821 | 829 |
822 void WmWindowMus::OnWindowDestroyed(ui::Window* window) { | 830 void WmWindowMus::OnWindowDestroyed(ui::Window* window) { |
823 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroyed(this)); | 831 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroyed(this)); |
824 } | 832 } |
825 | 833 |
826 } // namespace mus | 834 } // namespace mus |
827 } // namespace ash | 835 } // namespace ash |
OLD | NEW |