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

Unified Diff: ash/shell/widgets.cc

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More compile fix for ToT Created 6 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 7a71eb8d0bec769ec3161d488370f281bec2b4cf..09b192ab5fe8829dcfaba2a3365a65d05913f40b 100644
--- a/ash/shell/widgets.cc
+++ b/ash/shell/widgets.cc
@@ -32,7 +32,7 @@ class WidgetsWindow : public views::WidgetDelegateView {
// Overridden from views::View:
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
virtual void Layout() OVERRIDE;
- virtual gfx::Size GetPreferredSize() OVERRIDE;
+ virtual gfx::Size GetPreferredSize() const OVERRIDE;
// Overridden from views::WidgetDelegate:
virtual views::View* GetContentsView() OVERRIDE;
@@ -113,7 +113,7 @@ void WidgetsWindow::Layout() {
}
}
-gfx::Size WidgetsWindow::GetPreferredSize() {
+gfx::Size WidgetsWindow::GetPreferredSize() 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