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

Unified Diff: services/ui/test_wm/test_wm.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/test_wm/test_wm.cc
diff --git a/services/ui/test_wm/test_wm.cc b/services/ui/test_wm/test_wm.cc
index ed0d1e795a341942395fc660445146da06a06de0..24508209bfd449f1f56dcc1887876da5355fdbd0 100644
--- a/services/ui/test_wm/test_wm.cc
+++ b/services/ui/test_wm/test_wm.cc
@@ -105,9 +105,7 @@ class TestWM : public service_manager::Service,
void SetWindowManagerClient(aura::WindowManagerClient* client) override {
window_manager_client_ = client;
}
- bool OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) override {
- return true;
- }
+ 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