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

Side by Side Diff: chrome/browser/ui/autofill/chrome_autofill_client.h

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Ilya's review inputs. Created 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 const std::vector<base::string16>& values, 66 const std::vector<base::string16>& values,
67 const std::vector<base::string16>& labels) override; 67 const std::vector<base::string16>& labels) override;
68 void HideAutofillPopup() override; 68 void HideAutofillPopup() override;
69 bool IsAutocompleteEnabled() override; 69 bool IsAutocompleteEnabled() override;
70 void DetectAccountCreationForms( 70 void DetectAccountCreationForms(
71 content::RenderFrameHost* rfh, 71 content::RenderFrameHost* rfh,
72 const std::vector<autofill::FormStructure*>& forms) override; 72 const std::vector<autofill::FormStructure*>& forms) override;
73 void DidFillOrPreviewField(const base::string16& autofilled_value, 73 void DidFillOrPreviewField(const base::string16& autofilled_value,
74 const base::string16& profile_full_name) override; 74 const base::string16& profile_full_name) override;
75 void OnFirstUserGestureObserved() override; 75 void OnFirstUserGestureObserved() override;
76 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override;
76 77
77 // content::WebContentsObserver implementation. 78 // content::WebContentsObserver implementation.
78 void WebContentsDestroyed() override; 79 void WebContentsDestroyed() override;
79 80
80 // ZoomObserver implementation. 81 // ZoomObserver implementation.
81 void OnZoomChanged( 82 void OnZoomChanged(
82 const ui_zoom::ZoomController::ZoomChangedEventData& data) override; 83 const ui_zoom::ZoomController::ZoomChangedEventData& data) override;
83 84
84 // Exposed for testing. 85 // Exposed for testing.
85 AutofillDialogController* GetDialogControllerForTesting() { 86 AutofillDialogController* GetDialogControllerForTesting() {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // scoped_ptr. 118 // scoped_ptr.
118 AutofillKeystoneBridgeWrapper* bridge_wrapper_; 119 AutofillKeystoneBridgeWrapper* bridge_wrapper_;
119 #endif // defined(OS_MACOSX) && !defined(OS_IOS) 120 #endif // defined(OS_MACOSX) && !defined(OS_IOS)
120 121
121 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 122 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
122 }; 123 };
123 124
124 } // namespace autofill 125 } // namespace autofill
125 126
126 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 127 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698