Chromium Code Reviews| Index: chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h |
| diff --git a/chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h b/chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4ff78eaf15ab661f947c0c5cdcd5a5e586c6ba9f |
| --- /dev/null |
| +++ b/chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_DESKTOP_SHELL_LAUNCHER_CONTEXT_MENU_H_ |
| +#define CHROME_BROWSER_UI_ASH_LAUNCHER_DESKTOP_SHELL_LAUNCHER_CONTEXT_MENU_H_ |
| + |
| +#include "base/macros.h" |
| +#include "chrome/browser/ui/ash/launcher/launcher_context_menu.h" |
| + |
| +class ChromeLauncherController; |
| + |
| +namespace ash { |
| +class Shelf; |
| +struct ShelfItem; |
| +} |
| + |
| +// Class for context menu which is shown when right click on desktop shell. |
| +class DesktopShellLauncherContextMenu : public LauncherContextMenu { |
| + public: |
| + DesktopShellLauncherContextMenu(ChromeLauncherController* controller, |
| + const ash::ShelfItem* item, |
| + ash::Shelf* shelf); |
| + ~DesktopShellLauncherContextMenu() override; |
|
stevenjb
2016/04/06 00:06:48
blank line
lgcheng
2016/04/06 17:02:42
Done.
|
| + void Init(); |
|
stevenjb
2016/04/06 00:06:48
Private or comment.
lgcheng
2016/04/06 17:02:42
Done.
|
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(DesktopShellLauncherContextMenu); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_ASH_LAUNCHER_DESKTOP_SHELL_LAUNCHER_CONTEXT_MENU_H_ |