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_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ |
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ | 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ |
7 | 7 |
8 #include "content/renderer/browser_plugin/browser_plugin_manager.h" | 8 #include "content/renderer/browser_plugin/browser_plugin_manager.h" |
9 #include "ui/gfx/size.h" | 9 #include "ui/gfx/size.h" |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 private: | 38 private: |
39 virtual ~BrowserPluginManagerImpl(); | 39 virtual ~BrowserPluginManagerImpl(); |
40 | 40 |
41 void OnAllocateInstanceIDACK(const IPC::Message& message, | 41 void OnAllocateInstanceIDACK(const IPC::Message& message, |
42 int request_id, | 42 int request_id, |
43 int guest_instance_id); | 43 int guest_instance_id); |
44 void OnPluginAtPositionRequest(const IPC::Message& message, | 44 void OnPluginAtPositionRequest(const IPC::Message& message, |
45 int request_id, | 45 int request_id, |
46 const gfx::Point& position); | 46 const gfx::Point& position); |
47 | 47 |
48 int browser_plugin_instance_id_counter_; | 48 int request_id_counter_; |
49 IDMap<BrowserPlugin> pending_allocate_guest_instance_id_requests_; | 49 IDMap<BrowserPlugin> pending_allocate_guest_instance_id_requests_; |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl); | 51 DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace content | 54 } // namespace content |
55 | 55 |
56 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ | 56 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ |
OLD | NEW |