Index: media/base/media_event_types.h |
diff --git a/media/base/media_event_types.h b/media/base/media_event_types.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f08bf68bf3cd91cd23be4149e10a6fb77387268a |
--- /dev/null |
+++ b/media/base/media_event_types.h |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// A list of media events. This file is included by media_log.h multiple times, |
jam
2011/07/29 16:08:55
given that there are 5 entries, and all you want i
Scott Franklin
2011/07/29 22:30:25
Sure, I'll fill it in manually. It can always be s
|
+// hence no header guards. DO NOT include elsewhere. |
+ |
+// A media player has been created or destroyed. |
+// Params: none. |
+EVENT(CREATED) |
+EVENT(DESTROYED) |
+ |
+// A media player is loading a resource. |
+// Params: |
+// "url": <URL of the resource> |
+EVENT(LOAD) |
+ |
+// A media player started playing. |
+// Params: none. |
+EVENT(PLAY) |
+ |
+// A media player paused playback. |
+// Params: none. |
+EVENT(PAUSE) |