Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Side by Side Diff: ui/app_list/views/app_list_view.cc

Issue 11784034: Skeleton for app_list on OSX, and refactoring for enable_app_list=1 on OS=="mac". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase for 175876 and 175961 Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/app_list/views/app_list_view.h ('k') | ui/app_list/views/apps_grid_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ui/app_list/views/app_list_view.h ('k') | ui/app_list/views/apps_grid_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698