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

Unified Diff: mash/simple_wm/simple_wm.cc

Issue 2778823002: Simplify WindowManager::OnWmSetBounds (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: mash/simple_wm/simple_wm.cc
diff --git a/mash/simple_wm/simple_wm.cc b/mash/simple_wm/simple_wm.cc
index b8f60c789c0116f214ceb0f4cc8e12f6078e7e2c..d42d2a4d5ebbab728e836d0545c63b63db8b0d6e 100644
--- a/mash/simple_wm/simple_wm.cc
+++ b/mash/simple_wm/simple_wm.cc
@@ -411,10 +411,9 @@ void SimpleWM::SetWindowManagerClient(
window_manager_client_ = client;
}
-bool SimpleWM::OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) {
+void SimpleWM::OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) {
FrameView* frame_view = GetFrameViewForClientWindow(window);
frame_view->GetWidget()->SetBounds(*bounds);
- return false;
}
bool SimpleWM::OnWmSetProperty(

Powered by Google App Engine
This is Rietveld 408576698