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

Side by Side Diff: chrome/browser/ui/views/autofill/save_card_bubble_views.cc

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/autofill/save_card_bubble_views.h" 5 #include "chrome/browser/ui/views/autofill/save_card_bubble_views.h"
6 6
7 #include <stddef.h>
8
7 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "build/build_config.h"
8 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" 11 #include "chrome/browser/ui/autofill/autofill_dialog_types.h"
9 #include "chrome/browser/ui/autofill/save_card_bubble_controller.h" 12 #include "chrome/browser/ui/autofill/save_card_bubble_controller.h"
10 #include "grit/components_strings.h" 13 #include "grit/components_strings.h"
11 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
12 #include "ui/views/bubble/bubble_frame_view.h" 15 #include "ui/views/bubble/bubble_frame_view.h"
13 #include "ui/views/controls/button/blue_button.h" 16 #include "ui/views/controls/button/blue_button.h"
14 #include "ui/views/controls/button/label_button.h" 17 #include "ui/views/controls/button/label_button.h"
15 #include "ui/views/controls/label.h" 18 #include "ui/views/controls/label.h"
16 #include "ui/views/controls/link.h" 19 #include "ui/views/controls/link.h"
17 #include "ui/views/controls/styled_label.h" 20 #include "ui/views/controls/styled_label.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 void SaveCardBubbleViews::Init() { 240 void SaveCardBubbleViews::Init() {
238 SetLayoutManager(new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 0)); 241 SetLayoutManager(new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 0));
239 AddChildView(CreateMainContentView().release()); 242 AddChildView(CreateMainContentView().release());
240 if (!controller_->GetLegalMessageLines().empty()) 243 if (!controller_->GetLegalMessageLines().empty())
241 AddChildView(CreateFootnoteView().release()); 244 AddChildView(CreateFootnoteView().release());
242 245
243 set_margins(gfx::Insets(1, 0, 1, 0)); 246 set_margins(gfx::Insets(1, 0, 1, 0));
244 } 247 }
245 248
246 } // namespace autofill 249 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698