Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: ppapi/native_client/src/trusted/plugin/scriptable_handle.h

Issue 8527020: Cleanup: Remove unneeded forward declarations in ppapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 * Copyright 2011 (c) The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be
3 * Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file.
4 * found in the LICENSE file.
5 */
6
7 4
8 // The browser scriptable container class. The methods on this class 5 // The browser scriptable container class. The methods on this class
9 // are defined in the specific API directories. 6 // are defined in the specific API directories.
10 7
11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SCRIPTABLE_HANDLE_H_ 8 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SCRIPTABLE_HANDLE_H_
12 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SCRIPTABLE_HANDLE_H_ 9 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SCRIPTABLE_HANDLE_H_
13 10
14 #include "native_client/src/trusted/plugin/scriptable_handle.h" 11 #include "native_client/src/trusted/plugin/scriptable_handle.h"
15 12
16 #include <stdio.h> 13 #include <stdio.h>
17 #include <string.h> 14 #include <string.h>
18 15
19 #include <set> 16 #include <set>
20 #include <string> 17 #include <string>
21 #include <vector> 18 #include <vector>
22 19
23 #include "native_client/src/include/checked_cast.h" 20 #include "native_client/src/include/checked_cast.h"
24 #include "native_client/src/include/nacl_macros.h" 21 #include "native_client/src/include/nacl_macros.h"
25 #include "native_client/src/include/nacl_string.h" 22 #include "native_client/src/include/nacl_string.h"
26 #include "native_client/src/include/portability.h" 23 #include "native_client/src/include/portability.h"
27 #include "native_client/src/trusted/plugin/utility.h" 24 #include "native_client/src/trusted/plugin/utility.h"
28 #include "ppapi/cpp/dev/scriptable_object_deprecated.h" 25 #include "ppapi/cpp/dev/scriptable_object_deprecated.h"
29 #include "ppapi/cpp/private/var_private.h" 26 #include "ppapi/cpp/private/var_private.h"
30 27
31 struct NaClDesc;
32
33 namespace plugin { 28 namespace plugin {
34 29
35 // Forward declarations for externals. 30 // Forward declarations for externals.
36 class DescBasedHandle; 31 class DescBasedHandle;
37 class Plugin; 32 class Plugin;
38 33
39 // ScriptableHandle encapsulates objects that are scriptable from the browser. 34 // ScriptableHandle encapsulates objects that are scriptable from the browser.
40 class ScriptableHandle : public pp::deprecated::ScriptableObject { 35 class ScriptableHandle : public pp::deprecated::ScriptableObject {
41 public: 36 public:
42 // Factory methods for creation. 37 // Factory methods for creation.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 Plugin* plugin_; 125 Plugin* plugin_;
131 // OBSOLETE -- this support is only needed for SRPC descriptor passing. 126 // OBSOLETE -- this support is only needed for SRPC descriptor passing.
132 // TODO(polina): Remove this support when SRPC descriptor passing is removed. 127 // TODO(polina): Remove this support when SRPC descriptor passing is removed.
133 // The contained descriptor handle object. 128 // The contained descriptor handle object.
134 DescBasedHandle* desc_handle_; 129 DescBasedHandle* desc_handle_;
135 }; 130 };
136 131
137 } // namespace plugin 132 } // namespace plugin
138 133
139 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SCRIPTABLE_HANDLE_H_ 134 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SCRIPTABLE_HANDLE_H_
OLDNEW
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/plugin.h ('k') | ppapi/native_client/src/trusted/plugin/service_runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698