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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 const std::vector<base::string16>& values, | 70 const std::vector<base::string16>& values, |
71 const std::vector<base::string16>& labels) override; | 71 const std::vector<base::string16>& labels) override; |
72 void HideAutofillPopup() override; | 72 void HideAutofillPopup() override; |
73 bool IsAutocompleteEnabled() override; | 73 bool IsAutocompleteEnabled() override; |
74 void PropagateAutofillPredictions( | 74 void PropagateAutofillPredictions( |
75 content::RenderFrameHost* rfh, | 75 content::RenderFrameHost* rfh, |
76 const std::vector<autofill::FormStructure*>& forms) override; | 76 const std::vector<autofill::FormStructure*>& forms) override; |
77 void DidFillOrPreviewField(const base::string16& autofilled_value, | 77 void DidFillOrPreviewField(const base::string16& autofilled_value, |
78 const base::string16& profile_full_name) override; | 78 const base::string16& profile_full_name) override; |
79 void OnFirstUserGestureObserved() override; | 79 void OnFirstUserGestureObserved() override; |
80 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override; | |
81 bool IsContextSecure(const GURL& form_origin) override; | 80 bool IsContextSecure(const GURL& form_origin) override; |
82 | 81 |
83 // content::WebContentsObserver implementation. | 82 // content::WebContentsObserver implementation. |
84 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; | 83 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; |
85 void DidNavigateAnyFrame( | 84 void DidNavigateAnyFrame( |
86 content::RenderFrameHost* render_frame_host, | 85 content::RenderFrameHost* render_frame_host, |
87 const content::LoadCommittedDetails& details, | 86 const content::LoadCommittedDetails& details, |
88 const content::FrameNavigateParams& params) override; | 87 const content::FrameNavigateParams& params) override; |
89 void MainFrameWasResized(bool width_changed) override; | 88 void MainFrameWasResized(bool width_changed) override; |
90 void WebContentsDestroyed() override; | 89 void WebContentsDestroyed() override; |
(...skipping 24 matching lines...) Expand all Loading... |
115 | 114 |
116 // The identity provider, used for Wallet integration. | 115 // The identity provider, used for Wallet integration. |
117 scoped_ptr<IdentityProvider> identity_provider_; | 116 scoped_ptr<IdentityProvider> identity_provider_; |
118 | 117 |
119 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 118 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
120 }; | 119 }; |
121 | 120 |
122 } // namespace autofill | 121 } // namespace autofill |
123 | 122 |
124 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 123 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
OLD | NEW |