Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 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_DESKTOP_SHELL_LAUNCHER_CONTEXT_MENU_H_ | |
| 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_DESKTOP_SHELL_LAUNCHER_CONTEXT_MENU_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "chrome/browser/ui/ash/launcher/launcher_context_menu.h" | |
| 10 | |
| 11 class ChromeLauncherController; | |
| 12 | |
| 13 namespace ash { | |
| 14 class Shelf; | |
| 15 struct ShelfItem; | |
| 16 } | |
| 17 | |
| 18 // Class for context menu which is shown when right click on desktop shell. | |
| 19 class DesktopShellLauncherContextMenu : public LauncherContextMenu { | |
| 20 public: | |
| 21 DesktopShellLauncherContextMenu(ChromeLauncherController* controller, | |
| 22 const ash::ShelfItem* item, | |
| 23 ash::Shelf* shelf); | |
| 24 ~DesktopShellLauncherContextMenu() override; | |
|
stevenjb
2016/04/06 00:06:48
blank line
lgcheng
2016/04/06 17:02:42
Done.
| |
| 25 void Init(); | |
|
stevenjb
2016/04/06 00:06:48
Private or comment.
lgcheng
2016/04/06 17:02:42
Done.
| |
| 26 | |
| 27 private: | |
| 28 DISALLOW_COPY_AND_ASSIGN(DesktopShellLauncherContextMenu); | |
| 29 }; | |
| 30 | |
| 31 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_DESKTOP_SHELL_LAUNCHER_CONTEXT_MENU_H_ | |
| OLD | NEW |