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

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

Issue 2901633002: Replaced NavigationContext::IsErrorPage with NavigationContext::GetError (Closed)
Patch Set: Created 3 years, 7 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 #import "ios/web/web_state/web_state_impl.h" 5 #import "ios/web/web_state/web_state_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 12 matching lines...) Expand all
23 #import "ios/web/public/web_client.h" 23 #import "ios/web/public/web_client.h"
24 #import "ios/web/public/web_state/context_menu_params.h" 24 #import "ios/web/public/web_state/context_menu_params.h"
25 #import "ios/web/public/web_state/ui/crw_content_view.h" 25 #import "ios/web/public/web_state/ui/crw_content_view.h"
26 #import "ios/web/public/web_state/web_state_delegate.h" 26 #import "ios/web/public/web_state/web_state_delegate.h"
27 #include "ios/web/public/web_state/web_state_interface_provider.h" 27 #include "ios/web/public/web_state/web_state_interface_provider.h"
28 #include "ios/web/public/web_state/web_state_observer.h" 28 #include "ios/web/public/web_state/web_state_observer.h"
29 #import "ios/web/public/web_state/web_state_policy_decider.h" 29 #import "ios/web/public/web_state/web_state_policy_decider.h"
30 #include "ios/web/public/web_thread.h" 30 #include "ios/web/public/web_thread.h"
31 #include "ios/web/public/webui/web_ui_ios_controller.h" 31 #include "ios/web/public/webui/web_ui_ios_controller.h"
32 #include "ios/web/web_state/global_web_state_event_tracker.h" 32 #include "ios/web/web_state/global_web_state_event_tracker.h"
33 #include "ios/web/web_state/navigation_context_impl.h" 33 #import "ios/web/web_state/navigation_context_impl.h"
34 #import "ios/web/web_state/session_certificate_policy_cache_impl.h" 34 #import "ios/web/web_state/session_certificate_policy_cache_impl.h"
35 #import "ios/web/web_state/ui/crw_web_controller.h" 35 #import "ios/web/web_state/ui/crw_web_controller.h"
36 #import "ios/web/web_state/ui/crw_web_controller_container_view.h" 36 #import "ios/web/web_state/ui/crw_web_controller_container_view.h"
37 #include "ios/web/webui/web_ui_ios_controller_factory_registry.h" 37 #include "ios/web/webui/web_ui_ios_controller_factory_registry.h"
38 #include "ios/web/webui/web_ui_ios_impl.h" 38 #include "ios/web/webui/web_ui_ios_impl.h"
39 #include "net/http/http_response_headers.h" 39 #include "net/http/http_response_headers.h"
40 40
41 namespace web { 41 namespace web {
42 42
43 /* static */ 43 /* static */
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 const LoadCommittedDetails& load_details) { 709 const LoadCommittedDetails& load_details) {
710 for (auto& observer : observers_) 710 for (auto& observer : observers_)
711 observer.NavigationItemCommitted(load_details); 711 observer.NavigationItemCommitted(load_details);
712 } 712 }
713 713
714 WebState* WebStateImpl::GetWebState() { 714 WebState* WebStateImpl::GetWebState() {
715 return this; 715 return this;
716 } 716 }
717 717
718 } // namespace web 718 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/web_state/ui/crw_wk_navigation_states_unittest.mm ('k') | ios/web/web_state/web_state_impl_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698