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

Side by Side Diff: ppapi/cpp/extensions/dev/events_dev.cc

Issue 13080002: Apps V2 in Pepper: introduce singleton resource ExtensionsCommon. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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 | « ppapi/cpp/extensions/dev/alarms_dev.h ('k') | ppapi/cpp/extensions/event_base.h » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "ppapi/cpp/extensions/dev/events_dev.h" 5 #include "ppapi/cpp/extensions/dev/events_dev.h"
6 6
7 #include "ppapi/c/extensions/dev/ppb_events_dev.h" 7 #include "ppapi/c/extensions/dev/ppb_ext_events_dev.h"
8 #include "ppapi/cpp/module_impl.h" 8 #include "ppapi/cpp/module_impl.h"
9 9
10 namespace pp { 10 namespace pp {
11 11
12 namespace { 12 namespace {
13 13
14 template <> const char* interface_name<PPB_Ext_Events_Dev_0_1>() { 14 template <> const char* interface_name<PPB_Ext_Events_Dev_0_1>() {
15 return PPB_EXT_EVENTS_DEV_INTERFACE_0_1; 15 return PPB_EXT_EVENTS_DEV_INTERFACE_0_1;
16 } 16 }
17 17
(...skipping 16 matching lines...) Expand all
34 uint32_t listener_id) { 34 uint32_t listener_id) {
35 if (has_interface<PPB_Ext_Events_Dev_0_1>()) { 35 if (has_interface<PPB_Ext_Events_Dev_0_1>()) {
36 get_interface<PPB_Ext_Events_Dev_0_1>()->RemoveListener(instance, 36 get_interface<PPB_Ext_Events_Dev_0_1>()->RemoveListener(instance,
37 listener_id); 37 listener_id);
38 } 38 }
39 } 39 }
40 40
41 } // namespace events 41 } // namespace events
42 } // namespace ext 42 } // namespace ext
43 } // namespace pp 43 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/cpp/extensions/dev/alarms_dev.h ('k') | ppapi/cpp/extensions/event_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698