OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ | 5 #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ |
6 #define WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ | 6 #define WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 const WebCore::NavigationAction& action, | 202 const WebCore::NavigationAction& action, |
203 WindowOpenDisposition* disposition); | 203 WindowOpenDisposition* disposition); |
204 | 204 |
205 // Returns a valid GURL if we have an alt 404 server URL. | 205 // Returns a valid GURL if we have an alt 404 server URL. |
206 GURL GetAlt404PageUrl(WebCore::DocumentLoader* loader); | 206 GURL GetAlt404PageUrl(WebCore::DocumentLoader* loader); |
207 | 207 |
208 // Returns NavigationGestureAuto if the last load was not user initiated, | 208 // Returns NavigationGestureAuto if the last load was not user initiated, |
209 // otherwise returns NavigationGestureUnknown. | 209 // otherwise returns NavigationGestureUnknown. |
210 NavigationGesture NavigationGestureForLastLoad(); | 210 NavigationGesture NavigationGestureForLastLoad(); |
211 | 211 |
212 // Registers the text input fields in the passed form for autofill, with the | |
213 // exclusion of any field whose name is contained in |excluded_fields|. | |
214 void RegisterAutofillListeners(WebCore::HTMLFormElement* form, | |
215 const std::set<std::wstring>& excluded_fields); | |
216 | |
217 // The WebFrame that owns this object and manages its lifetime. Therefore, | 212 // The WebFrame that owns this object and manages its lifetime. Therefore, |
218 // the web frame object is guaranteed to exist. | 213 // the web frame object is guaranteed to exist. |
219 WebFrameImpl* webframe_; | 214 WebFrameImpl* webframe_; |
220 | 215 |
221 // Resource fetcher for downloading an alternate 404 page. | 216 // Resource fetcher for downloading an alternate 404 page. |
222 scoped_ptr<Alt404PageResourceFetcher> alt_404_page_fetcher_; | 217 scoped_ptr<Alt404PageResourceFetcher> alt_404_page_fetcher_; |
223 | 218 |
224 bool postpone_loading_data_; | 219 bool postpone_loading_data_; |
225 std::string postponed_data_; | 220 std::string postponed_data_; |
226 | 221 |
(...skipping 16 matching lines...) Expand all Loading... |
243 // Indicates if we need to send over the initial notification to the plugin | 238 // Indicates if we need to send over the initial notification to the plugin |
244 // which specifies that the plugin should be ready to accept data. | 239 // which specifies that the plugin should be ready to accept data. |
245 bool sent_initial_response_to_plugin_; | 240 bool sent_initial_response_to_plugin_; |
246 | 241 |
247 // The disposition to use for the next call to dispatchCreatePage. | 242 // The disposition to use for the next call to dispatchCreatePage. |
248 WindowOpenDisposition next_window_open_disposition_; | 243 WindowOpenDisposition next_window_open_disposition_; |
249 }; | 244 }; |
250 | 245 |
251 #endif // #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ | 246 #endif // #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ |
252 | 247 |
OLD | NEW |