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

Unified Diff: ios/clean/chrome/browser/ui/web_contents/web_contents_view_controller.mm

Issue 2665423002: Update web shell app to not load dev.chromium.org on launch. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/web/shell/test/earl_grey/shell_base_test_case.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/ui/web_contents/web_contents_view_controller.mm
diff --git a/ios/clean/chrome/browser/ui/web_contents/web_contents_view_controller.mm b/ios/clean/chrome/browser/ui/web_contents/web_contents_view_controller.mm
index 1b9c41dcf22333f16988936e56360275a7e75abb..335117a451e01b3d835eeecb6e70bb2241e666aa 100644
--- a/ios/clean/chrome/browser/ui/web_contents/web_contents_view_controller.mm
+++ b/ios/clean/chrome/browser/ui/web_contents/web_contents_view_controller.mm
@@ -44,13 +44,6 @@
[webContentsView.trailingAnchor
constraintEqualToAnchor:self.view.trailingAnchor],
]];
-
- if (!self.webState->GetNavigationManager()->GetItemCount()) {
- web::NavigationManager::WebLoadParams params(
Eugene But (OOO till 7-30) 2017/02/01 20:47:54 This is not a part of web_shell, so if you want to
baxley 2017/02/01 20:55:02 Sorry, I thought I removed this from the CL. I has
- GURL("https://dev.chromium.org/"));
- params.transition_type = ui::PAGE_TRANSITION_TYPED;
- _webState->GetNavigationManager()->LoadURLWithParams(params);
- }
}
@end
« no previous file with comments | « no previous file | ios/web/shell/test/earl_grey/shell_base_test_case.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698