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

Side by Side Diff: content/browser/frame_host/navigator_delegate.h

Issue 26316005: Move out DidStartProvisionalLoad from WebContentsImpl into Navigator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add NavigatorDelegate Created 7 years, 1 month 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_FRAME_HOST_NAVIGATOR_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
7
8 class GURL;
9
10 namespace content {
11
12 class RenderFrameHost;
13
14 // A delegate API used by Navigator to notify its embedder of navigation
15 // related events.
16 class NavigatorDelegate {
17
18 public:
19 virtual void DidStartProvisionalLoad(int64 frame_id,
20 int64 parent_frame_id,
21 bool is_main_frame,
22 const GURL& validated_url,
23 bool is_error_page,
24 bool is_iframe_srcdoc,
25 RenderFrameHost* render_frame_host) = 0;
26
27 virtual void ProvisionalChangeToMainFrameUrl(
28 const GURL& url,
29 RenderFrameHost* render_frame_host) = 0;
30
31 virtual void NotifyNavigationStateChanged(unsigned changed_flags) = 0;
32
33 private:
34 };
35
36 } // namspace content
37
38 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698