OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" | 5 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "ash/accessibility_delegate.h" | 9 #include "ash/accessibility_delegate.h" |
10 #include "ash/media_delegate.h" | 10 #include "ash/media_delegate.h" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 ui::AccessibilityAlert GetLastAccessibilityAlert() override { | 118 ui::AccessibilityAlert GetLastAccessibilityAlert() override { |
119 return ui::A11Y_ALERT_NONE; | 119 return ui::A11Y_ALERT_NONE; |
120 } | 120 } |
121 | 121 |
122 void PlayEarcon(int sound_key) override {} | 122 void PlayEarcon(int sound_key) override {} |
123 | 123 |
124 base::TimeDelta PlayShutdownSound() const override { | 124 base::TimeDelta PlayShutdownSound() const override { |
125 return base::TimeDelta(); | 125 return base::TimeDelta(); |
126 } | 126 } |
127 | 127 |
| 128 void ComputeWorkAreaInsets(aura::Window* root_window, |
| 129 gfx::Insets* out_insets) const override {} |
| 130 |
128 private: | 131 private: |
129 DISALLOW_COPY_AND_ASSIGN(EmptyAccessibilityDelegate); | 132 DISALLOW_COPY_AND_ASSIGN(EmptyAccessibilityDelegate); |
130 }; | 133 }; |
131 | 134 |
132 } // namespace | 135 } // namespace |
133 | 136 |
134 bool ChromeShellDelegate::IsFirstRunAfterBoot() const { | 137 bool ChromeShellDelegate::IsFirstRunAfterBoot() const { |
135 return false; | 138 return false; |
136 } | 139 } |
137 | 140 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 chrome::NOTIFICATION_PROFILE_ADDED, | 246 chrome::NOTIFICATION_PROFILE_ADDED, |
244 content::NotificationService::AllSources()); | 247 content::NotificationService::AllSources()); |
245 registrar_.Add(this, | 248 registrar_.Add(this, |
246 chrome::NOTIFICATION_ASH_SESSION_STARTED, | 249 chrome::NOTIFICATION_ASH_SESSION_STARTED, |
247 content::NotificationService::AllSources()); | 250 content::NotificationService::AllSources()); |
248 registrar_.Add(this, | 251 registrar_.Add(this, |
249 chrome::NOTIFICATION_ASH_SESSION_ENDED, | 252 chrome::NOTIFICATION_ASH_SESSION_ENDED, |
250 content::NotificationService::AllSources()); | 253 content::NotificationService::AllSources()); |
251 #endif | 254 #endif |
252 } | 255 } |
OLD | NEW |