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

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

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) 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"
8 #include "chrome/browser/ui/views/event_utils.h" 7 #include "chrome/browser/ui/views/event_utils.h"
9 #include "chrome/browser/ui/views/infobars/infobars.h" 8 #include "chrome/browser/ui/views/infobars/infobars.h"
10 #include "chrome/browser/ui/views/infobars/infobar_text_button.h" 9 #include "chrome/browser/ui/views/infobars/infobar_text_button.h"
11 #include "grit/chromium_strings.h" 10 #include "grit/chromium_strings.h"
12 #include "grit/generated_resources.h" 11 #include "grit/generated_resources.h"
13 #include "grit/theme_resources.h" 12 #include "grit/theme_resources.h"
14 #include "third_party/skia/include/core/SkBitmap.h" 13 #include "third_party/skia/include/core/SkBitmap.h"
14 #include "ui/base/resource/resource_bundle.h"
15 #include "views/controls/button/text_button.h" 15 #include "views/controls/button/text_button.h"
16 #include "views/controls/link.h" 16 #include "views/controls/link.h"
17 17
18 class SaveCCInfoConfirmInfoBar : public AlertInfoBar, 18 class SaveCCInfoConfirmInfoBar : public AlertInfoBar,
19 public views::LinkController { 19 public views::LinkController {
20 public: 20 public:
21 explicit SaveCCInfoConfirmInfoBar(ConfirmInfoBarDelegate* delegate); 21 explicit SaveCCInfoConfirmInfoBar(ConfirmInfoBarDelegate* delegate);
22 virtual ~SaveCCInfoConfirmInfoBar(); 22 virtual ~SaveCCInfoConfirmInfoBar();
23 23
24 // Overridden from views::View: 24 // Overridden from views::View:
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 } 162 }
163 163
164 ConfirmInfoBarDelegate* SaveCCInfoConfirmInfoBar::GetDelegate() { 164 ConfirmInfoBarDelegate* SaveCCInfoConfirmInfoBar::GetDelegate() {
165 return delegate()->AsConfirmInfoBarDelegate(); 165 return delegate()->AsConfirmInfoBarDelegate();
166 } 166 }
167 167
168 InfoBar* CreateAutofillCcInfoBar(ConfirmInfoBarDelegate* delegate) { 168 InfoBar* CreateAutofillCcInfoBar(ConfirmInfoBarDelegate* delegate) {
169 DCHECK(delegate); 169 DCHECK(delegate);
170 return new SaveCCInfoConfirmInfoBar(delegate); 170 return new SaveCCInfoConfirmInfoBar(delegate);
171 } 171 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_cc_infobar_delegate.cc ('k') | chrome/browser/autofill/autofill_dialog_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698