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

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

Issue 2778823002: Simplify WindowManager::OnWmSetBounds (Closed)
Patch Set: Update expectations for DragTestInteractive.DragTest 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
« no previous file with comments | « services/ui/demo/mus_demo_internal.h ('k') | services/ui/public/interfaces/window_manager.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/mus_demo_internal.cc
diff --git a/services/ui/demo/mus_demo_internal.cc b/services/ui/demo/mus_demo_internal.cc
index a90df10e33f88a14c5279e44f8fe8a9f816ca4bb..4c79c7237f9fd90b99eacecb77cb9438f44d5dce 100644
--- a/services/ui/demo/mus_demo_internal.cc
+++ b/services/ui/demo/mus_demo_internal.cc
@@ -37,9 +37,8 @@ void MusDemoInternal::OnStartImpl() {
void MusDemoInternal::SetWindowManagerClient(
aura::WindowManagerClient* client) {}
-bool MusDemoInternal::OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) {
- return true;
-}
+void MusDemoInternal::OnWmSetBounds(aura::Window* window,
+ const gfx::Rect& bounds) {}
bool MusDemoInternal::OnWmSetProperty(
aura::Window* window,
« no previous file with comments | « services/ui/demo/mus_demo_internal.h ('k') | services/ui/public/interfaces/window_manager.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698