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

Side by Side Diff: ui/app_list/BUILD.gn

Issue 1830293002: AppListController refactoring part 1: AppListShower implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: --similarity 30 Created 4 years, 9 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 | « no previous file | ui/app_list/DEPS » ('j') | ui/app_list/app_list_shower_delegate.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 component("app_list") { 8 component("app_list") {
9 sources = [ 9 sources = [
10 "app_list_constants.cc", 10 "app_list_constants.cc",
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 deps += [ 171 deps += [
172 "//ui/events", 172 "//ui/events",
173 "//ui/views", 173 "//ui/views",
174 ] 174 ]
175 175
176 public_deps = [ 176 public_deps = [
177 "//ui/views", 177 "//ui/views",
178 ] 178 ]
179 } 179 }
180 180
181 if (use_ash) {
182 sources += [
183 "app_list_shower.h",
184 "app_list_shower_delegate.h",
185 "app_list_shower_delegate_factory.h",
186 "app_list_shower_impl.cc",
187 "app_list_shower_impl.h",
188 ]
189 deps += [ "//ui/keyboard" ]
190 }
191
181 if (is_mac) { 192 if (is_mac) {
182 sources += [ 193 sources += [
183 "cocoa/app_list_pager_view.h", 194 "cocoa/app_list_pager_view.h",
184 "cocoa/app_list_pager_view.mm", 195 "cocoa/app_list_pager_view.mm",
185 "cocoa/app_list_view_controller.h", 196 "cocoa/app_list_view_controller.h",
186 "cocoa/app_list_view_controller.mm", 197 "cocoa/app_list_view_controller.mm",
187 "cocoa/app_list_window_controller.h", 198 "cocoa/app_list_window_controller.h",
188 "cocoa/app_list_window_controller.mm", 199 "cocoa/app_list_window_controller.mm",
189 "cocoa/apps_collection_view_drag_manager.h", 200 "cocoa/apps_collection_view_drag_manager.h",
190 "cocoa/apps_collection_view_drag_manager.mm", 201 "cocoa/apps_collection_view_drag_manager.mm",
(...skipping 13 matching lines...) Expand all
204 "cocoa/scroll_view_with_no_scrollbars.h", 215 "cocoa/scroll_view_with_no_scrollbars.h",
205 "cocoa/scroll_view_with_no_scrollbars.mm", 216 "cocoa/scroll_view_with_no_scrollbars.mm",
206 ] 217 ]
207 deps += [ "//third_party/google_toolbox_for_mac" ] 218 deps += [ "//third_party/google_toolbox_for_mac" ]
208 libs = [ "QuartzCore.framework" ] 219 libs = [ "QuartzCore.framework" ]
209 } 220 }
210 } 221 }
211 222
212 static_library("test_support") { 223 static_library("test_support") {
213 sources = [ 224 sources = [
225 "test/app_list_shower_impl_test_api.cc",
226 "test/app_list_shower_impl_test_api.h",
214 "test/app_list_test_model.cc", 227 "test/app_list_test_model.cc",
215 "test/app_list_test_model.h", 228 "test/app_list_test_model.h",
216 "test/app_list_test_view_delegate.cc", 229 "test/app_list_test_view_delegate.cc",
217 "test/app_list_test_view_delegate.h", 230 "test/app_list_test_view_delegate.h",
218 "test/test_search_result.cc", 231 "test/test_search_result.cc",
219 "test/test_search_result.h", 232 "test/test_search_result.h",
220 ] 233 ]
221 234
222 deps = [ 235 deps = [
223 ":app_list", 236 ":app_list",
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 "views/speech_view_unittest.cc", 335 "views/speech_view_unittest.cc",
323 "views/test/apps_grid_view_test_api.cc", 336 "views/test/apps_grid_view_test_api.cc",
324 "views/test/apps_grid_view_test_api.h", 337 "views/test/apps_grid_view_test_api.h",
325 ] 338 ]
326 deps += [ 339 deps += [
327 "//ui/views", 340 "//ui/views",
328 "//ui/views:test_support", 341 "//ui/views:test_support",
329 ] 342 ]
330 } 343 }
331 344
345 if (use_ash) {
346 sources += [ "app_list_shower_impl_unittest.cc" ]
347 }
348
332 if (is_mac) { 349 if (is_mac) {
333 sources += [ 350 sources += [
334 "cocoa/app_list_view_controller_unittest.mm", 351 "cocoa/app_list_view_controller_unittest.mm",
335 "cocoa/app_list_window_controller_unittest.mm", 352 "cocoa/app_list_window_controller_unittest.mm",
336 "cocoa/apps_grid_controller_unittest.mm", 353 "cocoa/apps_grid_controller_unittest.mm",
337 "cocoa/apps_search_box_controller_unittest.mm", 354 "cocoa/apps_search_box_controller_unittest.mm",
338 "cocoa/apps_search_results_controller_unittest.mm", 355 "cocoa/apps_search_results_controller_unittest.mm",
339 "cocoa/test/apps_grid_controller_test_helper.h", 356 "cocoa/test/apps_grid_controller_test_helper.h",
340 "cocoa/test/apps_grid_controller_test_helper.mm", 357 "cocoa/test/apps_grid_controller_test_helper.mm",
341 ] 358 ]
342 } 359 }
343 } 360 }
OLDNEW
« no previous file with comments | « no previous file | ui/app_list/DEPS » ('j') | ui/app_list/app_list_shower_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698