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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 #include "config.h" | 30 #include "config.h" |
31 | 31 |
32 #include "core/html/shadow/MediaControlElementTypes.h" | 32 #include "core/html/shadow/MediaControlElementTypes.h" |
33 | 33 |
34 #include "CSSValueKeywords.h" | 34 #include "CSSValueKeywords.h" |
35 #include "HTMLNames.h" | 35 #include "HTMLNames.h" |
36 #include "core/css/StylePropertySet.h" | 36 #include "core/css/StylePropertySet.h" |
37 #include "core/dom/ExceptionCodePlaceholder.h" | 37 #include "core/dom/ExceptionCodePlaceholder.h" |
38 #include "core/dom/MouseEvent.h" | 38 #include "core/dom/MouseEvent.h" |
39 #include "core/rendering/RenderMedia.h" | |
40 #include "core/rendering/RenderMediaControlElements.h" | |
41 | 39 |
42 namespace WebCore { | 40 namespace WebCore { |
43 | 41 |
44 using namespace HTMLNames; | 42 using namespace HTMLNames; |
45 | 43 |
46 class Event; | 44 class Event; |
47 | 45 |
48 // FIXME: These constants may need to be tweaked to better match the seeking in
the QuickTime plug-in. | 46 // FIXME: These constants may need to be tweaked to better match the seeking in
the QuickTime plug-in. |
49 static const double cSkipRepeatDelay = 0.1; | 47 static const double cSkipRepeatDelay = 0.1; |
50 static const double cSkipTime = 0.2; | 48 static const double cSkipTime = 0.2; |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 if (value().toDouble() != volume) | 230 if (value().toDouble() != volume) |
233 setValue(String::number(volume)); | 231 setValue(String::number(volume)); |
234 } | 232 } |
235 | 233 |
236 void MediaControlVolumeSliderElement::setClearMutedOnUserInteraction(bool clearM
ute) | 234 void MediaControlVolumeSliderElement::setClearMutedOnUserInteraction(bool clearM
ute) |
237 { | 235 { |
238 m_clearMutedOnUserInteraction = clearMute; | 236 m_clearMutedOnUserInteraction = clearMute; |
239 } | 237 } |
240 | 238 |
241 } // namespace WebCore | 239 } // namespace WebCore |
OLD | NEW |