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

Side by Side Diff: content/test/plugin/plugin_client.h

Issue 19697013: Move NPAPI test plugin to content/test/plugin. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 months 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
« no previous file with comments | « content/test/plugin/plugin_arguments_test.cc ('k') | content/test/plugin/plugin_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_PLUGINS_NPAPI_TEST_PLUGIN_CLIENT_H_ 5 #ifndef CONTENT_TEST_PLUGIN_PLUGIN_CLIENT_H_
6 #define WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_CLIENT_H_ 6 #define CONTENT_TEST_PLUGIN_PLUGIN_CLIENT_H_
7 7
8 #include "third_party/npapi/bindings/npapi.h" 8 #include "third_party/npapi/bindings/npapi.h"
9 #include "third_party/npapi/bindings/nphostapi.h" 9 #include "third_party/npapi/bindings/nphostapi.h"
10 10
11 namespace NPAPIClient { 11 namespace NPAPIClient {
12 12
13 // A PluginClient is a NPAPI Plugin. This class contains 13 // A PluginClient is a NPAPI Plugin. This class contains
14 // the bootstrapping functions used by the browser to load 14 // the bootstrapping functions used by the browser to load
15 // the plugin. 15 // the plugin.
16 class PluginClient { 16 class PluginClient {
(...skipping 18 matching lines...) Expand all
35 35
36 // The table of functions provided by the host. 36 // The table of functions provided by the host.
37 static NPNetscapeFuncs *HostFunctions() { return host_functions_; } 37 static NPNetscapeFuncs *HostFunctions() { return host_functions_; }
38 38
39 private: 39 private:
40 static NPNetscapeFuncs* host_functions_; 40 static NPNetscapeFuncs* host_functions_;
41 }; 41 };
42 42
43 } // namespace NPAPIClient 43 } // namespace NPAPIClient
44 44
45 #endif // WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_CLIENT_H_ 45 #endif // CONTENT_TEST_PLUGIN_PLUGIN_CLIENT_H_
OLDNEW
« no previous file with comments | « content/test/plugin/plugin_arguments_test.cc ('k') | content/test/plugin/plugin_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698