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

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

Issue 1740483004: Rename enums/functions that collide in chromium style in core/html/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-5
Patch Set: get-names-6: . Created 4 years, 9 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 /* 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Statistics 66 // Statistics
67 unsigned webkitDecodedFrameCount() const; 67 unsigned webkitDecodedFrameCount() const;
68 unsigned webkitDroppedFrameCount() const; 68 unsigned webkitDroppedFrameCount() const;
69 69
70 // Used by canvas to gain raw pixel access 70 // Used by canvas to gain raw pixel access
71 void paintCurrentFrame(SkCanvas*, const IntRect&, const SkPaint*) const; 71 void paintCurrentFrame(SkCanvas*, const IntRect&, const SkPaint*) const;
72 72
73 // Used by WebGL to do GPU-GPU textures copy if possible. 73 // Used by WebGL to do GPU-GPU textures copy if possible.
74 bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObje ct texture, GLenum internalFormat, GLenum type, bool premultiplyAlpha, bool flip Y); 74 bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObje ct texture, GLenum internalFormat, GLenum type, bool premultiplyAlpha, bool flip Y);
75 75
76 bool shouldDisplayPosterImage() const { return displayMode() == Poster; } 76 bool shouldDisplayPosterImage() const { return getDisplayMode() == Poster; }
77 77
78 bool hasAvailableVideoFrame() const; 78 bool hasAvailableVideoFrame() const;
79 79
80 KURL posterImageURL() const override; 80 KURL posterImageURL() const override;
81 81
82 // CanvasImageSource implementation 82 // CanvasImageSource implementation
83 PassRefPtr<Image> getSourceImageForCanvas(SourceImageStatus*, AccelerationHi nt, SnapshotReason) const override; 83 PassRefPtr<Image> getSourceImageForCanvas(SourceImageStatus*, AccelerationHi nt, SnapshotReason) const override;
84 bool isVideoElement() const override { return true; } 84 bool isVideoElement() const override { return true; }
85 bool wouldTaintOrigin(SecurityOrigin*) const override; 85 bool wouldTaintOrigin(SecurityOrigin*) const override;
86 FloatSize elementSize() const override; 86 FloatSize elementSize() const override;
(...skipping 23 matching lines...) Expand all
110 void setDisplayMode(DisplayMode) override; 110 void setDisplayMode(DisplayMode) override;
111 111
112 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 112 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
113 113
114 AtomicString m_defaultPosterURL; 114 AtomicString m_defaultPosterURL;
115 }; 115 };
116 116
117 } // namespace blink 117 } // namespace blink
118 118
119 #endif // HTMLVideoElement_h 119 #endif // HTMLVideoElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTrackElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698