Home | History | Annotate | Download | only in launcher
      1 // Copyright (c) 2012 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 "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h"
      6 
      7 ChromeLauncherAppMenuItem::ChromeLauncherAppMenuItem(
      8     const string16 title,
      9     const gfx::Image* icon,
     10     bool has_leading_separator)
     11     : title_(title),
     12       icon_(icon ? gfx::Image(*icon) : gfx::Image()),
     13       has_leading_separator_(has_leading_separator) {
     14 }
     15 
     16 ChromeLauncherAppMenuItem::~ChromeLauncherAppMenuItem() {
     17 }
     18 
     19 bool ChromeLauncherAppMenuItem::IsActive() const {
     20   return false;
     21 }
     22 
     23 bool ChromeLauncherAppMenuItem::IsEnabled() const {
     24   return false;
     25 }
     26 
     27 void ChromeLauncherAppMenuItem::Execute(int event_flags) {
     28 }
     29