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

Side by Side Diff: chrome/browser/autofill/autofill_dialog_controller_mac.mm

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #import "chrome/browser/autofill/autofill_dialog_controller_mac.h" 5 #import "chrome/browser/autofill/autofill_dialog_controller_mac.h"
6 #include "app/l10n_util.h" 6 #include "app/l10n_util.h"
7 #include "app/resource_bundle.h"
8 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
9 #include "base/mac/mac_util.h" 8 #include "base/mac/mac_util.h"
10 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
11 #import "chrome/browser/autofill/autofill_address_model_mac.h" 10 #import "chrome/browser/autofill/autofill_address_model_mac.h"
12 #import "chrome/browser/autofill/autofill_address_sheet_controller_mac.h" 11 #import "chrome/browser/autofill/autofill_address_sheet_controller_mac.h"
13 #import "chrome/browser/autofill/autofill_credit_card_model_mac.h" 12 #import "chrome/browser/autofill/autofill_credit_card_model_mac.h"
14 #import "chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.h" 13 #import "chrome/browser/autofill/autofill_credit_card_sheet_controller_mac.h"
15 #import "chrome/browser/autofill/autofill-inl.h" 14 #import "chrome/browser/autofill/autofill-inl.h"
16 #import "chrome/browser/autofill/personal_data_manager.h" 15 #import "chrome/browser/autofill/personal_data_manager.h"
17 #include "chrome/browser/browser_process.h" 16 #include "chrome/browser/browser_process.h"
18 #import "chrome/browser/ui/cocoa/window_size_autosaver.h" 17 #import "chrome/browser/ui/cocoa/window_size_autosaver.h"
19 #include "chrome/browser/prefs/pref_service.h" 18 #include "chrome/browser/prefs/pref_service.h"
20 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
21 #include "chrome/browser/ui/browser.h" 20 #include "chrome/browser/ui/browser.h"
22 #include "chrome/browser/ui/browser_list.h" 21 #include "chrome/browser/ui/browser_list.h"
23 #include "chrome/common/notification_details.h" 22 #include "chrome/common/notification_details.h"
24 #include "chrome/common/notification_observer.h" 23 #include "chrome/common/notification_observer.h"
25 #include "chrome/common/pref_names.h" 24 #include "chrome/common/pref_names.h"
26 #include "grit/generated_resources.h" 25 #include "grit/generated_resources.h"
27 #include "grit/app_resources.h" 26 #include "grit/app_resources.h"
28 #include "grit/theme_resources.h" 27 #include "grit/theme_resources.h"
28 #include "ui/base/resource/resource_bundle.h"
29 29
30 namespace { 30 namespace {
31 31
32 // Type for singleton object that contains the instance of the visible 32 // Type for singleton object that contains the instance of the visible
33 // dialog. 33 // dialog.
34 typedef std::map<Profile*, AutoFillDialogController*> ProfileControllerMap; 34 typedef std::map<Profile*, AutoFillDialogController*> ProfileControllerMap;
35 35
36 static base::LazyInstance<ProfileControllerMap> g_profile_controller_map( 36 static base::LazyInstance<ProfileControllerMap> g_profile_controller_map(
37 base::LINKER_INITIALIZED); 37 base::LINKER_INITIALIZED);
38 38
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 if (!image) { 932 if (!image) {
933 image = rb.GetNativeImageNamed(IDR_INPUT_GOOD); 933 image = rb.GetNativeImageNamed(IDR_INPUT_GOOD);
934 DCHECK(image); 934 DCHECK(image);
935 return image; 935 return image;
936 } 936 }
937 937
938 return nil; 938 return nil;
939 } 939 }
940 940
941 @end 941 @end
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_cc_infobar_win.cc ('k') | chrome/browser/autofill/autofill_editor_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698