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

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

Issue 2921833002: [iOS Clean] Created OverlayService.
Patch Set: Cancel overlays on queue deallocation 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 "overlay_coordinator.h",
8 "web_contents_mediator.mm", 8 "overlay_coordinator.mm",
9 "web_coordinator.h", 9 "overlay_queue.h",
10 "web_coordinator.mm", 10 "overlay_queue.mm",
11 "overlay_scheduler.h",
12 "overlay_scheduler.mm",
11 ] 13 ]
12 14
13 configs += [ "//build/config/compiler:enable_arc" ] 15 configs += [ "//build/config/compiler:enable_arc" ]
14 16
15 deps = [ 17 deps = [
16 ":web_contents_ui", 18 "//base",
17 "//ios/chrome/browser",
18 "//ios/chrome/browser/web_state_list", 19 "//ios/chrome/browser/web_state_list",
19 "//ios/clean/chrome/browser/ui/commands", 20 "//ios/clean/chrome/browser/ui/commands",
20 "//ios/clean/chrome/browser/ui/context_menu",
21 "//ios/shared/chrome/browser/ui/browser_list", 21 "//ios/shared/chrome/browser/ui/browser_list",
22 "//ios/shared/chrome/browser/ui/commands", 22 "//ios/shared/chrome/browser/ui/commands",
23 "//ios/shared/chrome/browser/ui/coordinators", 23 "//ios/shared/chrome/browser/ui/coordinators",
24 "//ios/web", 24 "//ios/web",
25 "//ui/base",
26 "//url",
27 ] 25 ]
28 } 26 }
29 27
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") { 28 source_set("unit_tests") {
41 testonly = true 29 testonly = true
42 sources = [ 30 sources = [
43 "web_contents_mediator_unittest.mm", 31 "overlay_queue_unittest.mm",
44 ] 32 ]
45 33
46 configs += [ "//build/config/compiler:enable_arc" ] 34 configs += [ "//build/config/compiler:enable_arc" ]
47 35
48 deps = [ 36 deps = [
49 ":web_contents", 37 ":overlays",
50 ":web_contents_ui",
51 "//base", 38 "//base",
52 "//base/test:test_support", 39 "//base/test:test_support",
53 "//ios/chrome/browser/web_state_list", 40 "//ios/chrome/browser/web_state_list",
54 "//ios/chrome/browser/web_state_list:test_support", 41 "//ios/chrome/browser/web_state_list:test_support",
55 "//ios/chrome/test/base", 42 "//ios/chrome/test/base",
43 "//ios/clean/chrome/browser/ui/commands",
56 "//ios/web/public/test/fakes", 44 "//ios/web/public/test/fakes",
57 "//testing/gtest", 45 "//testing/gtest",
58 ] 46 ]
59 } 47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698