| 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 if (value().toDouble() != volume) | 310 if (value().toDouble() != volume) |
| 313 setValue(String::number(volume)); | 311 setValue(String::number(volume)); |
| 314 } | 312 } |
| 315 | 313 |
| 316 void MediaControlVolumeSliderElement::setClearMutedOnUserInteraction(bool clearM
ute) | 314 void MediaControlVolumeSliderElement::setClearMutedOnUserInteraction(bool clearM
ute) |
| 317 { | 315 { |
| 318 m_clearMutedOnUserInteraction = clearMute; | 316 m_clearMutedOnUserInteraction = clearMute; |
| 319 } | 317 } |
| 320 | 318 |
| 321 } // namespace WebCore | 319 } // namespace WebCore |
| OLD | NEW |