| 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/views/app_list_view.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "ui/app_list/app_list_background.h" | |
| 11 #include "ui/app_list/app_list_constants.h" | 10 #include "ui/app_list/app_list_constants.h" |
| 12 #include "ui/app_list/app_list_item_model.h" | 11 #include "ui/app_list/app_list_item_model.h" |
| 13 #include "ui/app_list/app_list_item_view.h" | |
| 14 #include "ui/app_list/app_list_model.h" | 12 #include "ui/app_list/app_list_model.h" |
| 15 #include "ui/app_list/app_list_view_delegate.h" | 13 #include "ui/app_list/app_list_view_delegate.h" |
| 16 #include "ui/app_list/contents_view.h" | |
| 17 #include "ui/app_list/pagination_model.h" | 14 #include "ui/app_list/pagination_model.h" |
| 18 #include "ui/app_list/search_box_model.h" | 15 #include "ui/app_list/search_box_model.h" |
| 19 #include "ui/app_list/search_box_view.h" | 16 #include "ui/app_list/views/app_list_background.h" |
| 17 #include "ui/app_list/views/app_list_item_view.h" |
| 18 #include "ui/app_list/views/contents_view.h" |
| 19 #include "ui/app_list/views/search_box_view.h" |
| 20 #include "ui/base/events/event.h" | 20 #include "ui/base/events/event.h" |
| 21 #include "ui/gfx/insets.h" | 21 #include "ui/gfx/insets.h" |
| 22 #include "ui/gfx/path.h" | 22 #include "ui/gfx/path.h" |
| 23 #include "ui/gfx/skia_util.h" | 23 #include "ui/gfx/skia_util.h" |
| 24 #include "ui/views/bubble/bubble_frame_view.h" | 24 #include "ui/views/bubble/bubble_frame_view.h" |
| 25 #include "ui/views/controls/textfield/textfield.h" | 25 #include "ui/views/controls/textfield/textfield.h" |
| 26 #include "ui/views/layout/box_layout.h" | 26 #include "ui/views/layout/box_layout.h" |
| 27 #include "ui/views/widget/widget.h" | 27 #include "ui/views/widget/widget.h" |
| 28 | 28 |
| 29 namespace app_list { | 29 namespace app_list { |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 | 297 |
| 298 void AppListView::OnWidgetActivationChanged(views::Widget* widget, | 298 void AppListView::OnWidgetActivationChanged(views::Widget* widget, |
| 299 bool active) { | 299 bool active) { |
| 300 // Do not called inherited function as the bubble delegate auto close | 300 // Do not called inherited function as the bubble delegate auto close |
| 301 // functionality is not used. | 301 // functionality is not used. |
| 302 if (delegate_.get() && widget == GetWidget()) | 302 if (delegate_.get() && widget == GetWidget()) |
| 303 delegate_->ViewActivationChanged(active); | 303 delegate_->ViewActivationChanged(active); |
| 304 } | 304 } |
| 305 | 305 |
| 306 } // namespace app_list | 306 } // namespace app_list |
| OLD | NEW |