OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ | |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ | |
7 | |
8 #include "base/i18n/rtl.h" | |
9 | |
10 class GURL; | |
11 | |
12 namespace content { | |
13 | |
14 class NavigationControllerImpl; | |
15 class NavigatorDelegate; | |
16 class NavigatorObserver; | |
17 class RenderFrameHost; | |
18 | |
19 class Navigator { | |
20 public: | |
21 Navigator( | |
22 NavigationControllerImpl* nav_controller, | |
23 NavigatorDelegate* delegate); | |
24 | |
25 // The RenderFrame started a provisional load. | |
26 void DidStartProvisionalLoad( | |
27 RenderFrameHost* render_frame_host, | |
28 int64 frame_id, | |
Charlie Reis
2013/11/07 01:22:43
Do we need to take in the frame_id and parent_fram
| |
29 int64 parent_frame_id, | |
30 bool main_frame, | |
31 const GURL& url); | |
32 | |
33 NavigationControllerImpl* controller() { | |
34 return controller_; | |
35 } | |
36 | |
37 NavigatorDelegate* delegate() { | |
38 return delegate_; | |
39 } | |
40 | |
41 private: | |
42 NavigationControllerImpl* controller_; | |
43 | |
44 NavigatorDelegate* delegate_; | |
45 }; | |
46 | |
47 } | |
awong
2013/11/06 21:22:59
nit:
} // namespace content
| |
48 | |
49 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ | |
OLD | NEW |