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

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

Issue 16431004: Use a direct include of strings headers in chrome/browser/ui/a*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_H_
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_H_ 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_H_
7 7
8 #include "base/string16.h" 8 #include "base/strings/string16.h"
9 #include "ui/gfx/image/image.h" 9 #include "ui/gfx/image/image.h"
10 10
11 // A description for a menu item. It contains the menu item description as well 11 // A description for a menu item. It contains the menu item description as well
12 // as the function which gets executed upon menu item click. 12 // as the function which gets executed upon menu item click.
13 class ChromeLauncherAppMenuItem { 13 class ChromeLauncherAppMenuItem {
14 public: 14 public:
15 // To insert a separator before this item set |has_leading_separator|. 15 // To insert a separator before this item set |has_leading_separator|.
16 ChromeLauncherAppMenuItem(const string16 title, 16 ChromeLauncherAppMenuItem(const string16 title,
17 const gfx::Image* icon, 17 const gfx::Image* icon,
18 bool has_leading_separator); 18 bool has_leading_separator);
(...skipping 23 matching lines...) Expand all
42 private: 42 private:
43 const string16 title_; 43 const string16 title_;
44 const gfx::Image icon_; 44 const gfx::Image icon_;
45 45
46 // True if the item has a separator in front of it. 46 // True if the item has a separator in front of it.
47 const bool has_leading_separator_; 47 const bool has_leading_separator_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherAppMenuItem); 49 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherAppMenuItem);
50 }; 50 };
51 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_H_ 51 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698