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

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

Issue 6901058: Increase infobar height and infobar button height for touch. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Undo inadvertant merge changes (hopefully). Created 9 years, 7 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_delegate.h" 5 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/autofill/credit_card.h" 8 #include "chrome/browser/autofill/credit_card.h"
9 #include "chrome/browser/autofill/personal_data_manager.h" 9 #include "chrome/browser/autofill/personal_data_manager.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/browser/ui/browser_list.h" 11 #include "chrome/browser/ui/browser_list.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "grit/theme_resources.h" 13 #include "grit/theme_resources_standard.h"
14 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
15 #include "ui/base/resource/resource_bundle.h" 15 #include "ui/base/resource/resource_bundle.h"
16 16
17 AutofillCCInfoBarDelegate::AutofillCCInfoBarDelegate( 17 AutofillCCInfoBarDelegate::AutofillCCInfoBarDelegate(
18 TabContents* tab_contents, 18 TabContents* tab_contents,
19 const CreditCard* credit_card, 19 const CreditCard* credit_card,
20 PersonalDataManager* personal_data, 20 PersonalDataManager* personal_data,
21 const AutofillMetrics* metric_logger) 21 const AutofillMetrics* metric_logger)
22 : ConfirmInfoBarDelegate(tab_contents), 22 : ConfirmInfoBarDelegate(tab_contents),
23 credit_card_(credit_card), 23 credit_card_(credit_card),
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 string16 AutofillCCInfoBarDelegate::GetLinkText() { 89 string16 AutofillCCInfoBarDelegate::GetLinkText() {
90 return l10n_util::GetStringUTF16(IDS_LEARN_MORE); 90 return l10n_util::GetStringUTF16(IDS_LEARN_MORE);
91 } 91 }
92 92
93 bool AutofillCCInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) { 93 bool AutofillCCInfoBarDelegate::LinkClicked(WindowOpenDisposition disposition) {
94 Browser* browser = BrowserList::GetLastActive(); 94 Browser* browser = BrowserList::GetLastActive();
95 DCHECK(browser); 95 DCHECK(browser);
96 browser->OpenAutofillHelpTabAndActivate(); 96 browser->OpenAutofillHelpTabAndActivate();
97 return false; 97 return false;
98 } 98 }
OLDNEW
« no previous file with comments | « chrome/browser/alternate_nav_url_fetcher.cc ('k') | chrome/browser/chromeos/frame/bubble_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698