Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: content/browser/renderer_host/navigator.h

Issue 26316005: Move out DidStartProvisionalLoad from WebContentsImpl into Navigator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial upload Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698