Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1041)

Side by Side Diff: ios/web/web_state/web_state_impl.h

Issue 2642233004: Removed Form Resubmission callback from CRWWebDelegate. (Closed)
Patch Set: Addressed review comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 5 #ifndef IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
6 #define IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 6 #define IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 void ShowWebInterstitial(WebInterstitialImpl* interstitial); 241 void ShowWebInterstitial(WebInterstitialImpl* interstitial);
242 242
243 // Called to dismiss the currently-displayed transient content view. 243 // Called to dismiss the currently-displayed transient content view.
244 void ClearTransientContentView(); 244 void ClearTransientContentView();
245 245
246 // Notifies the delegate that the load progress was updated. 246 // Notifies the delegate that the load progress was updated.
247 void SendChangeLoadProgress(double progress); 247 void SendChangeLoadProgress(double progress);
248 // Notifies the delegate that a context menu needs handling. 248 // Notifies the delegate that a context menu needs handling.
249 bool HandleContextMenu(const ContextMenuParams& params); 249 bool HandleContextMenu(const ContextMenuParams& params);
250 250
251 // Notifies the delegate that a Form Repost dialog needs to be presented.
252 void ShowRepostFormWarningDialog(const base::Callback<void(bool)>& callback);
253
251 // Notifies the delegate that a JavaScript dialog needs to be presented. 254 // Notifies the delegate that a JavaScript dialog needs to be presented.
252 void RunJavaScriptDialog(const GURL& origin_url, 255 void RunJavaScriptDialog(const GURL& origin_url,
253 JavaScriptDialogType java_script_dialog_type, 256 JavaScriptDialogType java_script_dialog_type,
254 NSString* message_text, 257 NSString* message_text,
255 NSString* default_prompt_text, 258 NSString* default_prompt_text,
256 const DialogClosedCallback& callback); 259 const DialogClosedCallback& callback);
257 260
258 // Notifies the delegate that request receives an authentication challenge 261 // Notifies the delegate that request receives an authentication challenge
259 // and is unable to respond using cached credentials. 262 // and is unable to respond using cached credentials.
260 void OnAuthRequired(NSURLProtectionSpace* protection_space, 263 void OnAuthRequired(NSURLProtectionSpace* protection_space,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 354
352 // Image Fetcher used to images. 355 // Image Fetcher used to images.
353 std::unique_ptr<ImageDataFetcher> image_fetcher_; 356 std::unique_ptr<ImageDataFetcher> image_fetcher_;
354 357
355 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 358 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
356 }; 359 };
357 360
358 } // namespace web 361 } // namespace web
359 362
360 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 363 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698