| 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/shelf/shelf_constants.h" | 5 #include "ash/shelf/shelf_constants.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "third_party/skia/include/core/SkColor.h" | 8 #include "third_party/skia/include/core/SkColor.h" |
| 9 | 9 |
| 10 namespace ash { | 10 namespace ash { |
| 11 | 11 |
| 12 const int kTimeToSwitchBackgroundMs = 1000; | 12 const int kTimeToSwitchBackgroundMs = 1000; |
| 13 const int kWorkspaceAreaVisibleInset = 2; | 13 const int kWorkspaceAreaVisibleInset = 2; |
| 14 const int kWorkspaceAreaAutoHideInset = 5; | 14 const int kWorkspaceAreaAutoHideInset = 5; |
| 15 const int kShelfAutoHideSize = 3; | 15 const int kShelfAutoHideSize = 3; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 37 case SHELF_SIZE: | 37 case SHELF_SIZE: |
| 38 return kShelfSize[mode]; | 38 return kShelfSize[mode]; |
| 39 case SHELF_INSETS_FOR_AUTO_HIDE: | 39 case SHELF_INSETS_FOR_AUTO_HIDE: |
| 40 return kShelfInsetsForAutoHide[mode]; | 40 return kShelfInsetsForAutoHide[mode]; |
| 41 } | 41 } |
| 42 NOTREACHED(); | 42 NOTREACHED(); |
| 43 return 0; | 43 return 0; |
| 44 } | 44 } |
| 45 | 45 |
| 46 } // namespace ash | 46 } // namespace ash |
| OLD | NEW |