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

Unified Diff: third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp

Issue 2938913002: Updates volume to change by .05 increments. (Closed)
Patch Set: Addresses comment 22. Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/media/controls/controls-video-keynav.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp
diff --git a/third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp b/third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp
index 755d78cbb2f20fc71a3c80d710d781296567c82a..fa5fa6e2569eecf3503311e53a5c741a54976da0 100644
--- a/third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp
+++ b/third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp
@@ -870,7 +870,8 @@ void MediaControlsImpl::DefaultEventHandler(Event* event) {
return;
}
if (key == "ArrowDown" || key == "ArrowUp") {
- volume_slider_->OnMediaKeyboardEvent(event);
+ for (int i = 0; i < 5; i++)
+ volume_slider_->OnMediaKeyboardEvent(event);
return;
}
}
« no previous file with comments | « third_party/WebKit/LayoutTests/media/controls/controls-video-keynav.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698