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

Unified Diff: ash/shell/lock_view.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/shelf/shelf_view.cc ('k') | ash/shell/panel_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/lock_view.cc
diff --git a/ash/shell/lock_view.cc b/ash/shell/lock_view.cc
index 9f80a46a387cfb9c645e6fdb196a43b7dc9eae4c..d3be21cfc00944303705a9a6687059d33b19fb90 100644
--- a/ash/shell/lock_view.cc
+++ b/ash/shell/lock_view.cc
@@ -33,7 +33,9 @@ class LockView : public views::WidgetDelegateView,
~LockView() override {}
// Overridden from views::View:
- gfx::Size GetPreferredSize() const override { return gfx::Size(500, 400); }
+ gfx::Size CalculatePreferredSize() const override {
+ return gfx::Size(500, 400);
+ }
private:
// Overridden from views::View:
« no previous file with comments | « ash/shelf/shelf_view.cc ('k') | ash/shell/panel_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698