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

Side by Side Diff: ios/clean/chrome/browser/ui/overlays/BUILD.gn

Issue 2921833002: [iOS Clean] Created OverlayService.
Patch Set: Use service pattern Created 3 years, 6 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 source_set("web_contents") { 5 source_set("overlays") {
6 sources = [ 6 sources = [
7 "web_contents_mediator.h", 7 "browser_coordinator+overlay_support.h",
8 "web_contents_mediator.mm", 8 "browser_coordinator+overlay_support.mm",
9 "web_coordinator.h", 9 "browser_overlay_queue.h",
10 "web_coordinator.mm", 10 "browser_overlay_queue.mm",
11 "overlay_queue.h",
12 "overlay_queue.mm",
13 "overlay_queue_observer.h",
14 "overlay_queue_observer.mm",
15 "overlay_scheduler.h",
16 "overlay_scheduler.mm",
17 "overlay_service.h",
18 "overlay_service_factory.h",
19 "overlay_service_factory.mm",
20 "overlay_service_impl.h",
21 "overlay_service_impl.mm",
22 "web_state_overlay_queue.h",
23 "web_state_overlay_queue.mm",
11 ] 24 ]
12 25
13 configs += [ "//build/config/compiler:enable_arc" ] 26 configs += [ "//build/config/compiler:enable_arc" ]
14 27
15 deps = [ 28 deps = [
16 ":web_contents_ui", 29 "//base",
17 "//ios/chrome/browser", 30 "//components/keyed_service/core",
31 "//components/keyed_service/ios",
32 "//ios/chrome/browser/browser_state",
18 "//ios/chrome/browser/web_state_list", 33 "//ios/chrome/browser/web_state_list",
19 "//ios/clean/chrome/browser/ui/commands", 34 "//ios/clean/chrome/browser/ui/commands",
20 "//ios/clean/chrome/browser/ui/context_menu",
21 "//ios/shared/chrome/browser/ui/browser_list", 35 "//ios/shared/chrome/browser/ui/browser_list",
22 "//ios/shared/chrome/browser/ui/commands", 36 "//ios/shared/chrome/browser/ui/commands",
23 "//ios/shared/chrome/browser/ui/coordinators", 37 "//ios/shared/chrome/browser/ui/coordinators",
24 "//ios/web", 38 "//ios/web",
25 "//ui/base",
26 "//url",
27 ] 39 ]
28 } 40 }
29 41
30 source_set("web_contents_ui") {
31 sources = [
32 "web_contents_consumer.h",
33 "web_contents_view_controller.h",
34 "web_contents_view_controller.mm",
35 ]
36
37 configs += [ "//build/config/compiler:enable_arc" ]
38 }
39
40 source_set("unit_tests") { 42 source_set("unit_tests") {
41 testonly = true 43 testonly = true
42 sources = [ 44 sources = [
43 "web_contents_mediator_unittest.mm", 45 "overlay_queue_unittest.mm",
44 ] 46 ]
45 47
46 configs += [ "//build/config/compiler:enable_arc" ] 48 configs += [ "//build/config/compiler:enable_arc" ]
47 49
48 deps = [ 50 deps = [
49 ":web_contents", 51 ":overlays",
50 ":web_contents_ui",
51 "//base", 52 "//base",
52 "//base/test:test_support", 53 "//base/test:test_support",
53 "//ios/chrome/browser/web_state_list", 54 "//ios/chrome/browser/web_state_list",
54 "//ios/chrome/browser/web_state_list:test_support", 55 "//ios/chrome/browser/web_state_list:test_support",
55 "//ios/chrome/test/base", 56 "//ios/chrome/test/base",
57 "//ios/clean/chrome/browser/ui/commands",
56 "//ios/web/public/test/fakes", 58 "//ios/web/public/test/fakes",
57 "//testing/gtest", 59 "//testing/gtest",
58 ] 60 ]
59 } 61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698