| 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. Any | 9 // BrowserPluginGuest lives on the UI thread of the browser process. Any |
| 10 // messages about the guest render process that the embedder might be interested | 10 // messages about the guest render process that the embedder might be interested |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "ui/gfx/geometry/rect.h" | 45 #include "ui/gfx/geometry/rect.h" |
| 46 | 46 |
| 47 struct BrowserPluginHostMsg_Attach_Params; | 47 struct BrowserPluginHostMsg_Attach_Params; |
| 48 | 48 |
| 49 #if defined(OS_MACOSX) | 49 #if defined(OS_MACOSX) |
| 50 struct FrameHostMsg_ShowPopup_Params; | 50 struct FrameHostMsg_ShowPopup_Params; |
| 51 #endif | 51 #endif |
| 52 | 52 |
| 53 namespace cc { | 53 namespace cc { |
| 54 class CompositorFrame; | 54 class CompositorFrame; |
| 55 struct SurfaceId; | 55 class SurfaceId; |
| 56 struct SurfaceSequence; | 56 struct SurfaceSequence; |
| 57 } // namespace cc | 57 } // namespace cc |
| 58 | 58 |
| 59 namespace gfx { | 59 namespace gfx { |
| 60 class Range; | 60 class Range; |
| 61 } // namespace gfx | 61 } // namespace gfx |
| 62 | 62 |
| 63 namespace content { | 63 namespace content { |
| 64 | 64 |
| 65 class BrowserPluginGuestManager; | 65 class BrowserPluginGuestManager; |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 // Weak pointer used to ask GeolocationPermissionContext about geolocation | 449 // Weak pointer used to ask GeolocationPermissionContext about geolocation |
| 450 // permission. | 450 // permission. |
| 451 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; | 451 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; |
| 452 | 452 |
| 453 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); | 453 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); |
| 454 }; | 454 }; |
| 455 | 455 |
| 456 } // namespace content | 456 } // namespace content |
| 457 | 457 |
| 458 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ | 458 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ |
| OLD | NEW |