Home | History | Annotate | Download | only in common
      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.
      4 
      5 #include "content/public/common/menu_item.h"
      6 
      7 namespace content {
      8 
      9 MenuItem::MenuItem()
     10     : type(OPTION),
     11       action(0),
     12       rtl(false),
     13       has_directional_override(false),
     14       enabled(false),
     15       checked(false) {
     16 }
     17 
     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) {
     28 }
     29 
     30 MenuItem::~MenuItem() {
     31 }
     32 
     33 }  // namespace content
     34