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

Unified Diff: ios/clean/chrome/browser/ui/web_contents/BUILD.gn

Issue 2675763002: [ios clean] Consumer interface for WebContents (Closed)
Patch Set: Feedback. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/web_contents/web_contents_consumer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/ui/web_contents/BUILD.gn
diff --git a/ios/clean/chrome/browser/ui/web_contents/BUILD.gn b/ios/clean/chrome/browser/ui/web_contents/BUILD.gn
index 13a0a73dc27f39be8fa7f74ea61c219627637741..6c6553b294234b923d753b056b0f0f0426ce88d7 100644
--- a/ios/clean/chrome/browser/ui/web_contents/BUILD.gn
+++ b/ios/clean/chrome/browser/ui/web_contents/BUILD.gn
@@ -4,8 +4,8 @@
source_set("web_contents") {
sources = [
- "web_contents_view_controller.h",
- "web_contents_view_controller.mm",
+ "web_contents_mediator.h",
+ "web_contents_mediator.mm",
"web_coordinator.h",
"web_coordinator.mm",
]
@@ -13,6 +13,7 @@ source_set("web_contents") {
configs += [ "//build/config/compiler:enable_arc" ]
deps = [
+ ":web_contents_ui",
"//ios/clean/chrome/browser",
"//ios/shared/chrome/browser/coordinator_context",
"//ios/web",
@@ -20,3 +21,32 @@ source_set("web_contents") {
"//url",
]
}
+
+source_set("web_contents_ui") {
+ sources = [
+ "web_contents_consumer.h",
+ "web_contents_view_controller.h",
+ "web_contents_view_controller.mm",
+ ]
+
+ configs += [ "//build/config/compiler:enable_arc" ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "web_contents_mediator_unittest.mm",
+ ]
+
+ configs += [ "//build/config/compiler:enable_arc" ]
+
+ deps = [
+ ":web_contents",
+ ":web_contents_ui",
+ "//base",
+ "//base/test:test_support",
+ "//ios/chrome/test/base",
+ "//ios/web:test_support",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « no previous file | ios/clean/chrome/browser/ui/web_contents/web_contents_consumer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698