Removing uses of X11 native key events.
[chromium-blink-merge.git] / content / public / common / menu_item.cc
blob4ea06cfb2436760ffc776b289728b17635785c50
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 tool_tip(item.tool_tip),
21 type(item.type),
22 action(item.action),
23 rtl(item.rtl),
24 has_directional_override(item.has_directional_override),
25 enabled(item.enabled),
26 checked(item.checked),
27 submenu(item.submenu) {
30 MenuItem::~MenuItem() {
33 } // namespace content