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 "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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 const std::vector<base::string16>& values, | 67 const std::vector<base::string16>& values, |
68 const std::vector<base::string16>& labels) override; | 68 const std::vector<base::string16>& labels) override; |
69 void HideAutofillPopup() override; | 69 void HideAutofillPopup() override; |
70 bool IsAutocompleteEnabled() override; | 70 bool IsAutocompleteEnabled() override; |
71 void DetectAccountCreationForms( | 71 void DetectAccountCreationForms( |
72 content::RenderFrameHost* rfh, | 72 content::RenderFrameHost* rfh, |
73 const std::vector<autofill::FormStructure*>& forms) override; | 73 const std::vector<autofill::FormStructure*>& forms) override; |
74 void DidFillOrPreviewField(const base::string16& autofilled_value, | 74 void DidFillOrPreviewField(const base::string16& autofilled_value, |
75 const base::string16& profile_full_name) override; | 75 const base::string16& profile_full_name) override; |
76 void OnFirstUserGestureObserved() override; | 76 void OnFirstUserGestureObserved() override; |
| 77 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override; |
77 | 78 |
78 // content::WebContentsObserver implementation. | 79 // content::WebContentsObserver implementation. |
79 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; | 80 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; |
80 void DidNavigateAnyFrame( | 81 void DidNavigateAnyFrame( |
81 content::RenderFrameHost* render_frame_host, | 82 content::RenderFrameHost* render_frame_host, |
82 const content::LoadCommittedDetails& details, | 83 const content::LoadCommittedDetails& details, |
83 const content::FrameNavigateParams& params) override; | 84 const content::FrameNavigateParams& params) override; |
84 void WebContentsDestroyed() override; | 85 void WebContentsDestroyed() override; |
85 | 86 |
86 // ZoomObserver implementation. | 87 // ZoomObserver implementation. |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 127 |
127 // The last render frame that called requestAutocomplete. | 128 // The last render frame that called requestAutocomplete. |
128 content::RenderFrameHost* last_rfh_to_rac_; | 129 content::RenderFrameHost* last_rfh_to_rac_; |
129 | 130 |
130 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 131 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
131 }; | 132 }; |
132 | 133 |
133 } // namespace autofill | 134 } // namespace autofill |
134 | 135 |
135 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 136 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
OLD | NEW |