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

Side by Side Diff: chrome/browser/ui/cocoa/DEPS

Issue 1162023008: DEPS rule to restrict ui/views dependencies in c/b/ui/cocoa (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: support views_cocoa and views_mac Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 include_rules = [ 1 include_rules = [
2 "+third_party/apple_sample_code", # Apple code ImageAndTextCell. 2 "+third_party/apple_sample_code", # Apple code ImageAndTextCell.
3 "+third_party/molokocacao", # For NSBezierPath additions. 3 "+third_party/molokocacao", # For NSBezierPath additions.
4 "+third_party/ocmock", # For unit tests. 4 "+third_party/ocmock", # For unit tests.
5 # Tooklit-views dependencies shouldn't be introduced here except for special
6 # cases below.
7 "-ui/views",
5 ] 8 ]
9
10 specific_include_rules = {
11 # Allow access to toolkit-views for specific bridging classes to integrate
12 # with a Cocoa browser window. These need to have "_views" somewhere in the
13 # file name. Mac-specific toolkit-views code that doesn't need to interact
14 # with a Cocoa browser should go under chrome/browser/ui/views.
15 ".*(_views).*\.(cc|h|mm)$": [
16 "+chrome/browser/ui/views",
17 "+ui/views",
18 ],
19 "manage_password_item_view_controller.mm": [
Nico 2015/06/05 06:29:43 this seems a bit ad-hoc?
tapted 2015/06/05 06:38:56 yeah, it's been around for nearly a year (since r2
Nico 2015/06/05 06:56:13 Seems nicer to me, but up to you :-)
tapted 2015/06/05 07:31:42 Done. (and yeah - I think it's nicer too.. and the
20 "+ui/views/layout/layout_constants.h",
21 ],
22 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698