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

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

Issue 2270533002: cc: Remove the software compositing bool from PrepareTextureMailbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@softwarerendering
Patch Set: remove-prepare-mailbox-param: bad-merge Created 4 years, 4 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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 // Checks whether this is a valid instance of the given module. After calling 541 // Checks whether this is a valid instance of the given module. After calling
542 // ResetAsProxied above, a NaCl plugin instance's module changes, so external 542 // ResetAsProxied above, a NaCl plugin instance's module changes, so external
543 // hosts won't recognize it as a valid instance of the original module. This 543 // hosts won't recognize it as a valid instance of the original module. This
544 // method fixes that be checking that either module_ or original_module_ match 544 // method fixes that be checking that either module_ or original_module_ match
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) override;
552 bool use_shared_memory) override;
553 552
554 // RenderFrameObserver 553 // RenderFrameObserver
555 void AccessibilityModeChanged() override; 554 void AccessibilityModeChanged() override;
556 void OnDestruct() override; 555 void OnDestruct() override;
557 556
558 // PluginInstanceThrottler::Observer 557 // PluginInstanceThrottler::Observer
559 void OnThrottleStateChange() override; 558 void OnThrottleStateChange() override;
560 void OnHiddenForPlaceholder(bool hidden) override; 559 void OnHiddenForPlaceholder(bool hidden) override;
561 560
562 PepperAudioController& audio_controller() { 561 PepperAudioController& audio_controller() {
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 // view change events. 993 // view change events.
995 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 994 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
996 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 995 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
997 996
998 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 997 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
999 }; 998 };
1000 999
1001 } // namespace content 1000 } // namespace content
1002 1001
1003 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 1002 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/reflector_impl_unittest.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