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_RENDERER_HOST_NAVIGATOR_H_ | |
6 #define CONTENT_BROWSER_RENDERER_HOST_NAVIGATOR_H_ | |
7 | |
8 #include "base/i18n/rtl.h" | |
9 | |
10 class GURL; | |
11 | |
12 namespace content { | |
13 | |
14 class NavigationControllerImpl; | |
15 class NavigatorObserver; | |
16 class RenderFrameHost; | |
17 | |
18 class Navigator { | |
19 public: | |
20 explicit Navigator( | |
21 NavigationControllerImpl* nav_controller, | |
Charlie Reis
2013/10/17 00:17:25
nit: This looks like it can fit on the previous li
| |
22 NavigatorObserver* observer); | |
23 | |
24 // The RenderFrame started a provisional load. | |
25 void DidStartProvisionalLoad( | |
26 RenderFrameHost* render_frame_host, | |
Charlie Reis
2013/10/17 00:17:25
Same here.
| |
27 int64 frame_id, | |
28 int64 parent_frame_id, | |
29 bool main_frame, | |
30 const GURL& url); | |
31 | |
32 private: | |
33 NavigationControllerImpl* controller_; | |
34 | |
35 NavigatorObserver* observer_; | |
Charlie Reis
2013/10/17 00:17:25
Perhaps this should be an ObserverList, as in WebC
| |
36 }; | |
37 | |
38 } | |
39 | |
40 #endif // CONTENT_BROWSER_RENDERER_HOST_NAVIGATOR_H_ | |
OLD | NEW |