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

Side by Side Diff: chrome/browser/ui/ash/chrome_shell_delegate.h

Issue 2381753002: Use mojo SystemTray interfaces for both mash and classic ash (Closed)
Patch Set: rebase again Created 4 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 14 matching lines...) Expand all
25 25
26 class ChromeLauncherControllerImpl; 26 class ChromeLauncherControllerImpl;
27 27
28 class ChromeShellDelegate : public ash::ShellDelegate, 28 class ChromeShellDelegate : public ash::ShellDelegate,
29 public content::NotificationObserver { 29 public content::NotificationObserver {
30 public: 30 public:
31 ChromeShellDelegate(); 31 ChromeShellDelegate();
32 ~ChromeShellDelegate() override; 32 ~ChromeShellDelegate() override;
33 33
34 // ash::ShellDelegate overrides; 34 // ash::ShellDelegate overrides;
35 shell::Connector* GetShellConnector() const override;
35 bool IsFirstRunAfterBoot() const override; 36 bool IsFirstRunAfterBoot() const override;
36 bool IsMultiProfilesEnabled() const override; 37 bool IsMultiProfilesEnabled() const override;
37 bool IsIncognitoAllowed() const override; 38 bool IsIncognitoAllowed() const override;
38 bool IsRunningInForcedAppMode() const override; 39 bool IsRunningInForcedAppMode() const override;
39 bool CanShowWindowForUser(ash::WmWindow* window) const override; 40 bool CanShowWindowForUser(ash::WmWindow* window) const override;
40 bool IsForceMaximizeOnFirstRun() const override; 41 bool IsForceMaximizeOnFirstRun() const override;
41 void PreInit() override; 42 void PreInit() override;
42 void PreShutdown() override; 43 void PreShutdown() override;
43 void Exit() override; 44 void Exit() override;
44 keyboard::KeyboardUI* CreateKeyboardUI() override; 45 keyboard::KeyboardUI* CreateKeyboardUI() override;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // Proxies events from chrome/browser to ash::UserMetricsRecorder. 77 // Proxies events from chrome/browser to ash::UserMetricsRecorder.
77 std::unique_ptr<ChromeUserMetricsRecorder> chrome_user_metrics_recorder_; 78 std::unique_ptr<ChromeUserMetricsRecorder> chrome_user_metrics_recorder_;
78 79
79 std::unique_ptr<chromeos::DisplayConfigurationObserver> 80 std::unique_ptr<chromeos::DisplayConfigurationObserver>
80 display_configuration_observer_; 81 display_configuration_observer_;
81 82
82 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 83 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
83 }; 84 };
84 85
85 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 86 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698