| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/app_list_view.h" | 5 #include "ui/app_list/app_list_view.h" |
| 6 | 6 |
| 7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "ui/app_list/app_list_bubble_border.h" | 8 #include "ui/app_list/app_list_bubble_border.h" |
| 9 #include "ui/app_list/app_list_item_view.h" | 9 #include "ui/app_list/app_list_item_view.h" |
| 10 #include "ui/app_list/app_list_model.h" | 10 #include "ui/app_list/app_list_model.h" |
| 11 #include "ui/app_list/app_list_view_delegate.h" | 11 #include "ui/app_list/app_list_view_delegate.h" |
| 12 #include "ui/app_list/contents_view.h" | 12 #include "ui/app_list/contents_view.h" |
| 13 #include "ui/app_list/pagination_model.h" | 13 #include "ui/app_list/pagination_model.h" |
| 14 #include "ui/app_list/search_box_model.h" | 14 #include "ui/app_list/search_box_model.h" |
| 15 #include "ui/app_list/search_box_view.h" | 15 #include "ui/app_list/search_box_view.h" |
| 16 #include "ui/base/event.h" | 16 #include "ui/base/events/event.h" |
| 17 #include "ui/gfx/insets.h" | 17 #include "ui/gfx/insets.h" |
| 18 #include "ui/views/bubble/bubble_frame_view.h" | 18 #include "ui/views/bubble/bubble_frame_view.h" |
| 19 #include "ui/views/controls/textfield/textfield.h" | 19 #include "ui/views/controls/textfield/textfield.h" |
| 20 #include "ui/views/layout/box_layout.h" | 20 #include "ui/views/layout/box_layout.h" |
| 21 #include "ui/views/widget/widget.h" | 21 #include "ui/views/widget/widget.h" |
| 22 | 22 |
| 23 namespace app_list { | 23 namespace app_list { |
| 24 | 24 |
| 25 namespace { | 25 namespace { |
| 26 | 26 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 } | 198 } |
| 199 | 199 |
| 200 void AppListView::InvokeResultAction(const SearchResult& result, | 200 void AppListView::InvokeResultAction(const SearchResult& result, |
| 201 int action_index, | 201 int action_index, |
| 202 int event_flags) { | 202 int event_flags) { |
| 203 if (delegate_.get()) | 203 if (delegate_.get()) |
| 204 delegate_->InvokeSearchResultAction(result, action_index, event_flags); | 204 delegate_->InvokeSearchResultAction(result, action_index, event_flags); |
| 205 } | 205 } |
| 206 | 206 |
| 207 } // namespace app_list | 207 } // namespace app_list |
| OLD | NEW |