| 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_transient_window_observer.h" | 10 #include "ash/common/wm_transient_window_observer.h" |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 | 360 |
| 361 if (key == WmWindowProperty::TOP_VIEW_INSET) { | 361 if (key == WmWindowProperty::TOP_VIEW_INSET) { |
| 362 // TODO: need support for TOP_VIEW_INSET: http://crbug.com/615100. | 362 // TODO: need support for TOP_VIEW_INSET: http://crbug.com/615100. |
| 363 NOTIMPLEMENTED(); | 363 NOTIMPLEMENTED(); |
| 364 return; | 364 return; |
| 365 } | 365 } |
| 366 | 366 |
| 367 NOTREACHED(); | 367 NOTREACHED(); |
| 368 } | 368 } |
| 369 | 369 |
| 370 gfx::Rect* WmWindowMus::GetRectProperty(WmWindowProperty key) { |
| 371 NOTIMPLEMENTED(); // TODO: Add support; see crbug.com/638416 |
| 372 return nullptr; |
| 373 } |
| 374 |
| 370 ShelfItemDetails* WmWindowMus::GetShelfItemDetails() { | 375 ShelfItemDetails* WmWindowMus::GetShelfItemDetails() { |
| 371 NOTIMPLEMENTED(); // TODO: Add support; see crbug.com/634150 | 376 NOTIMPLEMENTED(); // TODO: Add support; see crbug.com/634150 |
| 372 return nullptr; | 377 return nullptr; |
| 373 } | 378 } |
| 374 | 379 |
| 375 void WmWindowMus::SetShelfItemDetails(const ShelfItemDetails& details) { | 380 void WmWindowMus::SetShelfItemDetails(const ShelfItemDetails& details) { |
| 376 NOTIMPLEMENTED(); // TODO: Add support; see crbug.com/634150 | 381 NOTIMPLEMENTED(); // TODO: Add support; see crbug.com/634150 |
| 377 } | 382 } |
| 378 | 383 |
| 379 void WmWindowMus::ClearShelfItemDetails() { | 384 void WmWindowMus::ClearShelfItemDetails() { |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 872 } | 877 } |
| 873 | 878 |
| 874 void WmWindowMus::OnTransientChildRemoved(ui::Window* window, | 879 void WmWindowMus::OnTransientChildRemoved(ui::Window* window, |
| 875 ui::Window* transient) { | 880 ui::Window* transient) { |
| 876 FOR_EACH_OBSERVER(WmTransientWindowObserver, transient_observers_, | 881 FOR_EACH_OBSERVER(WmTransientWindowObserver, transient_observers_, |
| 877 OnTransientChildRemoved(this, Get(transient))); | 882 OnTransientChildRemoved(this, Get(transient))); |
| 878 } | 883 } |
| 879 | 884 |
| 880 } // namespace mus | 885 } // namespace mus |
| 881 } // namespace ash | 886 } // namespace ash |
| OLD | NEW |