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/shelf/shelf_navigator.h" | 5 #include "ash/common/shelf/shelf_navigator.h" |
6 | 6 |
7 #include "ash/common/shelf/shelf_model.h" | 7 #include "ash/common/shelf/shelf_model.h" |
8 | 8 |
9 namespace ash { | 9 namespace ash { |
10 | 10 |
11 namespace { | 11 namespace { |
12 | 12 |
13 // Returns true if accelerator processing should skip the shelf item with the | 13 // Returns true if accelerator processing should skip the shelf item with the |
14 // specified type. | 14 // specified type. |
15 bool ShouldSkip(ShelfItemType type) { | 15 bool ShouldSkip(ShelfItemType type) { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 if (item.status == STATUS_ACTIVE) | 61 if (item.status == STATUS_ACTIVE) |
62 continue; | 62 continue; |
63 | 63 |
64 return i; | 64 return i; |
65 } | 65 } |
66 | 66 |
67 return -1; | 67 return -1; |
68 } | 68 } |
69 | 69 |
70 } // namespace ash | 70 } // namespace ash |
OLD | NEW |