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

Unified Diff: chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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/autofill/card_unmask_prompt_views.cc
diff --git a/chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc b/chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc
index 8dac346e8b610a3f9635491990256e251c66d2ef..b18f38472ec8f843a2d975d02f477bb813606c9d 100644
--- a/chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc
+++ b/chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc
@@ -203,7 +203,7 @@ void CardUnmaskPromptViews::ShowNewCardLink() {
new_card_link_ = new views::Link(
l10n_util::GetStringUTF16(IDS_AUTOFILL_CARD_UNMASK_NEW_CARD_LINK));
- new_card_link_->SetBorder(views::Border::CreateEmptyBorder(0, 7, 0, 0));
+ new_card_link_->SetBorder(views::CreateEmptyBorder(0, 7, 0, 0));
new_card_link_->SetUnderline(false);
new_card_link_->set_listener(this);
input_row_->AddChildView(new_card_link_);
@@ -224,7 +224,7 @@ views::View* CardUnmaskPromptViews::CreateFootnoteView() {
views::BoxLayout::kHorizontal, kEdgePadding, kEdgePadding, 0);
storage_row_->SetLayoutManager(storage_row_layout);
storage_row_->SetBorder(
- views::Border::CreateSolidSidedBorder(1, 0, 0, 0, kSubtleBorderColor));
+ views::CreateSolidSidedBorder(1, 0, 0, 0, kSubtleBorderColor));
storage_row_->set_background(
views::Background::CreateSolidBackground(kLightShadingColor));
@@ -390,7 +390,7 @@ void CardUnmaskPromptViews::InitIfNecessary() {
permanent_error_label_->set_background(
views::Background::CreateSolidBackground(kWarningColor));
permanent_error_label_->SetBorder(
- views::Border::CreateEmptyBorder(12, kEdgePadding, 12, kEdgePadding));
+ views::CreateEmptyBorder(12, kEdgePadding, 12, kEdgePadding));
permanent_error_label_->SetEnabledColor(SK_ColorWHITE);
permanent_error_label_->SetAutoColorReadabilityEnabled(false);
permanent_error_label_->SetVisible(false);
@@ -407,7 +407,7 @@ void CardUnmaskPromptViews::InitIfNecessary() {
instructions_->SetEnabledColor(kGreyTextColor);
instructions_->SetMultiLine(true);
instructions_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
- instructions_->SetBorder(views::Border::CreateEmptyBorder(0, 0, 16, 0));
+ instructions_->SetBorder(views::CreateEmptyBorder(0, 0, 16, 0));
controls_container->AddChildView(instructions_);
input_row_ = new views::View();
@@ -449,7 +449,7 @@ void CardUnmaskPromptViews::InitIfNecessary() {
temporary_error->SetLayoutManager(temporary_error_layout);
temporary_error_layout->set_cross_axis_alignment(
views::BoxLayout::CROSS_AXIS_ALIGNMENT_START);
- temporary_error->SetBorder(views::Border::CreateEmptyBorder(8, 0, 0, 0));
+ temporary_error->SetBorder(views::CreateEmptyBorder(8, 0, 0, 0));
controls_container->AddChildView(temporary_error);
error_icon_ = new views::ImageView();

Powered by Google App Engine
This is Rietveld 408576698