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_INSTANCE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 // the given module. | 545 // the given module. |
546 bool IsValidInstanceOf(PluginModule* module); | 546 bool IsValidInstanceOf(PluginModule* module); |
547 | 547 |
548 // cc::TextureLayerClient implementation. | 548 // cc::TextureLayerClient implementation. |
549 bool PrepareTextureMailbox( | 549 bool PrepareTextureMailbox( |
550 cc::TextureMailbox* mailbox, | 550 cc::TextureMailbox* mailbox, |
551 std::unique_ptr<cc::SingleReleaseCallback>* release_callback, | 551 std::unique_ptr<cc::SingleReleaseCallback>* release_callback, |
552 bool use_shared_memory) override; | 552 bool use_shared_memory) override; |
553 | 553 |
554 // RenderFrameObserver | 554 // RenderFrameObserver |
| 555 void AccessibilityModeChanged() override; |
555 void OnDestruct() override; | 556 void OnDestruct() override; |
556 | 557 |
557 // PluginInstanceThrottler::Observer | 558 // PluginInstanceThrottler::Observer |
558 void OnThrottleStateChange() override; | 559 void OnThrottleStateChange() override; |
559 void OnHiddenForPlaceholder(bool hidden) override; | 560 void OnHiddenForPlaceholder(bool hidden) override; |
560 | 561 |
561 PepperAudioController& audio_controller() { | 562 PepperAudioController& audio_controller() { |
562 return *audio_controller_; | 563 return *audio_controller_; |
563 } | 564 } |
564 | 565 |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
992 // view change events. | 993 // view change events. |
993 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; | 994 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; |
994 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; | 995 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; |
995 | 996 |
996 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 997 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
997 }; | 998 }; |
998 | 999 |
999 } // namespace content | 1000 } // namespace content |
1000 | 1001 |
1001 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 1002 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
OLD | NEW |