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

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 Comments 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 const GURL& validated_url, 111 const GURL& validated_url,
112 int error_code, 112 int error_code,
113 const string16& error_description, 113 const string16& error_description,
114 RenderViewHost* render_view_host) OVERRIDE; 114 RenderViewHost* render_view_host) OVERRIDE;
115 virtual void DidCommitProvisionalLoadForFrame( 115 virtual void DidCommitProvisionalLoadForFrame(
116 int64 frame_id, 116 int64 frame_id,
117 bool is_main_frame, 117 bool is_main_frame,
118 const GURL& url, 118 const GURL& url,
119 PageTransition transition_type, 119 PageTransition transition_type,
120 RenderViewHost* render_view_host) OVERRIDE; 120 RenderViewHost* render_view_host) OVERRIDE;
121 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE;
122
121 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 123 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
122 124
123 // WebContentsDelegate implementation. 125 // WebContentsDelegate implementation.
124 virtual bool CanDownload(RenderViewHost* render_view_host, 126 virtual bool CanDownload(RenderViewHost* render_view_host,
125 int request_id, 127 int request_id,
126 const std::string& request_method) OVERRIDE; 128 const std::string& request_method) OVERRIDE;
127 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; 129 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE;
128 virtual void RendererUnresponsive(WebContents* source) OVERRIDE; 130 virtual void RendererUnresponsive(WebContents* source) OVERRIDE;
129 131
130 void UpdateRect(RenderViewHost* render_view_host, 132 void UpdateRect(RenderViewHost* render_view_host,
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 int pending_update_counter_; 260 int pending_update_counter_;
259 base::TimeDelta guest_hang_timeout_; 261 base::TimeDelta guest_hang_timeout_;
260 bool visible_; 262 bool visible_;
261 263
262 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); 264 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
263 }; 265 };
264 266
265 } // namespace content 267 } // namespace content
266 268
267 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ 269 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698