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

Unified Diff: ios/web/web_state/ui/crw_web_controller_unittest.mm

Issue 2295053003: [ios] Implemented LoadHtml w/o using data:// URLs. (Closed)
Patch Set: Small cleanup Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: ios/web/web_state/ui/crw_web_controller_unittest.mm
diff --git a/ios/web/web_state/ui/crw_web_controller_unittest.mm b/ios/web/web_state/ui/crw_web_controller_unittest.mm
index 50832d9f32fa561457be7163a119864281f70c57..e3f2780e662a7d3199377919cd4f5ad2c071c4c8 100644
--- a/ios/web/web_state/ui/crw_web_controller_unittest.mm
+++ b/ios/web/web_state/ui/crw_web_controller_unittest.mm
@@ -196,7 +196,12 @@ typedef BOOL (^openExternalURLBlockType)(const GURL&);
- (web::BlockedPopupInfo*)blockedPopupInfo {
return _blockedPopupInfo.get();
}
-
+- (BOOL)webController:(CRWWebController*)webController
+ shouldOpenURL:(const GURL&)URL
+ mainDocumentURL:(const GURL&)mainDocumentURL
+ linkClicked:(BOOL)linkClicked {
+ return YES;
+}
@end
@interface CountingObserver : NSObject<CRWWebControllerObserver>
« ios/web/public/test/web_test_with_web_state.mm ('K') | « ios/web/web_state/ui/crw_web_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698