OLD | NEW |
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" |
11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
12 #include "base/metrics/histogram_macros.h" | 12 #include "base/metrics/histogram_macros.h" |
13 #include "base/strings/sys_string_conversions.h" | 13 #include "base/strings/sys_string_conversions.h" |
14 #include "base/threading/sequenced_worker_pool.h" | |
15 #import "ios/web/interstitials/web_interstitial_impl.h" | 14 #import "ios/web/interstitials/web_interstitial_impl.h" |
16 #import "ios/web/navigation/crw_session_controller.h" | 15 #import "ios/web/navigation/crw_session_controller.h" |
17 #import "ios/web/navigation/crw_session_entry.h" | 16 #import "ios/web/navigation/crw_session_entry.h" |
18 #import "ios/web/navigation/navigation_item_impl.h" | 17 #import "ios/web/navigation/navigation_item_impl.h" |
19 #import "ios/web/navigation/session_storage_builder.h" | 18 #import "ios/web/navigation/session_storage_builder.h" |
20 #include "ios/web/public/browser_state.h" | 19 #include "ios/web/public/browser_state.h" |
21 #import "ios/web/public/crw_session_storage.h" | 20 #import "ios/web/public/crw_session_storage.h" |
22 #import "ios/web/public/image_fetcher/image_data_fetcher.h" | 21 #import "ios/web/public/image_fetcher/image_data_fetcher.h" |
23 #import "ios/web/public/java_script_dialog_presenter.h" | 22 #import "ios/web/public/java_script_dialog_presenter.h" |
24 #import "ios/web/public/navigation_item.h" | 23 #import "ios/web/public/navigation_item.h" |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 const LoadCommittedDetails& load_details) { | 765 const LoadCommittedDetails& load_details) { |
767 for (auto& observer : observers_) | 766 for (auto& observer : observers_) |
768 observer.NavigationItemCommitted(load_details); | 767 observer.NavigationItemCommitted(load_details); |
769 } | 768 } |
770 | 769 |
771 WebState* WebStateImpl::GetWebState() { | 770 WebState* WebStateImpl::GetWebState() { |
772 return this; | 771 return this; |
773 } | 772 } |
774 | 773 |
775 } // namespace web | 774 } // namespace web |
OLD | NEW |