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

Side by Side Diff: chrome/browser/ui/views/aura/app_list/chrome_app_list_item.h

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_VIEWS_AURA_APP_LIST_CHROME_APP_LIST_ITEM_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_CHROME_APP_LIST_ITEM_H_
6 #define CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_CHROME_APP_LIST_ITEM_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_CHROME_APP_LIST_ITEM_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/app_list/app_list_item_model.h" 9 #include "ash/app_list/app_list_item_model.h"
10 10
11 // Base class of all chrome app list items. Chrome's AppListViewDelegate assumes 11 // Base class of all chrome app list items. Chrome's AppListViewDelegate assumes
12 // all items are derived from this class and calls Activate when an item is 12 // all items are derived from this class and calls Activate when an item is
13 // activated. 13 // activated.
14 class ChromeAppListItem : public aura_shell::AppListItemModel { 14 class ChromeAppListItem : public ash::AppListItemModel {
15 public: 15 public:
16 // Activates the item. |event_flags| holds flags of a mouse/keyboard event 16 // Activates the item. |event_flags| holds flags of a mouse/keyboard event
17 // associated with this activation. 17 // associated with this activation.
18 virtual void Activate(int event_flags) = 0; 18 virtual void Activate(int event_flags) = 0;
19 19
20 protected: 20 protected:
21 virtual ~ChromeAppListItem() {} 21 virtual ~ChromeAppListItem() {}
22 }; 22 };
23 23
24 #endif // CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_CHROME_APP_LIST_ITEM_H_ 24 #endif // CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_CHROME_APP_LIST_ITEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698