| 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 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/containers/scoped_ptr_hash_map.h" | 10 #include "base/containers/scoped_ptr_hash_map.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "content/browser/frame_host/navigation_controller_impl.h" | 14 #include "content/browser/frame_host/navigation_controller_impl.h" |
| 15 #include "content/browser/frame_host/navigator.h" | 15 #include "content/browser/frame_host/navigator.h" |
| 16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
| 17 #include "content/common/navigation_params.h" | 17 #include "content/common/navigation_params.h" |
| 18 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| 19 | 19 |
| 20 class GURL; | 20 class GURL; |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| 23 | 23 |
| 24 class NavigationControllerImpl; | 24 class NavigationControllerImpl; |
| 25 class NavigatorDelegate; | 25 class NavigatorDelegate; |
| 26 class NavigatorTest; | |
| 27 class ResourceRequestBodyImpl; | 26 class ResourceRequestBodyImpl; |
| 28 struct LoadCommittedDetails; | 27 struct LoadCommittedDetails; |
| 29 | 28 |
| 30 // This class is an implementation of Navigator, responsible for managing | 29 // This class is an implementation of Navigator, responsible for managing |
| 31 // navigations in regular browser tabs. | 30 // navigations in regular browser tabs. |
| 32 class CONTENT_EXPORT NavigatorImpl : public Navigator { | 31 class CONTENT_EXPORT NavigatorImpl : public Navigator { |
| 33 public: | 32 public: |
| 34 NavigatorImpl(NavigationControllerImpl* navigation_controller, | 33 NavigatorImpl(NavigationControllerImpl* navigation_controller, |
| 35 NavigatorDelegate* delegate); | 34 NavigatorDelegate* delegate); |
| 36 | 35 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 NavigatorDelegate* delegate_; | 156 NavigatorDelegate* delegate_; |
| 158 | 157 |
| 159 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; | 158 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; |
| 160 | 159 |
| 161 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 160 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
| 162 }; | 161 }; |
| 163 | 162 |
| 164 } // namespace content | 163 } // namespace content |
| 165 | 164 |
| 166 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 165 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
| OLD | NEW |