OLD | NEW |
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 CHROME_RENDERER_PEPPER_DEVICES_H_ | 5 #ifndef CHROME_RENDERER_PEPPER_DEVICES_H_ |
6 #define CHROME_RENDERER_PEPPER_DEVICES_H_ | 6 #define CHROME_RENDERER_PEPPER_DEVICES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "app/surface/transport_dib.h" | 9 #include "app/surface/transport_dib.h" |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
12 #include "base/shared_memory.h" | 12 #include "base/shared_memory.h" |
13 #include "base/simple_thread.h" | 13 #include "base/threading/simple_thread.h" |
14 #include "chrome/common/render_messages.h" | 14 #include "chrome/common/render_messages.h" |
15 #include "chrome/renderer/audio_message_filter.h" | 15 #include "chrome/renderer/audio_message_filter.h" |
16 #include "gfx/rect.h" | 16 #include "gfx/rect.h" |
17 #include "third_party/npapi/bindings/npapi.h" | 17 #include "third_party/npapi/bindings/npapi.h" |
18 #include "third_party/npapi/bindings/npapi_extensions.h" | 18 #include "third_party/npapi/bindings/npapi_extensions.h" |
19 | 19 |
20 class WebPluginDelegatePepper; | 20 class WebPluginDelegatePepper; |
21 class SkBitmap; | 21 class SkBitmap; |
22 | 22 |
23 // Lists all contexts currently open for painting. These are ones requested by | 23 // Lists all contexts currently open for painting. These are ones requested by |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 NPDeviceContextAudio* context_; | 120 NPDeviceContextAudio* context_; |
121 scoped_refptr<AudioMessageFilter> filter_; | 121 scoped_refptr<AudioMessageFilter> filter_; |
122 int32 stream_id_; | 122 int32 stream_id_; |
123 scoped_ptr<base::SharedMemory> shared_memory_; | 123 scoped_ptr<base::SharedMemory> shared_memory_; |
124 uint32 shared_memory_size_; | 124 uint32 shared_memory_size_; |
125 scoped_ptr<base::SyncSocket> socket_; | 125 scoped_ptr<base::SyncSocket> socket_; |
126 scoped_ptr<base::DelegateSimpleThread> audio_thread_; | 126 scoped_ptr<base::DelegateSimpleThread> audio_thread_; |
127 }; | 127 }; |
128 | 128 |
129 #endif // CHROME_RENDERER_PEPPER_DEVICES_H_ | 129 #endif // CHROME_RENDERER_PEPPER_DEVICES_H_ |
OLD | NEW |