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

Unified Diff: ash/shell/widgets.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/shell/panel_window.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/widgets.cc
diff --git a/ash/shell/widgets.cc b/ash/shell/widgets.cc
index a302bd06c16cb4f4075f122b882f15a8369f70ec..9e5895a0fe32cb1762b1f5d284c81e4dbd312c84 100644
--- a/ash/shell/widgets.cc
+++ b/ash/shell/widgets.cc
@@ -32,7 +32,7 @@ class WidgetsWindow : public views::WidgetDelegateView {
// Overridden from views::View:
void OnPaint(gfx::Canvas* canvas) override;
void Layout() override;
- gfx::Size GetPreferredSize() const override;
+ gfx::Size CalculatePreferredSize() const override;
// Overridden from views::WidgetDelegate:
base::string16 GetWindowTitle() const override;
@@ -114,7 +114,7 @@ void WidgetsWindow::Layout() {
}
}
-gfx::Size WidgetsWindow::GetPreferredSize() const {
+gfx::Size WidgetsWindow::CalculatePreferredSize() const {
return gfx::Size(kWindowWidth, kWindowHeight);
}
« no previous file with comments | « ash/shell/panel_window.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698