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

Unified Diff: services/ui/demo/mus_demo.cc

Issue 2548513002: Update bool WindowManager::OnWmSetBounds() to match with its desirable behavior. (Closed)
Patch Set: Remove if condition statetment in Window::SetBounds(const gfx::Rect& new_bounds). Created 4 years 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: services/ui/demo/mus_demo.cc
diff --git a/services/ui/demo/mus_demo.cc b/services/ui/demo/mus_demo.cc
index 9520f24b19b912b66fdba91ab3f453e9e3b4108a..9b98e124a5a653902ec88845dc32f17675201456 100644
--- a/services/ui/demo/mus_demo.cc
+++ b/services/ui/demo/mus_demo.cc
@@ -133,9 +133,7 @@ aura::PropertyConverter* MusDemo::GetPropertyConverter() {
void MusDemo::SetWindowManagerClient(aura::WindowManagerClient* client) {}
-bool MusDemo::OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) {
- return true;
-}
+void MusDemo::OnWmSetBounds(aura::Window* window, const gfx::Rect& bounds) {}
bool MusDemo::OnWmSetProperty(aura::Window* window,
const std::string& name,

Powered by Google App Engine
This is Rietveld 408576698