| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/app_list/app_list_groups_view.h" | 5 #include "ash/app_list/app_list_groups_view.h" |
| 6 | 6 |
| 7 #include "ash/app_list/app_list_item_group_model.h" | 7 #include "ash/app_list/app_list_item_group_model.h" |
| 8 #include "ash/app_list/app_list_item_group_view.h" | 8 #include "ash/app_list/app_list_item_group_view.h" |
| 9 #include "ash/app_list/app_list_item_view.h" | 9 #include "ash/app_list/app_list_item_view.h" |
| 10 #include "ash/app_list/app_list_model.h" | 10 #include "ash/app_list/app_list_model.h" |
| 11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| 12 #include "third_party/skia/include/core/SkColor.h" | 12 #include "third_party/skia/include/core/SkColor.h" |
| 13 #include "ui/base/resource/resource_bundle.h" | 13 #include "ui/base/resource/resource_bundle.h" |
| 14 #include "ui/views/animation/bounds_animator.h" | 14 #include "ui/views/animation/bounds_animator.h" |
| 15 #include "ui/views/controls/button/text_button.h" | 15 #include "ui/views/controls/button/text_button.h" |
| 16 #include "ui/views/layout/box_layout.h" | 16 #include "ui/views/layout/box_layout.h" |
| 17 | 17 |
| 18 namespace aura_shell { | 18 namespace ash { |
| 19 | 19 |
| 20 namespace { | 20 namespace { |
| 21 | 21 |
| 22 const SkColor kPageHeaderColor = SkColorSetARGB(0xFF, 0xB2, 0xB2, 0xB2); | 22 const SkColor kPageHeaderColor = SkColorSetARGB(0xFF, 0xB2, 0xB2, 0xB2); |
| 23 const SkColor kSelectedPageHeaderColor = SK_ColorWHITE; | 23 const SkColor kSelectedPageHeaderColor = SK_ColorWHITE; |
| 24 | 24 |
| 25 // Creates page headers view that hosts page title buttons. | 25 // Creates page headers view that hosts page title buttons. |
| 26 views::View* CreatePageHeader() { | 26 views::View* CreatePageHeader() { |
| 27 views::View* header = new views::View; | 27 views::View* header = new views::View; |
| 28 header->SetLayoutManager( | 28 header->SetLayoutManager( |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 } | 233 } |
| 234 | 234 |
| 235 void AppListGroupsView::ListItemsRemoved(int start, int count) { | 235 void AppListGroupsView::ListItemsRemoved(int start, int count) { |
| 236 Update(); | 236 Update(); |
| 237 } | 237 } |
| 238 | 238 |
| 239 void AppListGroupsView::ListItemsChanged(int start, int count) { | 239 void AppListGroupsView::ListItemsChanged(int start, int count) { |
| 240 NOTREACHED(); | 240 NOTREACHED(); |
| 241 } | 241 } |
| 242 | 242 |
| 243 } // namespace aura_shell | 243 } // namespace ash |
| OLD | NEW |