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

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

Issue 2100753003: Enable PDF accessibility when RenderFrame's accessibility mode changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 4 years, 5 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
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_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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698