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

Side by Side Diff: sky/engine/core/html/HTMLVideoElement.h

Issue 676923002: Remove the webkit prefix from idl properties and interfaces. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/html/HTMLMediaElement.idl ('k') | sky/engine/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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 class HTMLVideoElement FINAL : public HTMLMediaElement, public CanvasImageSource { 49 class HTMLVideoElement FINAL : public HTMLMediaElement, public CanvasImageSource {
50 DEFINE_WRAPPERTYPEINFO(); 50 DEFINE_WRAPPERTYPEINFO();
51 public: 51 public:
52 static PassRefPtrWillBeRawPtr<HTMLVideoElement> create(Document&); 52 static PassRefPtrWillBeRawPtr<HTMLVideoElement> create(Document&);
53 virtual void trace(Visitor*) OVERRIDE; 53 virtual void trace(Visitor*) OVERRIDE;
54 54
55 unsigned videoWidth() const; 55 unsigned videoWidth() const;
56 unsigned videoHeight() const; 56 unsigned videoHeight() const;
57 57
58 // Statistics
59 unsigned webkitDecodedFrameCount() const;
60 unsigned webkitDroppedFrameCount() const;
61
62 // Used by canvas to gain raw pixel access 58 // Used by canvas to gain raw pixel access
63 void paintCurrentFrameInContext(GraphicsContext*, const IntRect&) const; 59 void paintCurrentFrameInContext(GraphicsContext*, const IntRect&) const;
64 60
65 // Used by WebGL to do GPU-GPU textures copy if possible. 61 // Used by WebGL to do GPU-GPU textures copy if possible.
66 // See more details at MediaPlayer::copyVideoTextureToPlatformTexture() defi ned in engine/WebCore/platform/graphics/MediaPlayer.h. 62 // See more details at MediaPlayer::copyVideoTextureToPlatformTexture() defi ned in engine/WebCore/platform/graphics/MediaPlayer.h.
67 bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObje ct texture, GC3Dint level, GLenum internalFormat, GLenum type, bool premultiplyA lpha, bool flipY); 63 bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, Platform3DObje ct texture, GC3Dint level, GLenum internalFormat, GLenum type, bool premultiplyA lpha, bool flipY);
68 64
69 bool shouldDisplayPosterImage() const { return displayMode() == Poster || di splayMode() == PosterWaitingForVideo; } 65 bool shouldDisplayPosterImage() const { return displayMode() == Poster || di splayMode() == PosterWaitingForVideo; }
70 66
71 KURL posterImageURL() const; 67 KURL posterImageURL() const;
(...skipping 26 matching lines...) Expand all
98 virtual void setDisplayMode(DisplayMode) OVERRIDE; 94 virtual void setDisplayMode(DisplayMode) OVERRIDE;
99 95
100 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 96 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
101 97
102 AtomicString m_defaultPosterURL; 98 AtomicString m_defaultPosterURL;
103 }; 99 };
104 100
105 } // namespace blink 101 } // namespace blink
106 102
107 #endif // HTMLVideoElement_h 103 #endif // HTMLVideoElement_h
OLDNEW
« no previous file with comments | « sky/engine/core/html/HTMLMediaElement.idl ('k') | sky/engine/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698