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

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

Issue 10093011: Show a replacement plug-in for loading errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 7 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_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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 virtual void PluginRequestedCancelComposition( 161 virtual void PluginRequestedCancelComposition(
162 webkit::ppapi::PluginInstance* instance) OVERRIDE; 162 webkit::ppapi::PluginInstance* instance) OVERRIDE;
163 virtual void PluginSelectionChanged( 163 virtual void PluginSelectionChanged(
164 webkit::ppapi::PluginInstance* instance) OVERRIDE; 164 webkit::ppapi::PluginInstance* instance) OVERRIDE;
165 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance) OVERRIDE; 165 virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance) OVERRIDE;
166 virtual void InstanceCreated( 166 virtual void InstanceCreated(
167 webkit::ppapi::PluginInstance* instance) OVERRIDE; 167 webkit::ppapi::PluginInstance* instance) OVERRIDE;
168 virtual void InstanceDeleted( 168 virtual void InstanceDeleted(
169 webkit::ppapi::PluginInstance* instance) OVERRIDE; 169 webkit::ppapi::PluginInstance* instance) OVERRIDE;
170 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; 170 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE;
171 virtual WebKit::WebPlugin* CreatePluginReplacement(
172 const FilePath& file_path) OVERRIDE;
171 virtual uint32_t GetAudioHardwareOutputSampleRate() OVERRIDE; 173 virtual uint32_t GetAudioHardwareOutputSampleRate() OVERRIDE;
172 virtual uint32_t GetAudioHardwareOutputBufferSize() OVERRIDE; 174 virtual uint32_t GetAudioHardwareOutputBufferSize() OVERRIDE;
173 virtual PlatformAudioOutput* CreateAudioOutput( 175 virtual PlatformAudioOutput* CreateAudioOutput(
174 uint32_t sample_rate, 176 uint32_t sample_rate,
175 uint32_t sample_count, 177 uint32_t sample_count,
176 PlatformAudioOutputClient* client) OVERRIDE; 178 PlatformAudioOutputClient* client) OVERRIDE;
177 virtual PlatformAudioInput* CreateAudioInput( 179 virtual PlatformAudioInput* CreateAudioInput(
178 const std::string& device_id, 180 const std::string& device_id,
179 uint32_t sample_rate, 181 uint32_t sample_rate,
180 uint32_t sample_count, 182 uint32_t sample_count,
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 494
493 scoped_ptr<PepperDeviceEnumerationEventHandler> 495 scoped_ptr<PepperDeviceEnumerationEventHandler>
494 device_enumeration_event_handler_; 496 device_enumeration_event_handler_;
495 497
496 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 498 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
497 }; 499 };
498 500
499 } // namespace content 501 } // namespace content
500 502
501 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 503 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/mock_content_renderer_client.cc ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698