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

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

Issue 1960293003: Remove OS_CHROMEOS from ui/ash code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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
11 #include "ash/shell_delegate.h" 11 #include "ash/shell_delegate.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/observer_list.h" 14 #include "base/observer_list.h"
15 #include "build/build_config.h" 15 #include "build/build_config.h"
16 #include "chrome/browser/ui/ash/metrics/chrome_user_metrics_recorder.h" 16 #include "chrome/browser/ui/ash/metrics/chrome_user_metrics_recorder.h"
17 #include "content/public/browser/notification_observer.h" 17 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 18 #include "content/public/browser/notification_registrar.h"
19 19
20 namespace chromeos {
21 class DisplayConfigurationObserver;
22 }
23
20 namespace keyboard { 24 namespace keyboard {
21 class KeyboardUI; 25 class KeyboardUI;
22 } 26 }
23 27
24 #if defined(OS_CHROMEOS)
25 namespace chromeos {
26 class DisplayConfigurationObserver;
27 }
28 #endif
29
30 class ChromeLauncherController; 28 class ChromeLauncherController;
31 29
32 class ChromeShellDelegate : public ash::ShellDelegate, 30 class ChromeShellDelegate : public ash::ShellDelegate,
33 public content::NotificationObserver { 31 public content::NotificationObserver {
34 public: 32 public:
35 ChromeShellDelegate(); 33 ChromeShellDelegate();
36 ~ChromeShellDelegate() override; 34 ~ChromeShellDelegate() override;
37 35
38 // ash::ShellDelegate overrides; 36 // ash::ShellDelegate overrides;
39 bool IsFirstRunAfterBoot() const override; 37 bool IsFirstRunAfterBoot() const override;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 content::NotificationRegistrar registrar_; 81 content::NotificationRegistrar registrar_;
84 82
85 ChromeLauncherController* shelf_delegate_; 83 ChromeLauncherController* shelf_delegate_;
86 84
87 base::ObserverList<ash::VirtualKeyboardStateObserver> 85 base::ObserverList<ash::VirtualKeyboardStateObserver>
88 keyboard_state_observer_list_; 86 keyboard_state_observer_list_;
89 87
90 // Proxies events from chrome/browser to ash::UserMetricsRecorder. 88 // Proxies events from chrome/browser to ash::UserMetricsRecorder.
91 std::unique_ptr<ChromeUserMetricsRecorder> chrome_user_metrics_recorder_; 89 std::unique_ptr<ChromeUserMetricsRecorder> chrome_user_metrics_recorder_;
92 90
93 #if defined(OS_CHROMEOS)
94 std::unique_ptr<chromeos::DisplayConfigurationObserver> 91 std::unique_ptr<chromeos::DisplayConfigurationObserver>
95 display_configuration_observer_; 92 display_configuration_observer_;
96 #endif
97 93
98 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); 94 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
99 }; 95 };
100 96
101 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ 97 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_content_state_views.cc ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698