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

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 /*
2 * Copyright 2011 (c) The Chromium Authors. All rights reserved. 2 * Copyright 2011 (c) The Chromium Authors. All rights reserved.
3 * 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
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 7
8 // The browser scriptable container class. The methods on this class 8 // The browser scriptable container class. The methods on this class
9 // are defined in the specific API directories. 9 // are defined in the specific API directories.
10 10
(...skipping 10 matching lines...) Expand all
21 #include <vector> 21 #include <vector>
22 22
23 #include "native_client/src/include/checked_cast.h" 23 #include "native_client/src/include/checked_cast.h"
24 #include "native_client/src/include/nacl_macros.h" 24 #include "native_client/src/include/nacl_macros.h"
25 #include "native_client/src/include/nacl_string.h" 25 #include "native_client/src/include/nacl_string.h"
26 #include "native_client/src/include/portability.h" 26 #include "native_client/src/include/portability.h"
27 #include "native_client/src/trusted/plugin/utility.h" 27 #include "native_client/src/trusted/plugin/utility.h"
28 #include "ppapi/cpp/dev/scriptable_object_deprecated.h" 28 #include "ppapi/cpp/dev/scriptable_object_deprecated.h"
29 #include "ppapi/cpp/private/var_private.h" 29 #include "ppapi/cpp/private/var_private.h"
30 30
31 struct NaClDesc;
32
33 namespace plugin { 31 namespace plugin {
34 32
35 // Forward declarations for externals. 33 // Forward declarations for externals.
36 class DescBasedHandle; 34 class DescBasedHandle;
37 class Plugin; 35 class Plugin;
38 36
39 // ScriptableHandle encapsulates objects that are scriptable from the browser. 37 // ScriptableHandle encapsulates objects that are scriptable from the browser.
40 class ScriptableHandle : public pp::deprecated::ScriptableObject { 38 class ScriptableHandle : public pp::deprecated::ScriptableObject {
41 public: 39 public:
42 // Factory methods for creation. 40 // Factory methods for creation.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 Plugin* plugin_; 128 Plugin* plugin_;
131 // OBSOLETE -- this support is only needed for SRPC descriptor passing. 129 // OBSOLETE -- this support is only needed for SRPC descriptor passing.
132 // TODO(polina): Remove this support when SRPC descriptor passing is removed. 130 // TODO(polina): Remove this support when SRPC descriptor passing is removed.
133 // The contained descriptor handle object. 131 // The contained descriptor handle object.
134 DescBasedHandle* desc_handle_; 132 DescBasedHandle* desc_handle_;
135 }; 133 };
136 134
137 } // namespace plugin 135 } // namespace plugin
138 136
139 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SCRIPTABLE_HANDLE_H_ 137 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SCRIPTABLE_HANDLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698