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.
5 #include "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h"
7 ChromeLauncherAppMenuItem::ChromeLauncherAppMenuItem(
8 const base::string16 title
,
9 const gfx::Image
* icon
,
10 bool has_leading_separator
)
12 icon_(icon
? gfx::Image(*icon
) : gfx::Image()),
13 has_leading_separator_(has_leading_separator
) {
16 ChromeLauncherAppMenuItem::~ChromeLauncherAppMenuItem() {
19 bool ChromeLauncherAppMenuItem::IsActive() const {
23 bool ChromeLauncherAppMenuItem::IsEnabled() const {
27 void ChromeLauncherAppMenuItem::Execute(int event_flags
) {