| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "ui/app_list/views/start_page_view.h" | 5 #include "ui/app_list/views/start_page_view.h" |
| 6 | 6 |
| 7 #include <string> |
| 8 |
| 7 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
| 8 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 10 #include "ui/accessibility/ax_view_state.h" | 12 #include "ui/accessibility/ax_view_state.h" |
| 11 #include "ui/app_list/app_list_constants.h" | 13 #include "ui/app_list/app_list_constants.h" |
| 12 #include "ui/app_list/app_list_item.h" | 14 #include "ui/app_list/app_list_item.h" |
| 13 #include "ui/app_list/app_list_model.h" | 15 #include "ui/app_list/app_list_model.h" |
| 14 #include "ui/app_list/app_list_view_delegate.h" | 16 #include "ui/app_list/app_list_view_delegate.h" |
| 15 #include "ui/app_list/search_result.h" | 17 #include "ui/app_list/search_result.h" |
| 16 #include "ui/app_list/views/all_apps_tile_item_view.h" | 18 #include "ui/app_list/views/all_apps_tile_item_view.h" |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 | 443 |
| 442 gfx::Rect StartPageView::GetSearchBoxBounds() const { | 444 gfx::Rect StartPageView::GetSearchBoxBounds() const { |
| 443 return search_box_spacer_view_->bounds(); | 445 return search_box_spacer_view_->bounds(); |
| 444 } | 446 } |
| 445 | 447 |
| 446 TileItemView* StartPageView::GetTileItemView(size_t index) { | 448 TileItemView* StartPageView::GetTileItemView(size_t index) { |
| 447 return tiles_container_->GetTileItemView(index); | 449 return tiles_container_->GetTileItemView(index); |
| 448 } | 450 } |
| 449 | 451 |
| 450 } // namespace app_list | 452 } // namespace app_list |
| OLD | NEW |