diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-20 19:02:48 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-20 19:02:48 +0000 |
commit | e0d2dbb4ba1ddfb75681396b62f1326c169c27a4 (patch) | |
tree | 5aa517d785d5f73690cb76f35b81be5f03d3fb4d /webkit/glue/context_menu.h | |
parent | d033a6c9e41f59e9985bb8c86ddd819cc5a5cc03 (diff) | |
download | chromium_src-e0d2dbb4ba1ddfb75681396b62f1326c169c27a4.zip chromium_src-e0d2dbb4ba1ddfb75681396b62f1326c169c27a4.tar.gz chromium_src-e0d2dbb4ba1ddfb75681396b62f1326c169c27a4.tar.bz2 |
Move MediaPlayerAction out of context_menu.h into webview.h since it's really only used by webview.
Review URL: http://codereview.chromium.org/174143
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23850 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/context_menu.h')
-rw-r--r-- | webkit/glue/context_menu.h | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/webkit/glue/context_menu.h b/webkit/glue/context_menu.h index 975ad275..bdeba6c 100644 --- a/webkit/glue/context_menu.h +++ b/webkit/glue/context_menu.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef WEBKIT_GLUE_CONTEXT_NODE_TYPES_H__ -#define WEBKIT_GLUE_CONTEXT_NODE_TYPES_H__ +#ifndef WEBKIT_GLUE_CONTEXT_MENU_H_ +#define WEBKIT_GLUE_CONTEXT_MENU_H_ #include <vector> @@ -154,23 +154,4 @@ struct ContextMenuParams { std::string frame_charset; }; -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_CONTEXT_NODE_TYPES_H__ +#endif // WEBKIT_GLUE_CONTEXT_MENU_H_ |