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

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

Issue 10837192: Speculative revert to see if this change introduced a performance regression on Mac intl perf bots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_feedback_infobar_delegate.h" 5 #include "chrome/browser/autofill/autofill_feedback_infobar_delegate.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/feedback/proto/extension.pb.h" 8 #include "chrome/browser/feedback/proto/extension.pb.h"
9 #include "chrome/browser/infobars/infobar_tab_helper.h" 9 #include "chrome/browser/infobars/infobar_tab_helper.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
(...skipping 28 matching lines...) Expand all
39 return message; 39 return message;
40 } 40 }
41 41
42 string16 AutofillFeedbackInfoBarDelegate::GetLinkText() const { 42 string16 AutofillFeedbackInfoBarDelegate::GetLinkText() const {
43 return link_text_; 43 return link_text_;
44 } 44 }
45 45
46 bool AutofillFeedbackInfoBarDelegate::LinkClicked( 46 bool AutofillFeedbackInfoBarDelegate::LinkClicked(
47 WindowOpenDisposition disposition) { 47 WindowOpenDisposition disposition) {
48 chrome::ShowFeedbackPage( 48 chrome::ShowFeedbackPage(
49 browser::FindBrowserWithWebContents(owner()->web_contents()), 49 browser::FindBrowserForController(
50 &owner()->web_contents()->GetController(), NULL),
50 feedback_message_, 51 feedback_message_,
51 std::string(kCategoryTagAutofill)); 52 std::string(kCategoryTagAutofill));
52 return true; 53 return true;
53 } 54 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698