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

Unified Diff: ash/wm/workspace/multi_window_resize_controller.cc

Issue 2901503003: Rename GetPreferredSize to CalculatePreferredSize in ash/ (Closed)
Patch Set: improvements Created 3 years, 7 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 | « ash/wm/window_mirror_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/multi_window_resize_controller.cc
diff --git a/ash/wm/workspace/multi_window_resize_controller.cc b/ash/wm/workspace/multi_window_resize_controller.cc
index d8cbb763aead467a4384083712b3bff8360c07b2..c76f3fb313fde768fd6a660971936020919ae277 100644
--- a/ash/wm/workspace/multi_window_resize_controller.cc
+++ b/ash/wm/workspace/multi_window_resize_controller.cc
@@ -91,7 +91,7 @@ class MultiWindowResizeController::ResizeView : public views::View {
: controller_(controller), direction_(direction) {}
// views::View overrides:
- gfx::Size GetPreferredSize() const override {
+ gfx::Size CalculatePreferredSize() const override {
const bool vert = direction_ == LEFT_RIGHT;
return gfx::Size(vert ? kShortSide : kLongSide,
vert ? kLongSide : kShortSide);
« no previous file with comments | « ash/wm/window_mirror_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698