Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / ui / ash / launcher / chrome_launcher_app_menu_item.cc
blob6d2e9c2cd1a2e7ec5180a9c830847755554ac254
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)
11 : title_(title),
12 icon_(icon ? gfx::Image(*icon) : gfx::Image()),
13 has_leading_separator_(has_leading_separator) {
16 ChromeLauncherAppMenuItem::~ChromeLauncherAppMenuItem() {
19 bool ChromeLauncherAppMenuItem::IsActive() const {
20 return false;
23 bool ChromeLauncherAppMenuItem::IsEnabled() const {
24 return false;
27 void ChromeLauncherAppMenuItem::Execute(int event_flags) {