| 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 gfx::Insets GetWorkAreaInsets(aura::Window* root_window) const override { |
| 129 return gfx::Insets(); |
| 130 } |
| 131 |
| 128 private: | 132 private: |
| 129 DISALLOW_COPY_AND_ASSIGN(EmptyAccessibilityDelegate); | 133 DISALLOW_COPY_AND_ASSIGN(EmptyAccessibilityDelegate); |
| 130 }; | 134 }; |
| 131 | 135 |
| 132 } // namespace | 136 } // namespace |
| 133 | 137 |
| 134 bool ChromeShellDelegate::IsFirstRunAfterBoot() const { | 138 bool ChromeShellDelegate::IsFirstRunAfterBoot() const { |
| 135 return false; | 139 return false; |
| 136 } | 140 } |
| 137 | 141 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 chrome::NOTIFICATION_PROFILE_ADDED, | 247 chrome::NOTIFICATION_PROFILE_ADDED, |
| 244 content::NotificationService::AllSources()); | 248 content::NotificationService::AllSources()); |
| 245 registrar_.Add(this, | 249 registrar_.Add(this, |
| 246 chrome::NOTIFICATION_ASH_SESSION_STARTED, | 250 chrome::NOTIFICATION_ASH_SESSION_STARTED, |
| 247 content::NotificationService::AllSources()); | 251 content::NotificationService::AllSources()); |
| 248 registrar_.Add(this, | 252 registrar_.Add(this, |
| 249 chrome::NOTIFICATION_ASH_SESSION_ENDED, | 253 chrome::NOTIFICATION_ASH_SESSION_ENDED, |
| 250 content::NotificationService::AllSources()); | 254 content::NotificationService::AllSources()); |
| 251 #endif | 255 #endif |
| 252 } | 256 } |
| OLD | NEW |