Chromium Code Reviews| 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_LAUNCHER_APPLICATION_MENU_ITEM_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_APPLICATION_MENU_ITEM_MODEL_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_APPLICATION_MENU_ITEM_MODEL_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_APPLICATION_MENU_ITEM_MODEL_H_ |
| 7 | 7 |
| 8 #include "ash/launcher/launcher_delegate.h" | 8 #include "ash/launcher/launcher_delegate.h" |
| 9 #include "ash/launcher/launcher_item_delegate.h" | 9 #include "ash/shelf/shelf_item_delegate.h" |
|
Harry McCleave
2013/12/02 18:35:54
Should this patch also refactor LauncherMenuModel
| |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
| 12 | 12 |
| 13 class ChromeLauncherAppMenuItem; | 13 class ChromeLauncherAppMenuItem; |
| 14 | 14 |
| 15 // A list of the elements which makes up a simple menu description. | 15 // A list of the elements which makes up a simple menu description. |
| 16 typedef ScopedVector<ChromeLauncherAppMenuItem> ChromeLauncherAppMenuItems; | 16 typedef ScopedVector<ChromeLauncherAppMenuItem> ChromeLauncherAppMenuItems; |
| 17 | 17 |
| 18 // A menu model that builds the contents of a menu for a launcher item | 18 // A menu model that builds the contents of a menu for a launcher item |
| 19 // containing a list of running applications. | 19 // containing a list of running applications. |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 38 private: | 38 private: |
| 39 void Build(); | 39 void Build(); |
| 40 | 40 |
| 41 // The list of menu items as returned from the launcher controller. | 41 // The list of menu items as returned from the launcher controller. |
| 42 ChromeLauncherAppMenuItems launcher_items_; | 42 ChromeLauncherAppMenuItems launcher_items_; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(LauncherApplicationMenuItemModel); | 44 DISALLOW_COPY_AND_ASSIGN(LauncherApplicationMenuItemModel); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_APPLICATION_MENU_ITEM_MODEL_H _ | 47 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_APPLICATION_MENU_ITEM_MODEL_H _ |
| OLD | NEW |