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

Side by Side Diff: ash/mus/shell_delegate_mus.h

Issue 2271373002: mash: Port mojo:ash_sysui's ContextMenuMus to mojo:ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 4 years, 3 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 ASH_MUS_SHELL_DELEGATE_MUS_H_ 5 #ifndef ASH_MUS_SHELL_DELEGATE_MUS_H_
6 #define ASH_MUS_SHELL_DELEGATE_MUS_H_ 6 #define ASH_MUS_SHELL_DELEGATE_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/common/shell_delegate.h" 10 #include "ash/common/shell_delegate.h"
(...skipping 23 matching lines...) Expand all
34 bool CanShowWindowForUser(WmWindow* window) const override; 34 bool CanShowWindowForUser(WmWindow* window) const override;
35 bool IsForceMaximizeOnFirstRun() const override; 35 bool IsForceMaximizeOnFirstRun() const override;
36 void PreInit() override; 36 void PreInit() override;
37 void PreShutdown() override; 37 void PreShutdown() override;
38 void Exit() override; 38 void Exit() override;
39 keyboard::KeyboardUI* CreateKeyboardUI() override; 39 keyboard::KeyboardUI* CreateKeyboardUI() override;
40 void OpenUrlFromArc(const GURL& url) override; 40 void OpenUrlFromArc(const GURL& url) override;
41 app_list::AppListPresenter* GetAppListPresenter() override; 41 app_list::AppListPresenter* GetAppListPresenter() override;
42 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override; 42 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override;
43 SystemTrayDelegate* CreateSystemTrayDelegate() override; 43 SystemTrayDelegate* CreateSystemTrayDelegate() override;
44 UserWallpaperDelegate* CreateUserWallpaperDelegate() override; 44 WallpaperDelegate* CreateWallpaperDelegate() override;
45 SessionStateDelegate* CreateSessionStateDelegate() override; 45 SessionStateDelegate* CreateSessionStateDelegate() override;
46 AccessibilityDelegate* CreateAccessibilityDelegate() override; 46 AccessibilityDelegate* CreateAccessibilityDelegate() override;
47 NewWindowDelegate* CreateNewWindowDelegate() override; 47 NewWindowDelegate* CreateNewWindowDelegate() override;
48 MediaDelegate* CreateMediaDelegate() override; 48 MediaDelegate* CreateMediaDelegate() override;
49 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; 49 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override;
50 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, 50 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf,
51 const ShelfItem* item) override; 51 const ShelfItem* item) override;
52 GPUSupport* CreateGPUSupport() override; 52 GPUSupport* CreateGPUSupport() override;
53 base::string16 GetProductName() const override; 53 base::string16 GetProductName() const override;
54 gfx::Image GetDeprecatedAcceleratorImage() const override; 54 gfx::Image GetDeprecatedAcceleratorImage() const override;
55 55
56 private: 56 private:
57 std::unique_ptr<app_list::AppListPresenter> app_list_presenter_; 57 std::unique_ptr<app_list::AppListPresenter> app_list_presenter_;
58 shell::Connector* connector_; 58 shell::Connector* connector_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus); 60 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus);
61 }; 61 };
62 62
63 } // namespace ash 63 } // namespace ash
64 64
65 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_ 65 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698