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

Side by Side Diff: webkit/plugins/ppapi/ppb_transport_impl.h

Issue 5828003: Move the Pepper implementation from webkit/glue/plugins/pepper_* to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 | « webkit/plugins/ppapi/ppb_scrollbar_impl.cc ('k') | webkit/plugins/ppapi/ppb_transport_impl.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_GLUE_PLUGINS_PEPPER_TRANSPORT_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_TRANSPORT_IMPL_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_TRANSPORT_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_TRANSPORT_IMPL_H_
7 7
8 #include "base/basictypes.h"
8 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
9 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
10 #include "webkit/glue/plugins/pepper_plugin_delegate.h" 11 #include "webkit/plugins/ppapi/plugin_delegate.h"
11 #include "webkit/glue/plugins/pepper_resource.h" 12 #include "webkit/plugins/ppapi/resource.h"
12 13
13 struct PPB_Transport_Dev; 14 struct PPB_Transport_Dev;
14 15
15 namespace pepper { 16 namespace webkit {
17 namespace ppapi {
16 18
17 class Transport : public Resource { 19 class PPB_Transport_Impl : public Resource {
18 public: 20 public:
19 explicit Transport(PluginModule* module); 21 explicit PPB_Transport_Impl(PluginModule* module);
20 virtual ~Transport(); 22 virtual ~PPB_Transport_Impl();
23
21 static const PPB_Transport_Dev* GetInterface(); 24 static const PPB_Transport_Dev* GetInterface();
22 virtual Transport* AsTransport() { 25 virtual PPB_Transport_Impl* AsPPB_Transport_Impl();
23 return this; 26
24 }
25 bool Init(const char* name, 27 bool Init(const char* name,
26 const char* proto); 28 const char* proto);
29
27 private: 30 private:
28 31 DISALLOW_COPY_AND_ASSIGN(PPB_Transport_Impl);
29 DISALLOW_COPY_AND_ASSIGN(Transport);
30 }; 32 };
31 33
32 } // namespace pepper 34 } // namespace ppapi
35 } // namespace webkit
33 36
34 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_TRANSPORT_H_ 37 #endif // WEBKIT_PLUGINS_PPAPI_PPB_TRANSPORT_IMPL_H_
35 38
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_scrollbar_impl.cc ('k') | webkit/plugins/ppapi/ppb_transport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698