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 18 matching lines...) Expand all Loading... |
29 #include "content/common/input/input_event_ack_state.h" | 29 #include "content/common/input/input_event_ack_state.h" |
30 #include "content/public/browser/browser_plugin_guest_delegate.h" | 30 #include "content/public/browser/browser_plugin_guest_delegate.h" |
31 #include "content/public/browser/readback_types.h" | 31 #include "content/public/browser/readback_types.h" |
32 #include "content/public/browser/web_contents_observer.h" | 32 #include "content/public/browser/web_contents_observer.h" |
33 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 33 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
34 #include "third_party/WebKit/public/web/WebDragOperation.h" | 34 #include "third_party/WebKit/public/web/WebDragOperation.h" |
35 #include "third_party/WebKit/public/web/WebDragStatus.h" | 35 #include "third_party/WebKit/public/web/WebDragStatus.h" |
36 #include "third_party/WebKit/public/web/WebInputEvent.h" | 36 #include "third_party/WebKit/public/web/WebInputEvent.h" |
37 #include "ui/base/ime/text_input_mode.h" | 37 #include "ui/base/ime/text_input_mode.h" |
38 #include "ui/base/ime/text_input_type.h" | 38 #include "ui/base/ime/text_input_type.h" |
39 #include "ui/gfx/rect.h" | 39 #include "ui/gfx/geometry/rect.h" |
40 | 40 |
41 class SkBitmap; | 41 class SkBitmap; |
42 struct BrowserPluginHostMsg_Attach_Params; | 42 struct BrowserPluginHostMsg_Attach_Params; |
43 struct BrowserPluginHostMsg_ResizeGuest_Params; | 43 struct BrowserPluginHostMsg_ResizeGuest_Params; |
44 struct FrameHostMsg_CompositorFrameSwappedACK_Params; | 44 struct FrameHostMsg_CompositorFrameSwappedACK_Params; |
45 struct FrameHostMsg_ReclaimCompositorResources_Params; | 45 struct FrameHostMsg_ReclaimCompositorResources_Params; |
46 struct FrameMsg_CompositorFrameSwapped_Params; | 46 struct FrameMsg_CompositorFrameSwapped_Params; |
47 | 47 |
48 #if defined(OS_MACOSX) | 48 #if defined(OS_MACOSX) |
49 struct FrameHostMsg_ShowPopup_Params; | 49 struct FrameHostMsg_ShowPopup_Params; |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 // Weak pointer used to ask GeolocationPermissionContext about geolocation | 400 // Weak pointer used to ask GeolocationPermissionContext about geolocation |
401 // permission. | 401 // permission. |
402 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; | 402 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; |
403 | 403 |
404 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); | 404 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); |
405 }; | 405 }; |
406 | 406 |
407 } // namespace content | 407 } // namespace content |
408 | 408 |
409 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ | 409 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ |
OLD | NEW |