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

Side by Side Diff: third_party/WebKit/Source/modules/media_controls/elements/MediaControlTimelineMetrics.cpp

Issue 2820343002: Media Controls: move timeline related code to modules. (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/html/shadow/MediaControlTimelineMetrics.h" 5 #include "modules/media_controls/elements/MediaControlTimelineMetrics.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <cmath> 8 #include <cmath>
9 #include <limits> 9 #include <limits>
10 #include "platform/KeyboardCodes.h" 10 #include "platform/KeyboardCodes.h"
11 #include "platform/wtf/StdLibExtras.h" 11 #include "platform/wtf/StdLibExtras.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 namespace { 15 namespace {
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 } else { 380 } else {
381 DEFINE_STATIC_LOCAL(CustomCountHistogram, width_histogram, 381 DEFINE_STATIC_LOCAL(CustomCountHistogram, width_histogram,
382 ("Media.Timeline.Width.FullscreenLandscape", kMin, 382 ("Media.Timeline.Width.FullscreenLandscape", kMin,
383 kMax, kBucketCount)); 383 kMax, kBucketCount));
384 width_histogram.Count(timeline_width); 384 width_histogram.Count(timeline_width);
385 } 385 }
386 } 386 }
387 } 387 }
388 388
389 } // namespace blink 389 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698