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

Unified Diff: services/ui/ws/window_manager_client_unittest.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/ws/window_manager_client_unittest.cc
diff --git a/services/ui/ws/window_manager_client_unittest.cc b/services/ui/ws/window_manager_client_unittest.cc
index 7948798214ecf28c56e3677b92a1b09b27693ceb..e6bd05e8aef0309d04380d1a751f12dc1a7c172a 100644
--- a/services/ui/ws/window_manager_client_unittest.cc
+++ b/services/ui/ws/window_manager_client_unittest.cc
@@ -44,9 +44,7 @@ class TestWindowManagerDelegate : public WindowManagerDelegate {
// WindowManagerDelegate:
void SetWindowManagerClient(WindowManagerClient* client) override {}
- bool OnWmSetBounds(Window* window, gfx::Rect* bounds) override {
- return false;
- }
+ 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