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

Side by Side Diff: chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc

Issue 2276823003: Change many chrome/browser includes to use qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/ui/autofill/save_card_bubble_controller_impl.h" 5 #include "chrome/browser/ui/autofill/save_card_bubble_controller_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "chrome/browser/ui/autofill/save_card_bubble_view.h" 9 #include "chrome/browser/ui/autofill/save_card_bubble_view.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/browser/ui/browser_finder.h" 11 #include "chrome/browser/ui/browser_finder.h"
12 #include "chrome/browser/ui/browser_window.h" 12 #include "chrome/browser/ui/browser_window.h"
13 #include "chrome/browser/ui/location_bar/location_bar.h" 13 #include "chrome/browser/ui/location_bar/location_bar.h"
14 #include "components/autofill/core/browser/autofill_metrics.h" 14 #include "components/autofill/core/browser/autofill_metrics.h"
15 #include "components/autofill/core/common/autofill_constants.h" 15 #include "components/autofill/core/common/autofill_constants.h"
16 #include "components/strings/grit/components_strings.h"
16 #include "content/public/browser/navigation_details.h" 17 #include "content/public/browser/navigation_details.h"
17 #include "grit/components_strings.h"
18 #include "ui/base/l10n/l10n_util.h" 18 #include "ui/base/l10n/l10n_util.h"
19 19
20 DEFINE_WEB_CONTENTS_USER_DATA_KEY(autofill::SaveCardBubbleControllerImpl); 20 DEFINE_WEB_CONTENTS_USER_DATA_KEY(autofill::SaveCardBubbleControllerImpl);
21 21
22 namespace autofill { 22 namespace autofill {
23 23
24 namespace { 24 namespace {
25 25
26 // Number of seconds the bubble and icon will survive navigations, starting 26 // Number of seconds the bubble and icon will survive navigations, starting
27 // from when the bubble is shown. 27 // from when the bubble is shown.
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 location_bar->UpdateSaveCreditCardIcon(); 224 location_bar->UpdateSaveCreditCardIcon();
225 } 225 }
226 226
227 void SaveCardBubbleControllerImpl::OpenUrl(const GURL& url) { 227 void SaveCardBubbleControllerImpl::OpenUrl(const GURL& url) {
228 web_contents()->OpenURL( 228 web_contents()->OpenURL(
229 content::OpenURLParams(url, content::Referrer(), NEW_FOREGROUND_TAB, 229 content::OpenURLParams(url, content::Referrer(), NEW_FOREGROUND_TAB,
230 ui::PAGE_TRANSITION_LINK, false)); 230 ui::PAGE_TRANSITION_LINK, false));
231 } 231 }
232 232
233 } // namespace autofill 233 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698