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

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

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.h
diff --git a/services/ui/demo/mus_demo.h b/services/ui/demo/mus_demo.h
index e253509a8b643f0cfb5416bbe0dd1c5ba25d5670..f956b848ec5ab4f59f7f58fab715fde2d8e4dbe7 100644
--- a/services/ui/demo/mus_demo.h
+++ b/services/ui/demo/mus_demo.h
@@ -73,7 +73,7 @@ class MusDemo : public service_manager::Service,
// aura::WindowManagerDelegate:
void SetWindowManagerClient(aura::WindowManagerClient* client) override;
- bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override;
+ void OnWmSetBounds(aura::Window* window, const gfx::Rect& bounds) override;
bool OnWmSetProperty(
aura::Window* window,
const std::string& name,

Powered by Google App Engine
This is Rietveld 408576698