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

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

Issue 2055053002: mash: Convert ash::ShellDelegate from aura::Window to WmWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@movetrayupdate
Patch Set: rebase Created 4 years, 6 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/system/user/tray_user.cc ('k') | ash/sysui/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
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_SYSUI_SHELL_DELEGATE_MUS_H_ 5 #ifndef ASH_SYSUI_SHELL_DELEGATE_MUS_H_
6 #define ASH_SYSUI_SHELL_DELEGATE_MUS_H_ 6 #define ASH_SYSUI_SHELL_DELEGATE_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/shell_delegate.h" 10 #include "ash/shell_delegate.h"
(...skipping 11 matching lines...) Expand all
22 22
23 class ShellDelegateMus : public ash::ShellDelegate { 23 class ShellDelegateMus : public ash::ShellDelegate {
24 public: 24 public:
25 explicit ShellDelegateMus(std::unique_ptr<AppListPresenterMus>); 25 explicit ShellDelegateMus(std::unique_ptr<AppListPresenterMus>);
26 ~ShellDelegateMus() override; 26 ~ShellDelegateMus() override;
27 27
28 bool IsFirstRunAfterBoot() const override; 28 bool IsFirstRunAfterBoot() const override;
29 bool IsIncognitoAllowed() const override; 29 bool IsIncognitoAllowed() const override;
30 bool IsMultiProfilesEnabled() const override; 30 bool IsMultiProfilesEnabled() const override;
31 bool IsRunningInForcedAppMode() const override; 31 bool IsRunningInForcedAppMode() const override;
32 bool CanShowWindowForUser(aura::Window* window) const override; 32 bool CanShowWindowForUser(WmWindow* window) const override;
33 bool IsForceMaximizeOnFirstRun() const override; 33 bool IsForceMaximizeOnFirstRun() const override;
34 void PreInit() override; 34 void PreInit() override;
35 void PreShutdown() override; 35 void PreShutdown() override;
36 void Exit() override; 36 void Exit() override;
37 keyboard::KeyboardUI* CreateKeyboardUI() override; 37 keyboard::KeyboardUI* CreateKeyboardUI() override;
38 void VirtualKeyboardActivated(bool activated) override; 38 void VirtualKeyboardActivated(bool activated) override;
39 void AddVirtualKeyboardStateObserver( 39 void AddVirtualKeyboardStateObserver(
40 VirtualKeyboardStateObserver* observer) override; 40 VirtualKeyboardStateObserver* observer) override;
41 void RemoveVirtualKeyboardStateObserver( 41 void RemoveVirtualKeyboardStateObserver(
42 VirtualKeyboardStateObserver* observer) override; 42 VirtualKeyboardStateObserver* observer) override;
(...skipping 18 matching lines...) Expand all
61 private: 61 private:
62 std::unique_ptr<app_list::AppListPresenter> app_list_presenter_; 62 std::unique_ptr<app_list::AppListPresenter> app_list_presenter_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus); 64 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus);
65 }; 65 };
66 66
67 } // namespace sysui 67 } // namespace sysui
68 } // namespace ash 68 } // namespace ash
69 69
70 #endif // ASH_SYSUI_SHELL_DELEGATE_MUS_H_ 70 #endif // ASH_SYSUI_SHELL_DELEGATE_MUS_H_
OLDNEW
« no previous file with comments | « ash/system/user/tray_user.cc ('k') | ash/sysui/shell_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698