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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_guest.h

Issue 11035067: Add loadCommit and loadStop Event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ShimSrcAttribute Test Created 8 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
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 // A BrowserPluginGuest represents the browser side of browser <--> renderer 5 // A BrowserPluginGuest represents the browser side of browser <--> renderer
6 // communication. A BrowserPlugin (a WebPlugin) is on the renderer side of 6 // communication. A BrowserPlugin (a WebPlugin) is on the renderer side of
7 // browser <--> guest renderer communication. The 'guest' renderer is a 7 // browser <--> guest renderer communication. The 'guest' renderer is a
8 // <browser> tag. 8 // <browser> tag.
9 // 9 //
10 // BrowserPluginGuest lives on the UI thread of the browser process. It has a 10 // BrowserPluginGuest lives on the UI thread of the browser process. It has a
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 const GURL& validated_url, 107 const GURL& validated_url,
108 int error_code, 108 int error_code,
109 const string16& error_description, 109 const string16& error_description,
110 RenderViewHost* render_view_host) OVERRIDE; 110 RenderViewHost* render_view_host) OVERRIDE;
111 virtual void DidCommitProvisionalLoadForFrame( 111 virtual void DidCommitProvisionalLoadForFrame(
112 int64 frame_id, 112 int64 frame_id,
113 bool is_main_frame, 113 bool is_main_frame,
114 const GURL& url, 114 const GURL& url,
115 PageTransition transition_type, 115 PageTransition transition_type,
116 RenderViewHost* render_view_host) OVERRIDE; 116 RenderViewHost* render_view_host) OVERRIDE;
117 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE;
118
117 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 119 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
118 120
119 // WebContentsDelegate implementation. 121 // WebContentsDelegate implementation.
120 virtual bool CanDownload(RenderViewHost* render_view_host, 122 virtual bool CanDownload(RenderViewHost* render_view_host,
121 int request_id, 123 int request_id,
122 const std::string& request_method) OVERRIDE; 124 const std::string& request_method) OVERRIDE;
123 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; 125 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE;
124 virtual void RendererUnresponsive(WebContents* source) OVERRIDE; 126 virtual void RendererUnresponsive(WebContents* source) OVERRIDE;
125 virtual void RunFileChooser(WebContents* web_contents, 127 virtual void RunFileChooser(WebContents* web_contents,
126 const FileChooserParams& params) OVERRIDE; 128 const FileChooserParams& params) OVERRIDE;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 int pending_update_counter_; 254 int pending_update_counter_;
253 base::TimeDelta guest_hang_timeout_; 255 base::TimeDelta guest_hang_timeout_;
254 bool visible_; 256 bool visible_;
255 257
256 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); 258 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
257 }; 259 };
258 260
259 } // namespace content 261 } // namespace content
260 262
261 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ 263 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698