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

Side by Side Diff: media/blink/webmediaplayer_impl.h

Issue 2643893002: Skip video overlay surface management when in VR. (Closed)
Patch Set: Removed public API changes and changed references to cast to base instead. Created 3 years, 11 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 unsigned int texture, 171 unsigned int texture,
172 bool premultiply_alpha, 172 bool premultiply_alpha,
173 bool flip_y) override; 173 bool flip_y) override;
174 174
175 blink::WebAudioSourceProvider* getAudioSourceProvider() override; 175 blink::WebAudioSourceProvider* getAudioSourceProvider() override;
176 176
177 void setContentDecryptionModule( 177 void setContentDecryptionModule(
178 blink::WebContentDecryptionModule* cdm, 178 blink::WebContentDecryptionModule* cdm,
179 blink::WebContentDecryptionModuleResult result) override; 179 blink::WebContentDecryptionModuleResult result) override;
180 180
181 void SetEnableFullscreenOverlays(bool enable_overlays);
182 bool supportsOverlayFullscreenVideo() override; 181 bool supportsOverlayFullscreenVideo() override;
183 void enteredFullscreen() override; 182 void enteredFullscreen() override;
184 void exitedFullscreen() override; 183 void exitedFullscreen() override;
185 void becameDominantVisibleContent(bool isDominant) override; 184 void becameDominantVisibleContent(bool isDominant) override;
186 185
187 void setPoster(const blink::WebURL& poster) override; 186 void setPoster(const blink::WebURL& poster) override;
188 187
189 // WebMediaPlayerDelegate::Observer implementation. 188 // WebMediaPlayerDelegate::Observer implementation.
190 void OnFrameHidden() override; 189 void OnFrameHidden() override;
191 void OnFrameClosed() override; 190 void OnFrameClosed() override;
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 649
651 // Pipeline statistics overridden by tests. 650 // Pipeline statistics overridden by tests.
652 base::Optional<PipelineStatistics> pipeline_statistics_for_test_; 651 base::Optional<PipelineStatistics> pipeline_statistics_for_test_;
653 652
654 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 653 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
655 }; 654 };
656 655
657 } // namespace media 656 } // namespace media
658 657
659 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 658 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698