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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |