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_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
7 | 7 |
8 #include "base/memory/scoped_vector.h" | 8 #include "base/memory/scoped_vector.h" |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "content/public/browser/invalidate_type.h" | 10 #include "content/public/browser/invalidate_type.h" |
11 #include "content/public/browser/navigation_controller.h" | 11 #include "content/public/browser/navigation_controller.h" |
12 #include "content/public/browser/navigation_throttle.h" | 12 #include "content/public/browser/navigation_throttle.h" |
13 #include "content/public/browser/navigation_ui_data.h" | 13 #include "content/public/browser/navigation_ui_data.h" |
14 #include "content/public/browser/reload_type.h" | 14 #include "content/public/browser/reload_type.h" |
15 #include "ui/base/page_transition_types.h" | 15 #include "ui/base/page_transition_types.h" |
16 #include "ui/base/window_open_disposition.h" | 16 #include "ui/base/window_open_disposition.h" |
17 | 17 |
18 class GURL; | 18 class GURL; |
19 struct FrameHostMsg_DidCommitProvisionalLoad_Params; | 19 struct FrameHostMsg_DidCommitProvisionalLoad_Params; |
20 struct FrameHostMsg_DidFailProvisionalLoadWithError_Params; | |
21 | 20 |
22 namespace content { | 21 namespace content { |
23 | 22 |
24 class FrameTreeNode; | 23 class FrameTreeNode; |
25 class NavigationHandle; | 24 class NavigationHandle; |
26 class RenderFrameHostImpl; | 25 class RenderFrameHostImpl; |
27 struct LoadCommittedDetails; | 26 struct LoadCommittedDetails; |
28 struct OpenURLParams; | 27 struct OpenURLParams; |
29 | 28 |
30 // A delegate API used by Navigator to notify its embedder of navigation | 29 // A delegate API used by Navigator to notify its embedder of navigation |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 // wants to see passed to the corresponding URLRequest on the IO thread. | 146 // wants to see passed to the corresponding URLRequest on the IO thread. |
148 // In the case of a navigation to an interstitial, no call will be made to the | 147 // In the case of a navigation to an interstitial, no call will be made to the |
149 // embedder and |nullptr| is returned. | 148 // embedder and |nullptr| is returned. |
150 virtual std::unique_ptr<NavigationUIData> GetNavigationUIData( | 149 virtual std::unique_ptr<NavigationUIData> GetNavigationUIData( |
151 NavigationHandle* navigation_handle); | 150 NavigationHandle* navigation_handle); |
152 }; | 151 }; |
153 | 152 |
154 } // namspace content | 153 } // namspace content |
155 | 154 |
156 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ | 155 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ |
OLD | NEW |