Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.cc

Issue 2671923002: mash: Cleanup ash shelf application menu code. (Closed)
Patch Set: Fix tests; cleanup. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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(const base::string16 title,
8 const gfx::Image* icon,
9 bool has_leading_separator)
10 : title_(title),
11 icon_(icon ? gfx::Image(*icon) : gfx::Image()),
12 has_leading_separator_(has_leading_separator) {}
13
14 ChromeLauncherAppMenuItem::~ChromeLauncherAppMenuItem() {}
15
16 bool ChromeLauncherAppMenuItem::IsEnabled() const {
17 return false;
18 }
19
20 void ChromeLauncherAppMenuItem::Execute(int event_flags) {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698