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

Side by Side Diff: ios/chrome/browser/tabs/BUILD.gn

Issue 2681843002: Add mechanism to get the Tab from the associated WebState. (Closed)
Patch Set: Address comments. 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 unified diff | Download patch
« no previous file with comments | « no previous file | ios/chrome/browser/tabs/legacy_tab_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("tabs") { 5 source_set("tabs") {
6 sources = [ 6 sources = [
7 "tab.h", 7 "tab.h",
8 "tab_delegate.h", 8 "tab_delegate.h",
9 "tab_dialog_delegate.h", 9 "tab_dialog_delegate.h",
10 "tab_headers_delegate.h", 10 "tab_headers_delegate.h",
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 ] 109 ]
110 allow_circular_includes_from = [ ":tabs_internal_arc" ] 110 allow_circular_includes_from = [ ":tabs_internal_arc" ]
111 libs = [ 111 libs = [
112 "CoreLocation.framework", 112 "CoreLocation.framework",
113 "UIKit.framework", 113 "UIKit.framework",
114 ] 114 ]
115 } 115 }
116 116
117 source_set("tabs_internal_arc") { 117 source_set("tabs_internal_arc") {
118 sources = [ 118 sources = [
119 "legacy_tab_helper.h",
120 "legacy_tab_helper.mm",
119 "tab_model_list.mm", 121 "tab_model_list.mm",
120 ] 122 ]
121 deps = [ 123 deps = [
122 ":tabs", 124 ":tabs",
123 "//base", 125 "//base",
124 "//ios/chrome/browser", 126 "//ios/chrome/browser",
125 "//ios/chrome/browser/browser_state", 127 "//ios/chrome/browser/browser_state",
128 "//ios/web",
126 ] 129 ]
127 libs = [ "Foundation.framework" ] 130 libs = [ "Foundation.framework" ]
128 configs += [ "//build/config/compiler:enable_arc" ] 131 configs += [ "//build/config/compiler:enable_arc" ]
129 } 132 }
130 133
131 source_set("unit_tests") { 134 source_set("unit_tests") {
132 testonly = true 135 testonly = true
133 sources = [ 136 sources = [
134 "tab_model_order_controller_unittest.mm", 137 "tab_model_order_controller_unittest.mm",
135 "tab_model_unittest.mm", 138 "tab_model_unittest.mm",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 ":tabs", 177 ":tabs",
175 ":tabs_internal", 178 ":tabs_internal",
176 "//base", 179 "//base",
177 "//ios/chrome/browser/browser_state:test_support", 180 "//ios/chrome/browser/browser_state:test_support",
178 "//ios/chrome/browser/sessions:test_support", 181 "//ios/chrome/browser/sessions:test_support",
179 "//ios/web:test_support", 182 "//ios/web:test_support",
180 "//testing/gtest", 183 "//testing/gtest",
181 ] 184 ]
182 configs += [ "//build/config/compiler:enable_arc" ] 185 configs += [ "//build/config/compiler:enable_arc" ]
183 } 186 }
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/tabs/legacy_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698