diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-15 04:42:19 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-15 04:42:19 +0000 |
commit | 64e53e91daeca9c871bdbd7dcb7b86d051753e2b (patch) | |
tree | 748f2b243328e340a9e4fa74e71a33d029c0efd6 /webkit/glue/webmenuitem.h | |
parent | 8f675a9c41f8e8ab8defdae8d464f814de24dd98 (diff) | |
download | chromium_src-64e53e91daeca9c871bdbd7dcb7b86d051753e2b.zip chromium_src-64e53e91daeca9c871bdbd7dcb7b86d051753e2b.tar.gz chromium_src-64e53e91daeca9c871bdbd7dcb7b86d051753e2b.tar.bz2 |
move webmenuitem from webkit/glue/ to webkit/common/
TBR=jam@chromium.org
R=jamesr@chromium.org
BUG=239107
Review URL: https://chromiumcodereview.appspot.com/16576008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206549 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webmenuitem.h')
-rw-r--r-- | webkit/glue/webmenuitem.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/webkit/glue/webmenuitem.h b/webkit/glue/webmenuitem.h deleted file mode 100644 index 155dea1..0000000 --- a/webkit/glue/webmenuitem.h +++ /dev/null @@ -1,41 +0,0 @@ -// 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. - -#ifndef WEBMENUITEM_H_ -#define WEBMENUITEM_H_ - -#include <vector> - -#include "base/strings/string16.h" -#include "third_party/WebKit/Source/WebKit/chromium/public/WebMenuItemInfo.h" -#include "webkit/glue/webkit_glue_export.h" - -// Container for information about entries in an HTML select popup menu and -// custom entries of the context menu. -struct WEBKIT_GLUE_EXPORT WebMenuItem { - enum Type { - OPTION = WebKit::WebMenuItemInfo::Option, - CHECKABLE_OPTION = WebKit::WebMenuItemInfo::CheckableOption, - GROUP = WebKit::WebMenuItemInfo::Group, - SEPARATOR = WebKit::WebMenuItemInfo::Separator, - SUBMENU // This is currently only used by Pepper, not by WebKit. - }; - - WebMenuItem(); - WebMenuItem(const WebKit::WebMenuItemInfo& item); - WebMenuItem(const WebMenuItem& item); - ~WebMenuItem(); - - base::string16 label; - base::string16 toolTip; - Type type; - unsigned action; - bool rtl; - bool has_directional_override; - bool enabled; - bool checked; - std::vector<WebMenuItem> submenu; -}; - -#endif // WEBMENUITEM_H_ |