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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 void LinkClicked(const GURL& url, WindowOpenDisposition disposition) override; |
78 | 78 |
79 // content::WebContentsObserver implementation. | 79 // content::WebContentsObserver implementation. |
80 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; | 80 void RenderFrameDeleted(content::RenderFrameHost* rfh) override; |
81 void DidNavigateAnyFrame( | 81 void DidNavigateAnyFrame( |
82 content::RenderFrameHost* render_frame_host, | 82 content::RenderFrameHost* render_frame_host, |
83 const content::LoadCommittedDetails& details, | 83 const content::LoadCommittedDetails& details, |
84 const content::FrameNavigateParams& params) override; | 84 const content::FrameNavigateParams& params) override; |
85 void MainFrameWasResized() override; | 85 void MainFrameWasResized(bool width_changed) override; |
86 void WebContentsDestroyed() override; | 86 void WebContentsDestroyed() override; |
87 | 87 |
88 // ZoomObserver implementation. | 88 // ZoomObserver implementation. |
89 void OnZoomChanged( | 89 void OnZoomChanged( |
90 const ui_zoom::ZoomController::ZoomChangedEventData& data) override; | 90 const ui_zoom::ZoomController::ZoomChangedEventData& data) override; |
91 | 91 |
92 // Exposed for testing. | 92 // Exposed for testing. |
93 AutofillDialogController* GetDialogControllerForTesting() { | 93 AutofillDialogController* GetDialogControllerForTesting() { |
94 return dialog_controller_.get(); | 94 return dialog_controller_.get(); |
95 } | 95 } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 128 |
129 // The last render frame that called requestAutocomplete. | 129 // The last render frame that called requestAutocomplete. |
130 content::RenderFrameHost* last_rfh_to_rac_; | 130 content::RenderFrameHost* last_rfh_to_rac_; |
131 | 131 |
132 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 132 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
133 }; | 133 }; |
134 | 134 |
135 } // namespace autofill | 135 } // namespace autofill |
136 | 136 |
137 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 137 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
OLD | NEW |