OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_ |
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/platform_file.h" | 11 #include "base/platform_file.h" |
12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
13 #include "base/shared_memory.h" | 13 #include "base/shared_memory.h" |
14 #include "base/sync_socket.h" | 14 #include "base/sync_socket.h" |
15 #include "base/task.h" | |
16 #include "gfx/size.h" | 15 #include "gfx/size.h" |
17 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
18 #include "ppapi/c/pp_completion_callback.h" | 17 #include "ppapi/c/pp_completion_callback.h" |
19 #include "ppapi/c/pp_errors.h" | 18 #include "ppapi/c/pp_errors.h" |
20 #include "ppapi/c/pp_stdint.h" | 19 #include "ppapi/c/pp_stdint.h" |
21 #include "webkit/fileapi/file_system_types.h" | 20 #include "webkit/fileapi/file_system_types.h" |
22 #include "webkit/glue/plugins/pepper_dir_contents.h" | 21 #include "webkit/glue/plugins/pepper_dir_contents.h" |
23 | 22 |
24 class AudioMessageFilter; | 23 class AudioMessageFilter; |
25 class GURL; | 24 class GURL; |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 virtual void DidStartLoading() = 0; | 271 virtual void DidStartLoading() = 0; |
273 virtual void DidStopLoading() = 0; | 272 virtual void DidStopLoading() = 0; |
274 | 273 |
275 // Sets restrictions on how the content can be used (i.e. no print/copy). | 274 // Sets restrictions on how the content can be used (i.e. no print/copy). |
276 virtual void SetContentRestriction(int restrictions) = 0; | 275 virtual void SetContentRestriction(int restrictions) = 0; |
277 }; | 276 }; |
278 | 277 |
279 } // namespace pepper | 278 } // namespace pepper |
280 | 279 |
281 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_ | 280 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_ |
OLD | NEW |