OLD | NEW |
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 28 matching lines...) Expand all Loading... |
39 #include "core/html/HTMLVideoElement.h" | 39 #include "core/html/HTMLVideoElement.h" |
40 #include "core/html/shadow/MediaControls.h" | 40 #include "core/html/shadow/MediaControls.h" |
41 #include "core/html/track/TextTrack.h" | 41 #include "core/html/track/TextTrack.h" |
42 #include "core/html/track/TextTrackList.h" | 42 #include "core/html/track/TextTrackList.h" |
43 #include "core/page/CaptionUserPreferences.h" | 43 #include "core/page/CaptionUserPreferences.h" |
44 #include "core/page/EventHandler.h" | 44 #include "core/page/EventHandler.h" |
45 #include "core/page/Frame.h" | 45 #include "core/page/Frame.h" |
46 #include "core/page/Page.h" | 46 #include "core/page/Page.h" |
47 #include "core/page/PageGroup.h" | 47 #include "core/page/PageGroup.h" |
48 #include "core/page/Settings.h" | 48 #include "core/page/Settings.h" |
49 #include "core/platform/Language.h" | |
50 #include "core/platform/LocalizedStrings.h" | 49 #include "core/platform/LocalizedStrings.h" |
51 #include "core/platform/graphics/GraphicsContext.h" | 50 #include "core/platform/graphics/GraphicsContext.h" |
52 #include "core/rendering/RenderLayer.h" | 51 #include "core/rendering/RenderLayer.h" |
53 #include "core/rendering/RenderMediaControlElements.h" | 52 #include "core/rendering/RenderMediaControlElements.h" |
54 #include "core/rendering/RenderSlider.h" | 53 #include "core/rendering/RenderSlider.h" |
55 #include "core/rendering/RenderTheme.h" | 54 #include "core/rendering/RenderTheme.h" |
56 #include "core/rendering/RenderVideo.h" | 55 #include "core/rendering/RenderVideo.h" |
57 #include "core/rendering/RenderView.h" | 56 #include "core/rendering/RenderView.h" |
58 | 57 |
59 namespace WebCore { | 58 namespace WebCore { |
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 CueList activeCues = mediaElement->currentlyActiveCues(); | 790 CueList activeCues = mediaElement->currentlyActiveCues(); |
792 for (size_t i = 0; i < activeCues.size(); ++i) { | 791 for (size_t i = 0; i < activeCues.size(); ++i) { |
793 TextTrackCue* cue = activeCues[i].data(); | 792 TextTrackCue* cue = activeCues[i].data(); |
794 cue->videoSizeDidChange(m_videoDisplaySize.size()); | 793 cue->videoSizeDidChange(m_videoDisplaySize.size()); |
795 } | 794 } |
796 } | 795 } |
797 | 796 |
798 // ---------------------------- | 797 // ---------------------------- |
799 | 798 |
800 } // namespace WebCore | 799 } // namespace WebCore |
OLD | NEW |