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

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

Issue 8414054: Hello Pepper API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/plugins/ppapi/ppb_hello_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
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_HELLO_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_HELLO_IMPL_H_
7
8 #include "ppapi/c/dev/ppb_hello_dev.h"
9 #include "ppapi/cpp/completion_callback.h"
10 #include "ppapi/shared_impl/hello_impl.h"
11 #include "ppapi/shared_impl/resource.h"
12
13 namespace webkit {
14 namespace ppapi {
15
16 class PPB_Hello_Impl : public ::ppapi::Resource,
17 public ::ppapi::HelloImpl {
18 public:
19 PPB_Hello_Impl(PP_Instance instance);
20 virtual ~PPB_Hello_Impl();
21
22 static PP_Resource Create(PP_Instance instance);
23
24 // Resource overrides.
25 virtual ::ppapi::thunk::PPB_Hello_API* AsPPB_Hello_API();
26
27 // PPB_Hello_API implementation (derived from HelloImpl).
28 virtual int32 SayHello() OVERRIDE;
29 virtual void WhoAreYou(char* name, uint32_t size,
30 pp::CompletionCallback callback);
31
32 DISALLOW_COPY_AND_ASSIGN(PPB_Hello_Impl);
33 };
34
35 } // namespace ppapi
36 } // namespace webkit
37
38 #endif // WEBKIT_PLUGINS_PPAPI_PPB_HELLO_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/plugins/ppapi/ppb_hello_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698