Chromium Code Reviews| Index: chrome/browser/ui/cocoa/DEPS |
| diff --git a/chrome/browser/ui/cocoa/DEPS b/chrome/browser/ui/cocoa/DEPS |
| index 2fedb51bea63abeec57b6b54e5a8434d5cc990a0..bbce8e3c6484aaa8b247bf4540b6f5f9fbbb1807 100644 |
| --- a/chrome/browser/ui/cocoa/DEPS |
| +++ b/chrome/browser/ui/cocoa/DEPS |
| @@ -2,4 +2,21 @@ include_rules = [ |
| "+third_party/apple_sample_code", # Apple code ImageAndTextCell. |
| "+third_party/molokocacao", # For NSBezierPath additions. |
| "+third_party/ocmock", # For unit tests. |
| + # Tooklit-views dependencies shouldn't be introduced here except for special |
| + # cases below. |
| + "-ui/views", |
| ] |
| + |
| +specific_include_rules = { |
| + # Allow access to toolkit-views for specific bridging classes to integrate |
| + # with a Cocoa browser window. These need to have "_views" somewhere in the |
| + # file name. Mac-specific toolkit-views code that doesn't need to interact |
| + # with a Cocoa browser should go under chrome/browser/ui/views. |
| + ".*(_views).*\.(cc|h|mm)$": [ |
| + "+chrome/browser/ui/views", |
| + "+ui/views", |
| + ], |
| + "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
|
| + "+ui/views/layout/layout_constants.h", |
| + ], |
| +} |