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

Unified Diff: ash/wm/window_cycle_list.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/system_modal_container_layout_manager_unittest.cc ('k') | ash/wm/window_mirror_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_cycle_list.cc
diff --git a/ash/wm/window_cycle_list.cc b/ash/wm/window_cycle_list.cc
index f6b38850862f479d434123b410e7f0daf5cd27b8..29e60e3e9b5111004867d6615b7a78b1020f6965 100644
--- a/ash/wm/window_cycle_list.cc
+++ b/ash/wm/window_cycle_list.cc
@@ -101,7 +101,7 @@ class WindowPreviewView : public views::View, public aura::WindowObserver {
~WindowPreviewView() override {}
// views::View:
- gfx::Size GetPreferredSize() const override {
+ gfx::Size CalculatePreferredSize() const override {
gfx::Size size = GetSizeForPreviewArea();
size.Enlarge(0, window_title_->GetPreferredSize().height());
return size;
@@ -291,7 +291,7 @@ class WindowCycleView : public views::WidgetDelegateView {
}
// views::WidgetDelegateView overrides:
- gfx::Size GetPreferredSize() const override {
+ gfx::Size CalculatePreferredSize() const override {
return mirror_container_->GetPreferredSize();
}
« no previous file with comments | « ash/wm/system_modal_container_layout_manager_unittest.cc ('k') | ash/wm/window_mirror_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698