mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Expose CefLoadHandler in the render process (issue #1077).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1442 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -103,15 +103,26 @@ class CefBrowserImpl : public CefBrowser,
|
||||
bool is_window_rendering_disabled() const {
|
||||
return is_window_rendering_disabled_;
|
||||
}
|
||||
content::RenderView* render_view() {
|
||||
content::RenderView* render_view() const {
|
||||
return content::RenderViewObserver::render_view();
|
||||
}
|
||||
|
||||
bool is_swapped_out() const;
|
||||
|
||||
private:
|
||||
// RenderViewObserver methods.
|
||||
virtual void OnDestruct() OVERRIDE;
|
||||
virtual void DidStartLoading() OVERRIDE;
|
||||
virtual void DidStopLoading() OVERRIDE;
|
||||
virtual void DidFailLoad(WebKit::WebFrame* frame,
|
||||
const WebKit::WebURLError& error) OVERRIDE;
|
||||
virtual void DidFinishLoad(WebKit::WebFrame* frame) OVERRIDE;
|
||||
virtual void DidStartProvisionalLoad(WebKit::WebFrame* frame) OVERRIDE;
|
||||
virtual void DidFailProvisionalLoad(
|
||||
WebKit::WebFrame* frame,
|
||||
const WebKit::WebURLError& error) OVERRIDE;
|
||||
virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame,
|
||||
bool is_new_navigation) OVERRIDE;
|
||||
virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE;
|
||||
virtual void FocusedNodeChanged(const WebKit::WebNode& node) OVERRIDE;
|
||||
virtual void DidCreateDataSource(WebKit::WebFrame* frame,
|
||||
@ -123,6 +134,11 @@ class CefBrowserImpl : public CefBrowser,
|
||||
void OnResponse(const Cef_Response_Params& params);
|
||||
void OnResponseAck(int request_id);
|
||||
|
||||
void OnLoadingStateChange(bool isLoading);
|
||||
void OnLoadStart(WebKit::WebFrame* frame);
|
||||
void OnLoadEnd(WebKit::WebFrame* frame);
|
||||
void OnLoadError(WebKit::WebFrame* frame, const WebKit::WebURLError& error);
|
||||
|
||||
// ID of the browser that this RenderView is associated with. During loading
|
||||
// of cross-origin requests multiple RenderViews may be associated with the
|
||||
// same browser ID.
|
||||
|
Reference in New Issue
Block a user