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

Unified Diff: ash/wm/system_modal_container_layout_manager_unittest.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/test/child_modal_window.cc ('k') | ash/wm/window_cycle_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/system_modal_container_layout_manager_unittest.cc
diff --git a/ash/wm/system_modal_container_layout_manager_unittest.cc b/ash/wm/system_modal_container_layout_manager_unittest.cc
index e87a676dc1b9dd8e98b2a14b59e5b2fa221478f8..cc3ac1f4e771cd52df1be3e49ea246b6d8f06657 100644
--- a/ash/wm/system_modal_container_layout_manager_unittest.cc
+++ b/ash/wm/system_modal_container_layout_manager_unittest.cc
@@ -81,7 +81,9 @@ class TestWindow : public views::WidgetDelegateView {
}
// Overridden from views::View:
- gfx::Size GetPreferredSize() const override { return gfx::Size(50, 50); }
+ gfx::Size CalculatePreferredSize() const override {
+ return gfx::Size(50, 50);
+ }
// Overridden from views::WidgetDelegate:
ui::ModalType GetModalType() const override {
« no previous file with comments | « ash/test/child_modal_window.cc ('k') | ash/wm/window_cycle_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698