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

Unified Diff: chrome/browser/ui/views/task_manager_view.cc

Issue 2785683003: views: implement width snapping for DialogDelegateViews (Closed)
Patch Set: Created 3 years, 9 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
Index: chrome/browser/ui/views/task_manager_view.cc
diff --git a/chrome/browser/ui/views/task_manager_view.cc b/chrome/browser/ui/views/task_manager_view.cc
index d9c65284c931dad5aa5c133b642574dada15ac2f..092d07c1385110fc5500dc9e4ee7370cdf2d182d 100644
--- a/chrome/browser/ui/views/task_manager_view.cc
+++ b/chrome/browser/ui/views/task_manager_view.cc
@@ -150,7 +150,7 @@ void TaskManagerView::SetSortDescriptor(const TableSortDescriptor& descriptor) {
tab_table_->SetSortDescriptors(descriptor_list);
}
-gfx::Size TaskManagerView::GetPreferredSize() const {
+gfx::Size TaskManagerView::GetUnsnappedPreferredSize() const {
return gfx::Size(460, 270);
Peter Kasting 2017/03/30 00:35:36 This should probably be using a localized size ins
}

Powered by Google App Engine
This is Rietveld 408576698