| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBMENUITEM_H_ | 5 #ifndef WEBMENUITEM_H_ |
| 6 #define WEBMENUITEM_H_ | 6 #define WEBMENUITEM_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 }; | 22 }; |
| 23 | 23 |
| 24 WebMenuItem(); | 24 WebMenuItem(); |
| 25 WebMenuItem(const WebKit::WebMenuItemInfo& item); | 25 WebMenuItem(const WebKit::WebMenuItemInfo& item); |
| 26 WebMenuItem(const WebMenuItem& item); | 26 WebMenuItem(const WebMenuItem& item); |
| 27 ~WebMenuItem(); | 27 ~WebMenuItem(); |
| 28 | 28 |
| 29 string16 label; | 29 string16 label; |
| 30 Type type; | 30 Type type; |
| 31 unsigned action; | 31 unsigned action; |
| 32 bool rtl; |
| 33 bool directional_override; |
| 32 bool enabled; | 34 bool enabled; |
| 33 bool checked; | 35 bool checked; |
| 34 std::vector<WebMenuItem> submenu; | 36 std::vector<WebMenuItem> submenu; |
| 35 }; | 37 }; |
| 36 | 38 |
| 37 #endif // WEBMENUITEM_H_ | 39 #endif // WEBMENUITEM_H_ |
| OLD | NEW |