OLD | NEW |
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 is the browser side of a browser <--> embedder | 5 // A BrowserPluginGuest is the browser side of a browser <--> embedder |
6 // renderer channel. A BrowserPlugin (a WebPlugin) is on the embedder | 6 // renderer channel. A BrowserPlugin (a WebPlugin) is on the embedder |
7 // renderer side of browser <--> embedder renderer communication. | 7 // renderer side of browser <--> embedder renderer communication. |
8 // | 8 // |
9 // BrowserPluginGuest lives on the UI thread of the browser process. It has a | 9 // BrowserPluginGuest lives on the UI thread of the browser process. It has a |
10 // helper, BrowserPluginGuestHelper, which is a RenderViewHostObserver. The | 10 // helper, BrowserPluginGuestHelper, which is a RenderViewHostObserver. The |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 const NotificationSource& source, | 106 const NotificationSource& source, |
107 const NotificationDetails& details) OVERRIDE; | 107 const NotificationDetails& details) OVERRIDE; |
108 | 108 |
109 // WebContentsObserver implementation. | 109 // WebContentsObserver implementation. |
110 virtual void DidStartProvisionalLoadForFrame( | 110 virtual void DidStartProvisionalLoadForFrame( |
111 int64 frame_id, | 111 int64 frame_id, |
112 int64 parent_frame_id, | 112 int64 parent_frame_id, |
113 bool is_main_frame, | 113 bool is_main_frame, |
114 const GURL& validated_url, | 114 const GURL& validated_url, |
115 bool is_error_page, | 115 bool is_error_page, |
| 116 bool is_iframe_srcdoc, |
116 RenderViewHost* render_view_host) OVERRIDE; | 117 RenderViewHost* render_view_host) OVERRIDE; |
117 virtual void DidFailProvisionalLoad( | 118 virtual void DidFailProvisionalLoad( |
118 int64 frame_id, | 119 int64 frame_id, |
119 bool is_main_frame, | 120 bool is_main_frame, |
120 const GURL& validated_url, | 121 const GURL& validated_url, |
121 int error_code, | 122 int error_code, |
122 const string16& error_description, | 123 const string16& error_description, |
123 RenderViewHost* render_view_host) OVERRIDE; | 124 RenderViewHost* render_view_host) OVERRIDE; |
124 virtual void DidCommitProvisionalLoadForFrame( | 125 virtual void DidCommitProvisionalLoadForFrame( |
125 int64 frame_id, | 126 int64 frame_id, |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 bool auto_size_enabled_; | 288 bool auto_size_enabled_; |
288 gfx::Size max_auto_size_; | 289 gfx::Size max_auto_size_; |
289 gfx::Size min_auto_size_; | 290 gfx::Size min_auto_size_; |
290 | 291 |
291 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); | 292 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); |
292 }; | 293 }; |
293 | 294 |
294 } // namespace content | 295 } // namespace content |
295 | 296 |
296 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ | 297 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ |
OLD | NEW |