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

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

Issue 2642233004: Removed Form Resubmission callback from CRWWebDelegate. (Closed)
Patch Set: Added ShowRepostFormWarningWithNoDelegateMethod test Created 3 years, 11 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
« no previous file with comments | « ios/web/web_state/web_state_delegate_stub.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 void ShowWebInterstitial(WebInterstitialImpl* interstitial); 240 void ShowWebInterstitial(WebInterstitialImpl* interstitial);
241 241
242 // Called to dismiss the currently-displayed transient content view. 242 // Called to dismiss the currently-displayed transient content view.
243 void ClearTransientContentView(); 243 void ClearTransientContentView();
244 244
245 // Notifies the delegate that the load progress was updated. 245 // Notifies the delegate that the load progress was updated.
246 void SendChangeLoadProgress(double progress); 246 void SendChangeLoadProgress(double progress);
247 // Notifies the delegate that a context menu needs handling. 247 // Notifies the delegate that a context menu needs handling.
248 bool HandleContextMenu(const ContextMenuParams& params); 248 bool HandleContextMenu(const ContextMenuParams& params);
249 249
250 // Notifies the delegate that a Form Repost dialog needs to be presented.
251 void ShowRepostFormWarningDialog(const base::Callback<void(bool)>& callback);
252
250 // Notifies the delegate that a JavaScript dialog needs to be presented. 253 // Notifies the delegate that a JavaScript dialog needs to be presented.
251 void RunJavaScriptDialog(const GURL& origin_url, 254 void RunJavaScriptDialog(const GURL& origin_url,
252 JavaScriptDialogType java_script_dialog_type, 255 JavaScriptDialogType java_script_dialog_type,
253 NSString* message_text, 256 NSString* message_text,
254 NSString* default_prompt_text, 257 NSString* default_prompt_text,
255 const DialogClosedCallback& callback); 258 const DialogClosedCallback& callback);
256 259
257 // Notifies the delegate that request receives an authentication challenge 260 // Notifies the delegate that request receives an authentication challenge
258 // and is unable to respond using cached credentials. 261 // and is unable to respond using cached credentials.
259 void OnAuthRequired(NSURLProtectionSpace* protection_space, 262 void OnAuthRequired(NSURLProtectionSpace* protection_space,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 353
351 // Image Fetcher used to images. 354 // Image Fetcher used to images.
352 std::unique_ptr<ImageDataFetcher> image_fetcher_; 355 std::unique_ptr<ImageDataFetcher> image_fetcher_;
353 356
354 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 357 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
355 }; 358 };
356 359
357 } // namespace web 360 } // namespace web
358 361
359 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 362 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
OLDNEW
« no previous file with comments | « ios/web/web_state/web_state_delegate_stub.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698