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

Unified Diff: services/ui/public/cpp/tests/window_server_test_base.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/public/cpp/tests/window_server_test_base.h
diff --git a/services/ui/public/cpp/tests/window_server_test_base.h b/services/ui/public/cpp/tests/window_server_test_base.h
index 6cbe7b7aa1cb6b6c8bed9bd8adc2e5d7ecfdcbf1..c5bab28b0568f13e864f69a8d6926b70a8c3fb1c 100644
--- a/services/ui/public/cpp/tests/window_server_test_base.h
+++ b/services/ui/public/cpp/tests/window_server_test_base.h
@@ -74,7 +74,7 @@ class WindowServerTestBase
// WindowManagerDelegate:
void SetWindowManagerClient(WindowManagerClient* client) override;
- bool OnWmSetBounds(Window* window, gfx::Rect* bounds) override;
+ void OnWmSetBounds(Window* window, const gfx::Rect& bounds) override;
bool OnWmSetProperty(
Window* window,
const std::string& name,

Powered by Google App Engine
This is Rietveld 408576698