Add ICU message format support
[chromium-blink-merge.git] / content / public / common / menu_item.cc
bloba379774d727d2c837bafeba5efbb583a620d899f
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/public/common/menu_item.h"
7 namespace content {
9 MenuItem::MenuItem()
10 : type(OPTION),
11 action(0),
12 rtl(false),
13 has_directional_override(false),
14 enabled(false),
15 checked(false) {
18 MenuItem::MenuItem(const MenuItem& item)
19 : label(item.label),
20 icon(item.icon),
21 tool_tip(item.tool_tip),
22 type(item.type),
23 action(item.action),
24 rtl(item.rtl),
25 has_directional_override(item.has_directional_override),
26 enabled(item.enabled),
27 checked(item.checked),
28 submenu(item.submenu) {
31 MenuItem::~MenuItem() {
34 } // namespace content