| 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 "ash/common/system/tray/default_system_tray_delegate.h" | 5 #include "ash/common/system/tray/default_system_tray_delegate.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 namespace ash { | 9 namespace ash { |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 } | 27 } |
| 28 | 28 |
| 29 bool DefaultSystemTrayDelegate::ShouldShowSettings() const { | 29 bool DefaultSystemTrayDelegate::ShouldShowSettings() const { |
| 30 return true; | 30 return true; |
| 31 } | 31 } |
| 32 | 32 |
| 33 bool DefaultSystemTrayDelegate::ShouldShowNotificationTray() const { | 33 bool DefaultSystemTrayDelegate::ShouldShowNotificationTray() const { |
| 34 return true; | 34 return true; |
| 35 } | 35 } |
| 36 | 36 |
| 37 int DefaultSystemTrayDelegate::GetSystemTrayMenuWidth() { | |
| 38 // This is the default width for English languages. | |
| 39 return 300; | |
| 40 } | |
| 41 | |
| 42 } // namespace ash | 37 } // namespace ash |
| OLD | NEW |