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

Side by Side Diff: chrome/browser/ui/views/payments/payment_sheet_view_controller.cc

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 years, 6 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/payments/payment_sheet_view_controller.h" 5 #include "chrome/browser/ui/views/payments/payment_sheet_view_controller.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/i18n/message_formatter.h" 13 #include "base/i18n/message_formatter.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
17 #include "base/strings/string_util.h" 17 #include "base/strings/string_util.h"
18 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
19 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
20 #include "chrome/browser/browser_process.h" 20 #include "chrome/browser/browser_process.h"
21 #include "chrome/browser/profiles/profile.h" 21 #include "chrome/browser/profiles/profile.h"
22 #include "chrome/browser/ui/chrome_pages.h" 22 #include "chrome/browser/ui/chrome_pages.h"
23 #include "chrome/browser/ui/views/payments/payment_request_dialog_view.h" 23 #include "chrome/browser/ui/views/payments/payment_request_dialog_view.h"
24 #include "chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h" 24 #include "chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h"
25 #include "chrome/browser/ui/views/payments/payment_request_row_view.h" 25 #include "chrome/browser/ui/views/payments/payment_request_row_view.h"
26 #include "chrome/browser/ui/views/payments/payment_request_views_util.h" 26 #include "chrome/browser/ui/views/payments/payment_request_views_util.h"
27 #include "chrome/grit/generated_resources.h"
28 #include "components/autofill/core/browser/field_types.h" 27 #include "components/autofill/core/browser/field_types.h"
29 #include "components/autofill/core/browser/personal_data_manager.h" 28 #include "components/autofill/core/browser/personal_data_manager.h"
30 #include "components/payments/content/payment_request_spec.h" 29 #include "components/payments/content/payment_request_spec.h"
31 #include "components/payments/content/payment_request_state.h" 30 #include "components/payments/content/payment_request_state.h"
32 #include "components/payments/core/currency_formatter.h" 31 #include "components/payments/core/currency_formatter.h"
33 #include "components/payments/core/payment_instrument.h" 32 #include "components/payments/core/payment_instrument.h"
34 #include "components/payments/core/payment_prefs.h" 33 #include "components/payments/core/payment_prefs.h"
35 #include "components/payments/core/strings_util.h" 34 #include "components/payments/core/strings_util.h"
36 #include "components/prefs/pref_service.h" 35 #include "components/prefs/pref_service.h"
37 #include "components/strings/grit/components_strings.h" 36 #include "components/strings/grit/components_strings.h"
(...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 data_source_label->SetDefaultStyle(default_style); 926 data_source_label->SetDefaultStyle(default_style);
928 data_source_label->AddStyleRange( 927 data_source_label->AddStyleRange(
929 gfx::Range(link_begin, link_begin + link_length), 928 gfx::Range(link_begin, link_begin + link_length),
930 views::StyledLabel::RangeStyleInfo::CreateForLink()); 929 views::StyledLabel::RangeStyleInfo::CreateForLink());
931 data_source_label->SizeToFit(0); 930 data_source_label->SizeToFit(0);
932 content_view->AddChildView(data_source_label.release()); 931 content_view->AddChildView(data_source_label.release());
933 return content_view; 932 return content_view;
934 } 933 }
935 934
936 } // namespace payments 935 } // namespace payments
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698