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

Side by Side Diff: chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.cc

Issue 1381633002: Cleanup: IWYU for browser_navigator.h and browser_navigator_params.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, fix merge conflict Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.h" 5 #include "chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.h"
6 6
7 #include "chrome/browser/ui/browser_navigator.h" 7 #include "chrome/browser/ui/browser_navigator.h"
8 #include "chrome/browser/ui/browser_navigator_params.h"
8 #include "ui/base/resource/resource_bundle.h" 9 #include "ui/base/resource/resource_bundle.h"
9 #include "ui/views/controls/label.h" 10 #include "ui/views/controls/label.h"
10 #include "ui/views/layout/box_layout.h" 11 #include "ui/views/layout/box_layout.h"
11 #include "ui/views/layout/layout_constants.h" 12 #include "ui/views/layout/layout_constants.h"
12 #include "ui/views/widget/widget.h" 13 #include "ui/views/widget/widget.h"
13 #include "url/gurl.h" 14 #include "url/gurl.h"
14 15
15 namespace { 16 namespace {
16 17
17 // The spacing between the key and the value labels in the Details section. 18 // The spacing between the key and the value labels in the Details section.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 } 63 }
63 64
64 views::View* AppInfoPanel::CreateKeyValueField(views::View* key, 65 views::View* AppInfoPanel::CreateKeyValueField(views::View* key,
65 views::View* value) const { 66 views::View* value) const {
66 views::View* horizontal_stack = 67 views::View* horizontal_stack =
67 CreateHorizontalStack(kSpacingBetweenKeyAndStartOfValue); 68 CreateHorizontalStack(kSpacingBetweenKeyAndStartOfValue);
68 horizontal_stack->AddChildView(key); 69 horizontal_stack->AddChildView(key);
69 horizontal_stack->AddChildView(value); 70 horizontal_stack->AddChildView(value);
70 return horizontal_stack; 71 return horizontal_stack;
71 } 72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698