Chromium Code Reviews| 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 16 matching lines...) Expand all Loading... | |
| 27 #include "base/compiler_specific.h" | 27 #include "base/compiler_specific.h" |
| 28 #include "base/id_map.h" | 28 #include "base/id_map.h" |
| 29 #include "base/memory/shared_memory.h" | 29 #include "base/memory/shared_memory.h" |
| 30 #include "base/memory/weak_ptr.h" | 30 #include "base/memory/weak_ptr.h" |
| 31 #include "base/values.h" | 31 #include "base/values.h" |
| 32 #include "content/common/edit_command.h" | 32 #include "content/common/edit_command.h" |
| 33 #include "content/port/common/input_event_ack_state.h" | 33 #include "content/port/common/input_event_ack_state.h" |
| 34 #include "content/public/browser/browser_plugin_guest_delegate.h" | 34 #include "content/public/browser/browser_plugin_guest_delegate.h" |
| 35 #include "content/public/browser/javascript_dialog_manager.h" | 35 #include "content/public/browser/javascript_dialog_manager.h" |
| 36 #include "content/public/browser/render_view_host_observer.h" | 36 #include "content/public/browser/render_view_host_observer.h" |
| 37 #include "content/public/browser/site_instance.h" | |
|
Charlie Reis
2013/10/29 21:11:39
Is this needed?
Fady Samuel
2013/10/30 19:48:52
Removed.
| |
| 37 #include "content/public/browser/web_contents_delegate.h" | 38 #include "content/public/browser/web_contents_delegate.h" |
| 38 #include "content/public/browser/web_contents_observer.h" | 39 #include "content/public/browser/web_contents_observer.h" |
| 39 #include "content/public/common/browser_plugin_permission_type.h" | 40 #include "content/public/common/browser_plugin_permission_type.h" |
| 40 #include "third_party/WebKit/public/web/WebDragOperation.h" | 41 #include "third_party/WebKit/public/web/WebDragOperation.h" |
| 41 #include "third_party/WebKit/public/web/WebDragStatus.h" | 42 #include "third_party/WebKit/public/web/WebDragStatus.h" |
| 42 #include "third_party/WebKit/public/web/WebInputEvent.h" | 43 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 43 #include "ui/gfx/rect.h" | 44 #include "ui/gfx/rect.h" |
| 44 #include "ui/surface/transport_dib.h" | 45 #include "ui/surface/transport_dib.h" |
| 45 | 46 |
| 46 struct BrowserPluginHostMsg_AutoSize_Params; | 47 struct BrowserPluginHostMsg_AutoSize_Params; |
| (...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 545 // These are parameters passed from JavaScript on attachment to the content | 546 // These are parameters passed from JavaScript on attachment to the content |
| 546 // embedder. | 547 // embedder. |
| 547 scoped_ptr<base::DictionaryValue> extra_attach_params_; | 548 scoped_ptr<base::DictionaryValue> extra_attach_params_; |
| 548 | 549 |
| 549 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); | 550 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); |
| 550 }; | 551 }; |
| 551 | 552 |
| 552 } // namespace content | 553 } // namespace content |
| 553 | 554 |
| 554 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ | 555 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ |
| OLD | NEW |