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

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 DidNavigate Struct and 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 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(
122 RenderViewHost* render_view_host) OVERRIDE;
Fady Samuel 2012/10/16 01:40:00 Does this need to be on a new line? Will it go ove
irobert 2012/10/16 20:10:09 Done.
123
121 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 124 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
122 125
123 // WebContentsDelegate implementation. 126 // WebContentsDelegate implementation.
124 virtual bool CanDownload(RenderViewHost* render_view_host, 127 virtual bool CanDownload(RenderViewHost* render_view_host,
125 int request_id, 128 int request_id,
126 const std::string& request_method) OVERRIDE; 129 const std::string& request_method) OVERRIDE;
127 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; 130 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE;
128 virtual void RendererUnresponsive(WebContents* source) OVERRIDE; 131 virtual void RendererUnresponsive(WebContents* source) OVERRIDE;
129 132
130 void UpdateRect(RenderViewHost* render_view_host, 133 void UpdateRect(RenderViewHost* render_view_host,
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 int pending_update_counter_; 261 int pending_update_counter_;
259 base::TimeDelta guest_hang_timeout_; 262 base::TimeDelta guest_hang_timeout_;
260 bool visible_; 263 bool visible_;
261 264
262 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); 265 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
263 }; 266 };
264 267
265 } // namespace content 268 } // namespace content
266 269
267 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ 270 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698