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

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

Issue 2860503002: mash: Replace int ShelfIDs with AppLaunchID strings. (Closed)
Patch Set: Fix struct traits typo. Created 3 years, 7 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_EXTENSION_APP_WINDOW_LAUNCHER_ITEM_CONTRO LLER_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_EXTENSION_APP_WINDOW_LAUNCHER_ITEM_CONTRO LLER_H_
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_EXTENSION_APP_WINDOW_LAUNCHER_ITEM_CONTRO LLER_H_ 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_EXTENSION_APP_WINDOW_LAUNCHER_ITEM_CONTRO LLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h" 11 #include "chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 class AppWindow; 14 class AppWindow;
15 } 15 }
16 16
17 // Shelf item delegate for extension app windows. 17 // Shelf item delegate for extension app windows.
18 class ExtensionAppWindowLauncherItemController 18 class ExtensionAppWindowLauncherItemController
19 : public AppWindowLauncherItemController { 19 : public AppWindowLauncherItemController {
20 public: 20 public:
21 explicit ExtensionAppWindowLauncherItemController( 21 explicit ExtensionAppWindowLauncherItemController(
22 const ash::AppLaunchId& app_launch_id); 22 const ash::ShelfID& shelf_id);
23 23
24 ~ExtensionAppWindowLauncherItemController() override; 24 ~ExtensionAppWindowLauncherItemController() override;
25 25
26 void AddAppWindow(extensions::AppWindow* app_window); 26 void AddAppWindow(extensions::AppWindow* app_window);
27 27
28 // AppWindowLauncherItemController: 28 // AppWindowLauncherItemController:
29 ash::MenuItemList GetAppMenuItems(int event_flags) override; 29 ash::MenuItemList GetAppMenuItems(int event_flags) override;
30 void ExecuteCommand(uint32_t command_id, int32_t event_flags) override; 30 void ExecuteCommand(uint32_t command_id, int32_t event_flags) override;
31 31
32 private: 32 private:
33 DISALLOW_COPY_AND_ASSIGN(ExtensionAppWindowLauncherItemController); 33 DISALLOW_COPY_AND_ASSIGN(ExtensionAppWindowLauncherItemController);
34 }; 34 };
35 35
36 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_EXTENSION_APP_WINDOW_LAUNCHER_ITEM_CON TROLLER_H_ 36 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_EXTENSION_APP_WINDOW_LAUNCHER_ITEM_CON TROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698