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

Unified Diff: webkit/glue/media_player_action.h

Issue 251103: Move MediaPlayerAction to WebMediaPlayerAction. Switch to an enum and a... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « webkit/api/public/WebView.h ('k') | webkit/glue/webview.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/media_player_action.h
===================================================================
--- webkit/glue/media_player_action.h (revision 28235)
+++ webkit/glue/media_player_action.h (working copy)
@@ -1,28 +0,0 @@
-// Copyright (c) 2009 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.
-
-#ifndef WEBKIT_GLUE_MEDIA_PLAYER_ACTION_H_
-#define WEBKIT_GLUE_MEDIA_PLAYER_ACTION_H_
-
-// Commands that can be sent to the MediaPlayer via a WebView.
-struct MediaPlayerAction {
- enum CommandTypeBit {
- NONE = 0x0,
- PLAY = 0x1,
- PAUSE = 0x2,
- MUTE = 0x4,
- UNMUTE = 0x8,
- LOOP = 0x10,
- NO_LOOP = 0x20,
- };
-
- // A bitfield representing the actions that the context menu should execute
- // on the originating node.
- int32 command;
-
- MediaPlayerAction() : command(NONE) {}
- explicit MediaPlayerAction(int c) : command(c) {}
-};
-
-#endif // WEBKIT_GLUE_MEDIA_PLAYER_ACTION_H_
« no previous file with comments | « webkit/api/public/WebView.h ('k') | webkit/glue/webview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698