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

Side by Side Diff: chrome/browser/autofill/autofill_cc_infobar_win.cc

Issue 6122006: Cleanup: Remove unneeded includes of pref_names.h (Closed) Base URL: svn://chrome-svn/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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/autofill/autofill_cc_infobar.h" 5 #include "chrome/browser/autofill/autofill_cc_infobar.h"
6 6
7 #include "app/resource_bundle.h" 7 #include "app/resource_bundle.h"
8 #include "chrome/browser/ui/views/event_utils.h" 8 #include "chrome/browser/ui/views/event_utils.h"
9 #include "chrome/browser/ui/views/infobars/infobars.h" 9 #include "chrome/browser/ui/views/infobars/infobars.h"
10 #include "chrome/browser/ui/views/infobars/infobar_text_button.h" 10 #include "chrome/browser/ui/views/infobars/infobar_text_button.h"
11 #include "chrome/common/pref_names.h"
12 #include "grit/chromium_strings.h" 11 #include "grit/chromium_strings.h"
13 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
14 #include "grit/theme_resources.h" 13 #include "grit/theme_resources.h"
15 #include "third_party/skia/include/core/SkBitmap.h" 14 #include "third_party/skia/include/core/SkBitmap.h"
16 #include "views/controls/button/text_button.h" 15 #include "views/controls/button/text_button.h"
17 #include "views/controls/link.h" 16 #include "views/controls/link.h"
18 17
19 class SaveCCInfoConfirmInfoBar : public AlertInfoBar, 18 class SaveCCInfoConfirmInfoBar : public AlertInfoBar,
20 public views::LinkController { 19 public views::LinkController {
21 public: 20 public:
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 } 162 }
164 163
165 ConfirmInfoBarDelegate* SaveCCInfoConfirmInfoBar::GetDelegate() { 164 ConfirmInfoBarDelegate* SaveCCInfoConfirmInfoBar::GetDelegate() {
166 return delegate()->AsConfirmInfoBarDelegate(); 165 return delegate()->AsConfirmInfoBarDelegate();
167 } 166 }
168 167
169 InfoBar* CreateAutofillCcInfoBar(ConfirmInfoBarDelegate* delegate) { 168 InfoBar* CreateAutofillCcInfoBar(ConfirmInfoBarDelegate* delegate) {
170 DCHECK(delegate); 169 DCHECK(delegate);
171 return new SaveCCInfoConfirmInfoBar(delegate); 170 return new SaveCCInfoConfirmInfoBar(delegate);
172 } 171 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_cc_infobar_delegate.cc ('k') | chrome/browser/autofill/autofill_dialog_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698