| OLD | NEW |
| 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_V2APP_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_V2APP_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_V2APP_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_V2APP_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h" | 11 #include "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h" |
| 12 | 12 |
| 13 namespace gfx { | |
| 14 class image; | |
| 15 } | |
| 16 | |
| 17 class ChromeLauncherController; | 13 class ChromeLauncherController; |
| 18 | 14 |
| 19 // A menu item controller for a running V2 application. It gets created when an | 15 // A menu item controller for a running V2 application. It gets created when an |
| 20 // application list gets created. It's main purpose is to add the activation | 16 // application list gets created. It's main purpose is to add the activation |
| 21 // method to the |ChromeLauncherAppMenuItem| class. | 17 // method to the |ChromeLauncherAppMenuItem| class. |
| 22 class ChromeLauncherAppMenuItemV2App : public ChromeLauncherAppMenuItem { | 18 class ChromeLauncherAppMenuItemV2App : public ChromeLauncherAppMenuItem { |
| 23 public: | 19 public: |
| 24 ChromeLauncherAppMenuItemV2App( | 20 ChromeLauncherAppMenuItemV2App( |
| 25 const base::string16 title, | 21 const base::string16 title, |
| 26 const gfx::Image* icon, | 22 const gfx::Image* icon, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 40 // The application ID. | 36 // The application ID. |
| 41 const std::string app_id_; | 37 const std::string app_id_; |
| 42 | 38 |
| 43 // The index for the given application. | 39 // The index for the given application. |
| 44 const int app_index_; | 40 const int app_index_; |
| 45 | 41 |
| 46 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherAppMenuItemV2App); | 42 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherAppMenuItemV2App); |
| 47 }; | 43 }; |
| 48 | 44 |
| 49 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_V2APP_H_ | 45 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_V2APP_H_ |
| OLD | NEW |