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

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: Work around cross-platform whitespace difference in print preview test 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 void set_document_loader(blink::WebURLLoaderClient* loader) { 379 void set_document_loader(blink::WebURLLoaderClient* loader) {
380 document_loader_ = loader; 380 document_loader_ = loader;
381 } 381 }
382 382
383 ContentDecryptorDelegate* GetContentDecryptorDelegate(); 383 ContentDecryptorDelegate* GetContentDecryptorDelegate();
384 384
385 void SetGraphics2DTransform(const float& scale, 385 void SetGraphics2DTransform(const float& scale,
386 const gfx::PointF& translation); 386 const gfx::PointF& translation);
387 387
388 // PluginInstance implementation 388 // PluginInstance implementation
389 RenderFrame* GetRenderFrame() override;
389 RenderView* GetRenderView() override; 390 RenderView* GetRenderView() override;
390 blink::WebPluginContainer* GetContainer() override; 391 blink::WebPluginContainer* GetContainer() override;
391 v8::Isolate* GetIsolate() const override; 392 v8::Isolate* GetIsolate() const override;
392 ppapi::VarTracker* GetVarTracker() override; 393 ppapi::VarTracker* GetVarTracker() override;
393 const GURL& GetPluginURL() override; 394 const GURL& GetPluginURL() override;
394 base::FilePath GetModulePath() override; 395 base::FilePath GetModulePath() override;
395 PP_Resource CreateImage(gfx::ImageSkia* source_image, float scale) override; 396 PP_Resource CreateImage(gfx::ImageSkia* source_image, float scale) override;
396 PP_ExternalPluginResult SwitchToOutOfProcessProxy( 397 PP_ExternalPluginResult SwitchToOutOfProcessProxy(
397 const base::FilePath& file_path, 398 const base::FilePath& file_path,
398 ppapi::PpapiPermissions permissions, 399 ppapi::PpapiPermissions permissions,
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 // the given module. 546 // the given module.
546 bool IsValidInstanceOf(PluginModule* module); 547 bool IsValidInstanceOf(PluginModule* module);
547 548
548 // cc::TextureLayerClient implementation. 549 // cc::TextureLayerClient implementation.
549 bool PrepareTextureMailbox( 550 bool PrepareTextureMailbox(
550 cc::TextureMailbox* mailbox, 551 cc::TextureMailbox* mailbox,
551 std::unique_ptr<cc::SingleReleaseCallback>* release_callback, 552 std::unique_ptr<cc::SingleReleaseCallback>* release_callback,
552 bool use_shared_memory) override; 553 bool use_shared_memory) override;
553 554
554 // RenderFrameObserver 555 // RenderFrameObserver
556 void AccessibilityModeChanged() override;
555 void OnDestruct() override; 557 void OnDestruct() override;
556 558
557 // PluginInstanceThrottler::Observer 559 // PluginInstanceThrottler::Observer
558 void OnThrottleStateChange() override; 560 void OnThrottleStateChange() override;
559 void OnHiddenForPlaceholder(bool hidden) override; 561 void OnHiddenForPlaceholder(bool hidden) override;
560 562
561 PepperAudioController& audio_controller() { 563 PepperAudioController& audio_controller() {
562 return *audio_controller_; 564 return *audio_controller_;
563 } 565 }
564 566
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 // view change events. 994 // view change events.
993 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 995 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
994 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 996 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
995 997
996 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 998 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
997 }; 999 };
998 1000
999 } // namespace content 1001 } // namespace content
1000 1002
1001 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 1003 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/fake_pepper_plugin_instance.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698