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

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

Issue 1823923002: arc: Support running Arc app in shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased + few nits 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 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_ARC_APP_WINDOW_LAUNCHER_ITEM_CONTROLLER_H _
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_WINDOW_LAUNCHER_ITEM_CONTROLLER_H _
7
8 #include <string>
9
10 #include "base/macros.h"
11 #include "chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h"
12
13 class ChromeLauncherController;
14
15 class ArcAppWindowLauncherItemController
16 : public AppWindowLauncherItemController {
17 public:
18 ArcAppWindowLauncherItemController(const std::string& app_id,
19 ChromeLauncherController* controller);
20
21 ~ArcAppWindowLauncherItemController() override;
22
23 // LauncherItemController overrides:
24 base::string16 GetTitle() override;
25 ash::ShelfMenuModel* CreateApplicationMenu(int event_flags) override;
26 ChromeLauncherAppMenuItems GetApplicationList(int event_flags) override;
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(ArcAppWindowLauncherItemController);
30 };
31
32 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_WINDOW_LAUNCHER_ITEM_CONTROLLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698