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

Side by Side Diff: content/public/browser/web_contents_observer.h

Issue 11788015: When starting a provisional load, indicate whether the provisional URL is about:srcdoc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
7 7
8 #include "base/process_util.h" 8 #include "base/process_util.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/navigation_controller.h" 10 #include "content/public/browser/navigation_controller.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // happening. |frame_id| is a positive, non-zero integer identifying the 52 // happening. |frame_id| is a positive, non-zero integer identifying the
53 // navigating frame in the given |render_view_host|. |parent_frame_id| is the 53 // navigating frame in the given |render_view_host|. |parent_frame_id| is the
54 // frame identifier of the frame containing the navigating frame, or -1 if the 54 // frame identifier of the frame containing the navigating frame, or -1 if the
55 // frame is not contained in another frame. 55 // frame is not contained in another frame.
56 virtual void DidStartProvisionalLoadForFrame( 56 virtual void DidStartProvisionalLoadForFrame(
57 int64 frame_id, 57 int64 frame_id,
58 int64 parent_frame_id, 58 int64 parent_frame_id,
59 bool is_main_frame, 59 bool is_main_frame,
60 const GURL& validated_url, 60 const GURL& validated_url,
61 bool is_error_page, 61 bool is_error_page,
62 bool is_iframe_srcdoc,
62 RenderViewHost* render_view_host) {} 63 RenderViewHost* render_view_host) {}
63 virtual void ProvisionalChangeToMainFrameUrl( 64 virtual void ProvisionalChangeToMainFrameUrl(
64 const GURL& url, 65 const GURL& url,
65 RenderViewHost* render_view_host) {} 66 RenderViewHost* render_view_host) {}
66 virtual void DidCommitProvisionalLoadForFrame( 67 virtual void DidCommitProvisionalLoadForFrame(
67 int64 frame_id, 68 int64 frame_id,
68 bool is_main_frame, 69 bool is_main_frame,
69 const GURL& url, 70 const GURL& url,
70 PageTransition transition_type, 71 PageTransition transition_type,
71 RenderViewHost* render_view_host) {} 72 RenderViewHost* render_view_host) {}
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 void WebContentsImplDestroyed(); 175 void WebContentsImplDestroyed();
175 176
176 WebContentsImpl* web_contents_; 177 WebContentsImpl* web_contents_;
177 178
178 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver); 179 DISALLOW_COPY_AND_ASSIGN(WebContentsObserver);
179 }; 180 };
180 181
181 } // namespace content 182 } // namespace content
182 183
183 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_ 184 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698