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

Unified Diff: webkit/glue/webmenuitem.h

Issue 6250088: Cleanup everything but net/ for our first clang plugins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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/glue/webkit_glue.gypi ('k') | webkit/glue/webmenuitem.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webmenuitem.h
diff --git a/webkit/glue/webmenuitem.h b/webkit/glue/webmenuitem.h
index c767bea7f7a7cfebd81db9d436457c3365f21456..c2e5f1d4eb654b83556be4edd933d880b3f2293d 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);
Nico 2011/02/02 01:00:23 This one is new?
Elliot Glaysher 2011/02/02 01:09:26 Correct. std::vector<> calls the copy constructor
+ ~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_
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/glue/webmenuitem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698