Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | |
|
khmel
2016/03/29 22:11:17
(c) is not required
lgcheng
2016/03/30 00:01:53
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_LAUNCHER_CONTEXT_MENU_H_ | |
| 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_LAUNCHER_CONTEXT_MENU_H_ | |
| 7 | |
| 8 #include "ash/shelf/shelf_item_types.h" | |
|
khmel
2016/03/29 22:11:17
Is it in use? You have the same include in .cc, pl
lgcheng
2016/03/30 00:01:53
Removed. Removed for other .h and .cc when not use
| |
| 9 #include "base/macros.h" | |
| 10 #include "chrome/browser/ui/ash/launcher/launcher_context_menu.h" | |
| 11 | |
| 12 class ChromeLauncherController; | |
| 13 | |
| 14 // Class for context menu shown for desktop shell | |
|
khmel
2016/03/29 22:11:17
Showing 'desktop shell'?
lgcheng
2016/03/30 00:01:53
Done.
| |
| 15 class ArcLauncherContextMenu : public LauncherContextMenu { | |
| 16 public: | |
| 17 ArcLauncherContextMenu(ChromeLauncherController* controller, | |
| 18 const ash::ShelfItem* item, | |
| 19 ash::Shelf* shelf); | |
| 20 ~ArcLauncherContextMenu() override; | |
| 21 // LauncherContextMenu overrides: | |
| 22 void Init() override; | |
| 23 // ui::SimpleMenuModel::Delegate overrides: | |
| 24 bool IsCommandIdEnabled(int command_id) const override; | |
| 25 | |
| 26 private: | |
| 27 DISALLOW_COPY_AND_ASSIGN(ArcLauncherContextMenu); | |
| 28 }; | |
| 29 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_LAUNCHER_CONTEXT_MENU_H_ | |
| OLD | NEW |