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

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

Issue 2779973003: views: fold layout_utils::CreatePanelLayout into GridLayout::CreatePanel (Closed)
Patch Set: remove old DEPS entry 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/create_application_shortcut_view.cc
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.cc b/chrome/browser/ui/views/create_application_shortcut_view.cc
index a8f215ca53ecf98b42e1dcfc209bb88d67a84656..df8fd4bad286aef76c4e00a9723ef20f8b673dc5 100644
--- a/chrome/browser/ui/views/create_application_shortcut_view.cc
+++ b/chrome/browser/ui/views/create_application_shortcut_view.cc
@@ -143,7 +143,6 @@ void AppInfoView::PrepareDescriptionLabel(const base::string16& description) {
void AppInfoView::SetupLayout() {
views::GridLayout* layout = views::GridLayout::CreatePanel(this);
- SetLayoutManager(layout);
static const int kColumnSetId = 0;
views::ColumnSet* column_set = layout->AddColumnSet(kColumnSetId);
@@ -281,7 +280,6 @@ void CreateApplicationShortcutView::InitControls(DialogLayout dialog_layout) {
// Layout controls
views::GridLayout* layout = views::GridLayout::CreatePanel(this);
- SetLayoutManager(layout);
static const int kHeaderColumnSetId = 0;
views::ColumnSet* column_set = layout->AddColumnSet(kHeaderColumnSetId);
« no previous file with comments | « chrome/browser/ui/views/confirm_bubble_views.cc ('k') | chrome/browser/ui/views/crypto_module_password_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698