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

Side by Side Diff: Source/core/html/shadow/MediaControlElements.cpp

Issue 17388003: Remove unused includes from core/{editing,fileapi,history,html} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 6 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/shadow/HTMLShadowElement.cpp ('k') | Source/core/html/shadow/MediaControls.h » ('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) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 14 matching lines...) Expand all
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #include "config.h" 30 #include "config.h"
31 31
32 #include "core/html/shadow/MediaControlElements.h" 32 #include "core/html/shadow/MediaControlElements.h"
33 33
34 #include "core/dom/EventNames.h" 34 #include "core/dom/EventNames.h"
35 #include "core/dom/EventTarget.h"
36 #include "core/dom/ExceptionCodePlaceholder.h" 35 #include "core/dom/ExceptionCodePlaceholder.h"
37 #include "core/dom/FullscreenController.h" 36 #include "core/dom/FullscreenController.h"
38 #include "core/dom/MouseEvent.h" 37 #include "core/dom/MouseEvent.h"
39 #include "core/html/DOMTokenList.h" 38 #include "core/html/DOMTokenList.h"
40 #include "core/html/HTMLVideoElement.h" 39 #include "core/html/HTMLVideoElement.h"
41 #include "core/html/shadow/MediaControls.h" 40 #include "core/html/shadow/MediaControls.h"
42 #include "core/html/track/TextTrack.h" 41 #include "core/html/track/TextTrack.h"
43 #include "core/html/track/TextTrackList.h"
44 #include "core/html/track/TextTrackRegionList.h"
45 #include "core/page/EventHandler.h" 42 #include "core/page/EventHandler.h"
46 #include "core/page/Frame.h" 43 #include "core/page/Frame.h"
47 #include "core/page/Page.h" 44 #include "core/page/Page.h"
48 #include "core/page/PageGroup.h"
49 #include "core/page/Settings.h" 45 #include "core/page/Settings.h"
50 #include "core/platform/LocalizedStrings.h"
51 #include "core/platform/graphics/GraphicsContext.h"
52 #include "core/rendering/RenderLayer.h"
53 #include "core/rendering/RenderMediaControlElements.h" 46 #include "core/rendering/RenderMediaControlElements.h"
54 #include "core/rendering/RenderSlider.h" 47 #include "core/rendering/RenderSlider.h"
55 #include "core/rendering/RenderTheme.h" 48 #include "core/rendering/RenderTheme.h"
56 #include "core/rendering/RenderVideo.h" 49 #include "core/rendering/RenderVideo.h"
57 #include "core/rendering/RenderView.h"
58 50
59 namespace WebCore { 51 namespace WebCore {
60 52
61 using namespace HTMLNames; 53 using namespace HTMLNames;
62 54
63 static const AtomicString& getMediaControlCurrentTimeDisplayElementShadowPseudoI d(); 55 static const AtomicString& getMediaControlCurrentTimeDisplayElementShadowPseudoI d();
64 static const AtomicString& getMediaControlTimeRemainingDisplayElementShadowPseud oId(); 56 static const AtomicString& getMediaControlTimeRemainingDisplayElementShadowPseud oId();
65 57
66 static const char* textTracksOffAttrValue = "-1"; // This must match HTMLMediaEl ement::textTracksOffIndex() 58 static const char* textTracksOffAttrValue = "-1"; // This must match HTMLMediaEl ement::textTracksOffIndex()
67 59
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 CueList activeCues = mediaElement->currentlyActiveCues(); 804 CueList activeCues = mediaElement->currentlyActiveCues();
813 for (size_t i = 0; i < activeCues.size(); ++i) { 805 for (size_t i = 0; i < activeCues.size(); ++i) {
814 TextTrackCue* cue = activeCues[i].data(); 806 TextTrackCue* cue = activeCues[i].data();
815 cue->videoSizeDidChange(m_videoDisplaySize.size()); 807 cue->videoSizeDidChange(m_videoDisplaySize.size());
816 } 808 }
817 } 809 }
818 810
819 // ---------------------------- 811 // ----------------------------
820 812
821 } // namespace WebCore 813 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/shadow/HTMLShadowElement.cpp ('k') | Source/core/html/shadow/MediaControls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698