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

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

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

Powered by Google App Engine
This is Rietveld 408576698