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

Side by Side Diff: content/renderer/media/preload.h

Issue 512413002: Move Preload enum to BufferedDataSource. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_MEDIA_PRELOAD_H_
6 #define CONTENT_RENDERER_MEDIA_PRELOAD_H_
7
8 namespace content {
9
10 // Used to specify video preload states. They are "hints" to the browser about
11 // how aggressively the browser should load and buffer data.
12 // Please see the HTML5 spec for the descriptions of these values:
13 // http://www.w3.org/TR/html5/video.html#attr-media-preload
14 //
15 // Enum values must match the values in WebCore::MediaPlayer::Preload and
16 // there will be assertions at compile time if they do not match.
17 enum Preload {
18 NONE,
19 METADATA,
20 AUTO,
21 };
22
23 } // namespace content
24
25 #endif // CONTENT_RENDERER_MEDIA_PRELOAD_H_
OLDNEW
« no previous file with comments | « content/renderer/media/buffered_data_source_unittest.cc ('k') | content/renderer/media/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698