OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "ppapi/c/pp_errors.h" | 22 #include "ppapi/c/pp_errors.h" |
23 #include "ppapi/c/pp_instance.h" | 23 #include "ppapi/c/pp_instance.h" |
24 #include "ppapi/c/pp_stdint.h" | 24 #include "ppapi/c/pp_stdint.h" |
25 #include "ui/gfx/size.h" | 25 #include "ui/gfx/size.h" |
26 #include "webkit/fileapi/file_system_types.h" | 26 #include "webkit/fileapi/file_system_types.h" |
27 #include "webkit/plugins/ppapi/dir_contents.h" | 27 #include "webkit/plugins/ppapi/dir_contents.h" |
28 #include "webkit/quota/quota_types.h" | 28 #include "webkit/quota/quota_types.h" |
29 | 29 |
30 class AudioMessageFilter; | 30 class AudioMessageFilter; |
31 class GURL; | 31 class GURL; |
| 32 struct PP_NetAddress_Private; |
32 class SkBitmap; | 33 class SkBitmap; |
33 class Task; | 34 class Task; |
| 35 class TransportDIB; |
34 | 36 |
35 namespace base { | 37 namespace base { |
36 class MessageLoopProxy; | 38 class MessageLoopProxy; |
37 class Time; | 39 class Time; |
38 } | 40 } |
39 | 41 |
40 namespace content { | 42 namespace content { |
41 class P2PSocketDispatcher; | 43 class P2PSocketDispatcher; |
42 } | 44 } |
43 | 45 |
(...skipping 21 matching lines...) Expand all Loading... |
65 namespace WebKit { | 67 namespace WebKit { |
66 class WebFileChooserCompletion; | 68 class WebFileChooserCompletion; |
67 struct WebCursorInfo; | 69 struct WebCursorInfo; |
68 struct WebFileChooserParams; | 70 struct WebFileChooserParams; |
69 } | 71 } |
70 | 72 |
71 namespace webkit_glue { | 73 namespace webkit_glue { |
72 class P2PTransport; | 74 class P2PTransport; |
73 } // namespace webkit_glue | 75 } // namespace webkit_glue |
74 | 76 |
75 struct PP_Flash_NetAddress; | |
76 | |
77 class TransportDIB; | |
78 | |
79 namespace webkit { | 77 namespace webkit { |
80 namespace ppapi { | 78 namespace ppapi { |
81 | 79 |
82 class FileIO; | 80 class FileIO; |
83 class FullscreenContainer; | 81 class FullscreenContainer; |
84 class PepperFilePath; | 82 class PepperFilePath; |
85 class PluginInstance; | 83 class PluginInstance; |
86 class PluginModule; | 84 class PluginModule; |
87 class PPB_Broker_Impl; | 85 class PPB_Broker_Impl; |
88 class PPB_Flash_Menu_Impl; | 86 class PPB_Flash_Menu_Impl; |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 // of the file thread in this renderer. | 378 // of the file thread in this renderer. |
381 virtual scoped_refptr<base::MessageLoopProxy> | 379 virtual scoped_refptr<base::MessageLoopProxy> |
382 GetFileThreadMessageLoopProxy() = 0; | 380 GetFileThreadMessageLoopProxy() = 0; |
383 | 381 |
384 virtual int32_t ConnectTcp( | 382 virtual int32_t ConnectTcp( |
385 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, | 383 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, |
386 const char* host, | 384 const char* host, |
387 uint16_t port) = 0; | 385 uint16_t port) = 0; |
388 virtual int32_t ConnectTcpAddress( | 386 virtual int32_t ConnectTcpAddress( |
389 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, | 387 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, |
390 const struct PP_Flash_NetAddress* addr) = 0; | 388 const PP_NetAddress_Private* addr) = 0; |
391 | 389 |
392 // Show the given context menu at the given position (in the plugin's | 390 // Show the given context menu at the given position (in the plugin's |
393 // coordinates). | 391 // coordinates). |
394 virtual int32_t ShowContextMenu( | 392 virtual int32_t ShowContextMenu( |
395 PluginInstance* instance, | 393 PluginInstance* instance, |
396 webkit::ppapi::PPB_Flash_Menu_Impl* menu, | 394 webkit::ppapi::PPB_Flash_Menu_Impl* menu, |
397 const gfx::Point& position) = 0; | 395 const gfx::Point& position) = 0; |
398 | 396 |
399 // Create a fullscreen container for a plugin instance. This effectively | 397 // Create a fullscreen container for a plugin instance. This effectively |
400 // switches the plugin to fullscreen. | 398 // switches the plugin to fullscreen. |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 virtual void DidReceiveMouseEvent(PluginInstance* instance) = 0; | 464 virtual void DidReceiveMouseEvent(PluginInstance* instance) = 0; |
467 | 465 |
468 // Determines if the browser entered fullscreen mode. | 466 // Determines if the browser entered fullscreen mode. |
469 virtual bool IsInFullscreenMode() = 0; | 467 virtual bool IsInFullscreenMode() = 0; |
470 }; | 468 }; |
471 | 469 |
472 } // namespace ppapi | 470 } // namespace ppapi |
473 } // namespace webkit | 471 } // namespace webkit |
474 | 472 |
475 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ | 473 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ |
OLD | NEW |