diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-02 01:16:46 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-02 01:16:46 +0000 |
commit | 09fb387aa28e997593d5d5c11cf4a5fb12258217 (patch) | |
tree | 18c92d7099ac4ca248ee5e2061aa3ea82b111eb7 /webkit/glue/webmenuitem.h | |
parent | 06aca52af687c5d55794a56aa9e3d625ce6ea8ea (diff) | |
download | chromium_src-09fb387aa28e997593d5d5c11cf4a5fb12258217.zip chromium_src-09fb387aa28e997593d5d5c11cf4a5fb12258217.tar.gz chromium_src-09fb387aa28e997593d5d5c11cf4a5fb12258217.tar.bz2 |
Cleanup everything but net/ for our first clang plugins.
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/6250088
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73396 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webmenuitem.h')
-rw-r--r-- | webkit/glue/webmenuitem.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/webkit/glue/webmenuitem.h b/webkit/glue/webmenuitem.h index c767bea..c2e5f1d 100644 --- a/webkit/glue/webmenuitem.h +++ b/webkit/glue/webmenuitem.h @@ -21,23 +21,17 @@ struct WebMenuItem { SUBMENU // This is currently only used by Pepper, not by WebKit. }; + WebMenuItem(); + WebMenuItem(const WebKit::WebMenuItemInfo& item); + WebMenuItem(const WebMenuItem& item); + ~WebMenuItem(); + string16 label; Type type; unsigned action; bool enabled; bool checked; std::vector<WebMenuItem> submenu; - - WebMenuItem() : type(OPTION), action(0), enabled(false), checked(false) { - } - - WebMenuItem(const WebKit::WebMenuItemInfo& item) - : label(item.label), - type(static_cast<Type>(item.type)), - action(item.action), - enabled(item.enabled), - checked(item.checked) { - } }; #endif // WEBMENUITEM_H_ |