Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Side by Side Diff: ash/mus/bridge/wm_window_mus.cc

Issue 2251843002: Add window property for restore bounds when virtual keyboard is enabled. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove WM property Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698