| Index: chrome/browser/ui/ash/launcher/arc_launcher_context_menu.h
|
| diff --git a/chrome/browser/ui/ash/launcher/arc_launcher_context_menu.h b/chrome/browser/ui/ash/launcher/arc_launcher_context_menu.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..10c18a1275366f49f6896280e856d97db66c7a27
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/ash/launcher/arc_launcher_context_menu.h
|
| @@ -0,0 +1,35 @@
|
| +// 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_ARC_LAUNCHER_CONTEXT_MENU_H_
|
| +#define CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_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 for Arc app in the shelf.
|
| +class ArcLauncherContextMenu : public LauncherContextMenu {
|
| + public:
|
| + ArcLauncherContextMenu(ChromeLauncherController* controller,
|
| + const ash::ShelfItem* item,
|
| + ash::Shelf* shelf);
|
| + ~ArcLauncherContextMenu() override;
|
| +
|
| + // ui::SimpleMenuModel::Delegate overrides:
|
| + bool IsCommandIdEnabled(int command_id) const override;
|
| +
|
| + private:
|
| + void Init();
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ArcLauncherContextMenu);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_LAUNCHER_CONTEXT_MENU_H_
|
|
|