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

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

Issue 1683853003: Revert of ash/mash: Add a mus-client that sets up ash to provide the system ui for mash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « ash/mus/main.cc ('k') | ash/mus/shell_delegate_mus.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ASH_MUS_SHELL_DELEGATE_MUS_H_
6 #define ASH_MUS_SHELL_DELEGATE_MUS_H_
7
8 #include <string>
9
10 #include "ash/shell_delegate.h"
11 #include "base/compiler_specific.h"
12 #include "base/macros.h"
13
14 namespace keyboard {
15 class KeyboardUI;
16 }
17
18 namespace ash {
19 namespace sysui {
20
21 class ShellDelegateMus : public ash::ShellDelegate {
22 public:
23 ShellDelegateMus();
24 ~ShellDelegateMus() override;
25
26 bool IsFirstRunAfterBoot() const override;
27 bool IsIncognitoAllowed() const override;
28 bool IsMultiProfilesEnabled() const override;
29 bool IsRunningInForcedAppMode() const override;
30 bool CanShowWindowForUser(aura::Window* window) const override;
31 bool IsForceMaximizeOnFirstRun() const override;
32 void PreInit() override;
33 void PreShutdown() override;
34 void Exit() override;
35 keyboard::KeyboardUI* CreateKeyboardUI() override;
36 void VirtualKeyboardActivated(bool activated) override;
37 void AddVirtualKeyboardStateObserver(
38 VirtualKeyboardStateObserver* observer) override;
39 void RemoveVirtualKeyboardStateObserver(
40 VirtualKeyboardStateObserver* observer) override;
41 app_list::AppListViewDelegate* GetAppListViewDelegate() override;
42 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override;
43 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override;
44 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override;
45 ash::SessionStateDelegate* CreateSessionStateDelegate() override;
46 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override;
47 ash::NewWindowDelegate* CreateNewWindowDelegate() override;
48 ash::MediaDelegate* CreateMediaDelegate() override;
49 ui::MenuModel* CreateContextMenu(aura::Window* root_window,
50 ash::ShelfItemDelegate* item_delegate,
51 ash::ShelfItem* item) override;
52 GPUSupport* CreateGPUSupport() override;
53 base::string16 GetProductName() const override;
54 gfx::Image GetDeprecatedAcceleratorImage() const override;
55
56 private:
57 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus);
58 };
59
60 } // namespace sysui
61 } // namespace ash
62
63 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_
OLDNEW
« no previous file with comments | « ash/mus/main.cc ('k') | ash/mus/shell_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698