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

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: 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) {
oshima 2016/08/16 23:14:02 NOTIMPLEMENTED(); Please file a bug like below.
hariank 2016/08/16 23:35:06 Done.
371 return nullptr;
372 }
373
370 ShelfItemDetails* WmWindowMus::GetShelfItemDetails() { 374 ShelfItemDetails* WmWindowMus::GetShelfItemDetails() {
371 NOTIMPLEMENTED(); // TODO: Add support; see crbug.com/634150 375 NOTIMPLEMENTED(); // TODO: Add support; see crbug.com/634150
372 return nullptr; 376 return nullptr;
373 } 377 }
374 378
375 void WmWindowMus::SetShelfItemDetails(const ShelfItemDetails& details) { 379 void WmWindowMus::SetShelfItemDetails(const ShelfItemDetails& details) {
376 NOTIMPLEMENTED(); // TODO: Add support; see crbug.com/634150 380 NOTIMPLEMENTED(); // TODO: Add support; see crbug.com/634150
377 } 381 }
378 382
379 void WmWindowMus::ClearShelfItemDetails() { 383 void WmWindowMus::ClearShelfItemDetails() {
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 } 876 }
873 877
874 void WmWindowMus::OnTransientChildRemoved(ui::Window* window, 878 void WmWindowMus::OnTransientChildRemoved(ui::Window* window,
875 ui::Window* transient) { 879 ui::Window* transient) {
876 FOR_EACH_OBSERVER(WmTransientWindowObserver, transient_observers_, 880 FOR_EACH_OBSERVER(WmTransientWindowObserver, transient_observers_,
877 OnTransientChildRemoved(this, Get(transient))); 881 OnTransientChildRemoved(this, Get(transient)));
878 } 882 }
879 883
880 } // namespace mus 884 } // namespace mus
881 } // namespace ash 885 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698