OLD | NEW |
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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 const std::vector<base::string16>& labels) override; | 80 const std::vector<base::string16>& labels) override; |
81 void HideAutofillPopup() override; | 81 void HideAutofillPopup() override; |
82 bool IsAutocompleteEnabled() override; | 82 bool IsAutocompleteEnabled() override; |
83 void PropagateAutofillPredictions( | 83 void PropagateAutofillPredictions( |
84 content::RenderFrameHost* rfh, | 84 content::RenderFrameHost* rfh, |
85 const std::vector<autofill::FormStructure*>& forms) override; | 85 const std::vector<autofill::FormStructure*>& forms) override; |
86 void DidFillOrPreviewField(const base::string16& autofilled_value, | 86 void DidFillOrPreviewField(const base::string16& autofilled_value, |
87 const base::string16& profile_full_name) override; | 87 const base::string16& profile_full_name) override; |
88 void OnFirstUserGestureObserved() override; | 88 void OnFirstUserGestureObserved() override; |
89 bool IsContextSecure(const GURL& form_origin) override; | 89 bool IsContextSecure(const GURL& form_origin) override; |
| 90 const std::string& GetApplicationLocale() override; |
90 | 91 |
91 // content::WebContentsObserver implementation. | 92 // content::WebContentsObserver implementation. |
92 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; | 93 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; |
93 void DidNavigateAnyFrame( | 94 void DidNavigateAnyFrame( |
94 content::RenderFrameHost* render_frame_host, | 95 content::RenderFrameHost* render_frame_host, |
95 const content::LoadCommittedDetails& details, | 96 const content::LoadCommittedDetails& details, |
96 const content::FrameNavigateParams& params) override; | 97 const content::FrameNavigateParams& params) override; |
97 void MainFrameWasResized(bool width_changed) override; | 98 void MainFrameWasResized(bool width_changed) override; |
98 void WebContentsDestroyed() override; | 99 void WebContentsDestroyed() override; |
99 | 100 |
(...skipping 23 matching lines...) Expand all Loading... |
123 | 124 |
124 // The identity provider, used for Payments integration. | 125 // The identity provider, used for Payments integration. |
125 scoped_ptr<IdentityProvider> identity_provider_; | 126 scoped_ptr<IdentityProvider> identity_provider_; |
126 | 127 |
127 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 128 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
128 }; | 129 }; |
129 | 130 |
130 } // namespace autofill | 131 } // namespace autofill |
131 | 132 |
132 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 133 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
OLD | NEW |