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

Side by Side Diff: Source/core/html/HTMLVideoElement.h

Issue 1254613003: Let the WebMediaPlayer decide whether to use overlay video. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address Xianzhu's Comments Created 5 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
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 DECLARE_VIRTUAL_TRACE(); 52 DECLARE_VIRTUAL_TRACE();
53 53
54 unsigned videoWidth() const; 54 unsigned videoWidth() const;
55 unsigned videoHeight() const; 55 unsigned videoHeight() const;
56 56
57 // Fullscreen 57 // Fullscreen
58 void webkitEnterFullscreen(); 58 void webkitEnterFullscreen();
59 void webkitExitFullscreen(); 59 void webkitExitFullscreen();
60 bool webkitSupportsFullscreen(); 60 bool webkitSupportsFullscreen();
61 bool webkitDisplayingFullscreen(); 61 bool webkitDisplayingFullscreen();
62 bool usesOverlayFullscreenVideo() const override;
62 63
63 // Statistics 64 // Statistics
64 unsigned webkitDecodedFrameCount() const; 65 unsigned webkitDecodedFrameCount() const;
65 unsigned webkitDroppedFrameCount() const; 66 unsigned webkitDroppedFrameCount() const;
66 67
67 // Used by canvas to gain raw pixel access 68 // Used by canvas to gain raw pixel access
68 void paintCurrentFrame(SkCanvas*, const IntRect&, const SkPaint*) const; 69 void paintCurrentFrame(SkCanvas*, const IntRect&, const SkPaint*) const;
69 70
70 // Used by WebGL to do GPU-GPU textures copy if possible. 71 // Used by WebGL to do GPU-GPU textures copy if possible.
71 bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObje ct texture, GLenum internalFormat, GLenum type, bool premultiplyAlpha, bool flip Y); 72 bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObje ct texture, GLenum internalFormat, GLenum type, bool premultiplyAlpha, bool flip Y);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void setDisplayMode(DisplayMode) override; 104 void setDisplayMode(DisplayMode) override;
104 105
105 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 106 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
106 107
107 AtomicString m_defaultPosterURL; 108 AtomicString m_defaultPosterURL;
108 }; 109 };
109 110
110 } // namespace blink 111 } // namespace blink
111 112
112 #endif // HTMLVideoElement_h 113 #endif // HTMLVideoElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698