OLD | NEW |
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_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 const string16& text, | 172 const string16& text, |
173 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 173 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
174 int selection_start, | 174 int selection_start, |
175 int selection_end) OVERRIDE; | 175 int selection_end) OVERRIDE; |
176 virtual void SimulateImeConfirmComposition(const string16& text) OVERRIDE; | 176 virtual void SimulateImeConfirmComposition(const string16& text) OVERRIDE; |
177 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance) OVERRIDE; | 177 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
178 virtual void InstanceCreated( | 178 virtual void InstanceCreated( |
179 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 179 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
180 virtual void InstanceDeleted( | 180 virtual void InstanceDeleted( |
181 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 181 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
| 182 virtual scoped_ptr< ::ppapi::thunk::ResourceCreationAPI> |
| 183 CreateResourceCreationAPI( |
| 184 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
182 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; | 185 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; |
183 virtual WebKit::WebPlugin* CreatePluginReplacement( | 186 virtual WebKit::WebPlugin* CreatePluginReplacement( |
184 const FilePath& file_path) OVERRIDE; | 187 const FilePath& file_path) OVERRIDE; |
185 virtual uint32_t GetAudioHardwareOutputSampleRate() OVERRIDE; | 188 virtual uint32_t GetAudioHardwareOutputSampleRate() OVERRIDE; |
186 virtual uint32_t GetAudioHardwareOutputBufferSize() OVERRIDE; | 189 virtual uint32_t GetAudioHardwareOutputBufferSize() OVERRIDE; |
187 virtual PlatformAudioOutput* CreateAudioOutput( | 190 virtual PlatformAudioOutput* CreateAudioOutput( |
188 uint32_t sample_rate, | 191 uint32_t sample_rate, |
189 uint32_t sample_count, | 192 uint32_t sample_count, |
190 PlatformAudioOutputClient* client) OVERRIDE; | 193 PlatformAudioOutputClient* client) OVERRIDE; |
191 virtual PlatformAudioInput* CreateAudioInput( | 194 virtual PlatformAudioInput* CreateAudioInput( |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 | 515 |
513 scoped_ptr<PepperDeviceEnumerationEventHandler> | 516 scoped_ptr<PepperDeviceEnumerationEventHandler> |
514 device_enumeration_event_handler_; | 517 device_enumeration_event_handler_; |
515 | 518 |
516 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 519 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
517 }; | 520 }; |
518 | 521 |
519 } // namespace content | 522 } // namespace content |
520 | 523 |
521 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 524 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |