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

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

Issue 2150023002: Add ShellDelegate, MediaDelegate and KeyboardUI stubs to mus ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix deps Created 4 years, 5 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_SYSUI_SHELL_DELEGATE_MUS_H_ 5 #ifndef ASH_MUS_SHELL_DELEGATE_MUS_H_
6 #define ASH_SYSUI_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"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 12
13 namespace keyboard { 13 namespace app_list {
14 class KeyboardUI; 14 class AppListPresenter;
15 } 15 }
16 16
17 namespace ash { 17 namespace ash {
18 18
19 class AppListPresenterMus;
20
21 namespace sysui {
22
23 class ShellDelegateMus : public ShellDelegate { 19 class ShellDelegateMus : public ShellDelegate {
24 public: 20 public:
25 explicit ShellDelegateMus(std::unique_ptr<AppListPresenterMus>); 21 explicit ShellDelegateMus(std::unique_ptr<app_list::AppListPresenter>);
msw 2016/07/14 19:50:05 optional nit: give this parameter a name here, |ap
James Cook 2016/07/14 20:54:44 Whoops! Done.
26 ~ShellDelegateMus() override; 22 ~ShellDelegateMus() override;
27 23
28 bool IsFirstRunAfterBoot() const override; 24 bool IsFirstRunAfterBoot() const override;
29 bool IsIncognitoAllowed() const override; 25 bool IsIncognitoAllowed() const override;
30 bool IsMultiProfilesEnabled() const override; 26 bool IsMultiProfilesEnabled() const override;
31 bool IsRunningInForcedAppMode() const override; 27 bool IsRunningInForcedAppMode() const override;
32 bool CanShowWindowForUser(WmWindow* window) const override; 28 bool CanShowWindowForUser(WmWindow* window) const override;
33 bool IsForceMaximizeOnFirstRun() const override; 29 bool IsForceMaximizeOnFirstRun() const override;
34 void PreInit() override; 30 void PreInit() override;
35 void PreShutdown() override; 31 void PreShutdown() override;
(...skipping 15 matching lines...) Expand all
51 GPUSupport* CreateGPUSupport() override; 47 GPUSupport* CreateGPUSupport() override;
52 base::string16 GetProductName() const override; 48 base::string16 GetProductName() const override;
53 gfx::Image GetDeprecatedAcceleratorImage() const override; 49 gfx::Image GetDeprecatedAcceleratorImage() const override;
54 50
55 private: 51 private:
56 std::unique_ptr<app_list::AppListPresenter> app_list_presenter_; 52 std::unique_ptr<app_list::AppListPresenter> app_list_presenter_;
57 53
58 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus); 54 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus);
59 }; 55 };
60 56
61 } // namespace sysui
62 } // namespace ash 57 } // namespace ash
63 58
64 #endif // ASH_SYSUI_SHELL_DELEGATE_MUS_H_ 59 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698