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

Side by Side Diff: chrome/browser/ui/ash/launcher/arc_launcher_context_menu.h

Issue 1838263002: Arc app integration in shelf launcher context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor Created 4 years, 8 months 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
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698