| OLD | NEW |
| (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_ | |
| OLD | NEW |