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

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

Issue 2758233003: Fix the conditions when fullscreen detector listeners are registered (Closed)
Patch Set: addressed mlamouri's comments Created 3 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement, 47 class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement,
48 public CanvasImageSource, 48 public CanvasImageSource,
49 public ImageBitmapSource { 49 public ImageBitmapSource {
50 DEFINE_WRAPPERTYPEINFO(); 50 DEFINE_WRAPPERTYPEINFO();
51 51
52 public: 52 public:
53 static HTMLVideoElement* create(Document&); 53 static HTMLVideoElement* create(Document&);
54 DECLARE_VIRTUAL_TRACE(); 54 DECLARE_VIRTUAL_TRACE();
55 55
56 // Node override.
57 Node::InsertionNotificationRequest insertedInto(ContainerNode*) override;
58 void removedFrom(ContainerNode*) override;
59
56 unsigned videoWidth() const; 60 unsigned videoWidth() const;
57 unsigned videoHeight() const; 61 unsigned videoHeight() const;
58 62
59 // Fullscreen 63 // Fullscreen
60 void webkitEnterFullscreen(); 64 void webkitEnterFullscreen();
61 void webkitExitFullscreen(); 65 void webkitExitFullscreen();
62 bool webkitSupportsFullscreen(); 66 bool webkitSupportsFullscreen();
63 bool webkitDisplayingFullscreen(); 67 bool webkitDisplayingFullscreen();
64 bool usesOverlayFullscreenVideo() const override; 68 bool usesOverlayFullscreenVideo() const override;
65 69
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 Member<HTMLImageLoader> m_imageLoader; 152 Member<HTMLImageLoader> m_imageLoader;
149 Member<MediaCustomControlsFullscreenDetector> 153 Member<MediaCustomControlsFullscreenDetector>
150 m_customControlsFullscreenDetector; 154 m_customControlsFullscreenDetector;
151 155
152 AtomicString m_defaultPosterURL; 156 AtomicString m_defaultPosterURL;
153 }; 157 };
154 158
155 } // namespace blink 159 } // namespace blink
156 160
157 #endif // HTMLVideoElement_h 161 #endif // HTMLVideoElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.h ('k') | third_party/WebKit/Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698