| 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 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ | 5 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ |
| 6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ | 6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "content/public/browser/render_view_host_observer.h" | 11 #include "content/public/browser/render_view_host_observer.h" |
| 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
| 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" | |
| 14 | 14 |
| 15 namespace IPC { | 15 namespace IPC { |
| 16 class Message; | 16 class Message; |
| 17 class SyncMessage; | 17 class SyncMessage; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace gfx { | 20 namespace gfx { |
| 21 class Point; | 21 class Point; |
| 22 class Size; | 22 class Size; |
| 23 } | 23 } |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 const WebDropData& drop_data, | 78 const WebDropData& drop_data, |
| 79 WebKit::WebDragOperationsMask drag_mask, | 79 WebKit::WebDragOperationsMask drag_mask, |
| 80 const gfx::Point& location); | 80 const gfx::Point& location); |
| 81 void OnSetAutoSize( | 81 void OnSetAutoSize( |
| 82 int instance_id, | 82 int instance_id, |
| 83 const BrowserPluginHostMsg_AutoSize_Params& auto_size_params, | 83 const BrowserPluginHostMsg_AutoSize_Params& auto_size_params, |
| 84 const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params); | 84 const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params); |
| 85 void OnPluginAtPositionResponse(int instance_id, | 85 void OnPluginAtPositionResponse(int instance_id, |
| 86 int request_id, | 86 int request_id, |
| 87 const gfx::Point& position); | 87 const gfx::Point& position); |
| 88 void OnAllowMediaAccess(int instance_id, int request_id, bool allow); |
| 88 | 89 |
| 89 BrowserPluginEmbedder* embedder_; | 90 BrowserPluginEmbedder* embedder_; |
| 90 | 91 |
| 91 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper); | 92 DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedderHelper); |
| 92 }; | 93 }; |
| 93 | 94 |
| 94 } // namespace content | 95 } // namespace content |
| 95 | 96 |
| 96 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ | 97 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_EMBEDDER_HELPER_H_ |
| OLD | NEW |