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

Side by Side Diff: content/renderer/pepper/pepper_device_enumeration_event_handler.h

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more more clang fun Created 7 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_RENDERER_PEPPER_PEPPER_DEVICE_ENUMERATION_EVENT_HANDLER_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_DEVICE_ENUMERATION_EVENT_HANDLER_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_DEVICE_ENUMERATION_EVENT_HANDLER_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_DEVICE_ENUMERATION_EVENT_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "content/renderer/media/media_stream_dispatcher_eventhandler.h" 11 #include "content/renderer/media/media_stream_dispatcher_eventhandler.h"
12 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h" 12 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h"
13 #include "webkit/plugins/ppapi/plugin_delegate.h" 13 #include "content/renderer/pepper/plugin_delegate.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 class PepperDeviceEnumerationEventHandler 17 class PepperDeviceEnumerationEventHandler
18 : public MediaStreamDispatcherEventHandler, 18 : public MediaStreamDispatcherEventHandler,
19 public base::SupportsWeakPtr<PepperDeviceEnumerationEventHandler> { 19 public base::SupportsWeakPtr<PepperDeviceEnumerationEventHandler> {
20 public: 20 public:
21 PepperDeviceEnumerationEventHandler(); 21 PepperDeviceEnumerationEventHandler();
22 virtual ~PepperDeviceEnumerationEventHandler(); 22 virtual ~PepperDeviceEnumerationEventHandler();
23 23
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 typedef std::map<int, PepperPluginDelegateImpl::OpenDeviceCallback> 70 typedef std::map<int, PepperPluginDelegateImpl::OpenDeviceCallback>
71 OpenCallbackMap; 71 OpenCallbackMap;
72 OpenCallbackMap open_callbacks_; 72 OpenCallbackMap open_callbacks_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(PepperDeviceEnumerationEventHandler); 74 DISALLOW_COPY_AND_ASSIGN(PepperDeviceEnumerationEventHandler);
75 }; 75 };
76 76
77 } // namespace content 77 } // namespace content
78 78
79 #endif // CONTENT_RENDERER_PEPPER_PEPPER_DEVICE_ENUMERATION_EVENT_HANDLER_H_ 79 #endif // CONTENT_RENDERER_PEPPER_PEPPER_DEVICE_ENUMERATION_EVENT_HANDLER_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_broker_impl.cc ('k') | content/renderer/pepper/pepper_device_enumeration_host_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698