| 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_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 namespace gfx { | 42 namespace gfx { |
| 43 class Point; | 43 class Point; |
| 44 class Rect; | 44 class Rect; |
| 45 } | 45 } |
| 46 | 46 |
| 47 namespace IPC { | 47 namespace IPC { |
| 48 struct ChannelHandle; | 48 struct ChannelHandle; |
| 49 } | 49 } |
| 50 | 50 |
| 51 namespace ppapi { |
| 52 class PPB_X509Certificate_Fields; |
| 53 } |
| 54 |
| 51 namespace ui { | 55 namespace ui { |
| 52 class Range; | 56 class Range; |
| 53 } | 57 } |
| 54 | 58 |
| 55 namespace webkit { | 59 namespace webkit { |
| 56 struct WebPluginInfo; | 60 struct WebPluginInfo; |
| 57 namespace ppapi { | 61 namespace ppapi { |
| 58 class PepperFilePath; | 62 class PepperFilePath; |
| 59 class PluginInstance; | 63 class PluginInstance; |
| 60 class PluginModule; | 64 class PluginModule; |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 uint32 host_resolver_id, | 309 uint32 host_resolver_id, |
| 306 const ::ppapi::HostPortPair& host_port, | 310 const ::ppapi::HostPortPair& host_port, |
| 307 const PP_HostResolver_Private_Hint* hint) OVERRIDE; | 311 const PP_HostResolver_Private_Hint* hint) OVERRIDE; |
| 308 virtual void UnregisterHostResolver(uint32 host_resolver_id) OVERRIDE; | 312 virtual void UnregisterHostResolver(uint32 host_resolver_id) OVERRIDE; |
| 309 | 313 |
| 310 virtual bool AddNetworkListObserver( | 314 virtual bool AddNetworkListObserver( |
| 311 webkit_glue::NetworkListObserver* observer) OVERRIDE; | 315 webkit_glue::NetworkListObserver* observer) OVERRIDE; |
| 312 virtual void RemoveNetworkListObserver( | 316 virtual void RemoveNetworkListObserver( |
| 313 webkit_glue::NetworkListObserver* observer) OVERRIDE; | 317 webkit_glue::NetworkListObserver* observer) OVERRIDE; |
| 314 | 318 |
| 319 virtual bool X509CertificateParseDER( |
| 320 const std::vector<char>& der, |
| 321 ppapi::PPB_X509Certificate_Fields* fields) OVERRIDE; |
| 322 |
| 315 virtual int32_t ShowContextMenu( | 323 virtual int32_t ShowContextMenu( |
| 316 webkit::ppapi::PluginInstance* instance, | 324 webkit::ppapi::PluginInstance* instance, |
| 317 webkit::ppapi::PPB_Flash_Menu_Impl* menu, | 325 webkit::ppapi::PPB_Flash_Menu_Impl* menu, |
| 318 const gfx::Point& position) OVERRIDE; | 326 const gfx::Point& position) OVERRIDE; |
| 319 void OnContextMenuClosed( | 327 void OnContextMenuClosed( |
| 320 const content::CustomContextMenuContext& custom_context); | 328 const content::CustomContextMenuContext& custom_context); |
| 321 void OnCustomContextMenuAction( | 329 void OnCustomContextMenuAction( |
| 322 const content::CustomContextMenuContext& custom_context, | 330 const content::CustomContextMenuContext& custom_context, |
| 323 unsigned action); | 331 unsigned action); |
| 324 void CompleteShowContextMenu(int request_id, | 332 void CompleteShowContextMenu(int request_id, |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 | 487 |
| 480 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 488 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
| 481 | 489 |
| 482 scoped_ptr<PepperDeviceEnumerationEventHandler> | 490 scoped_ptr<PepperDeviceEnumerationEventHandler> |
| 483 device_enumeration_event_handler_; | 491 device_enumeration_event_handler_; |
| 484 | 492 |
| 485 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 493 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 486 }; | 494 }; |
| 487 | 495 |
| 488 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 496 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |