Initial implementation of the permission API for Browser Plugin PointerLock
[chromium-blink-merge.git] / content / DEPS
blob79b961e6b792b05907cd79b8c43cf65b17619e87
1 # Do NOT add chrome to the list below.  We shouldn't be including files from
2 # src/chrome in src/content.
3 include_rules = [
4   # The subdirectories in content/ will manually allow their own include
5   # directories in content/ so we disallow all of them.
6   "-content",
7   "+content/common",
8   "+content/port/common",
9   "+content/public/common",
10   "+content/public/test",
11   "+content/shell",  # for content_browsertests
12   "+content/test",
14   # content isn't tied to prefs so that other embedders are able to pick
15   # different ways of storing their preferences. Also, this is to avoid prefs
16   # being used as a parallel API to the Content API.
17   "-base/prefs",
19   "+cc",
20   "+crypto",
21   "+grit/content_resources.h",
22   "+grit/ui_resources.h",
23   "+grit/webkit_chromium_resources.h",
24   "+grit/webkit_resources.h",
25   "+grit/webkit_strings.h",
26   "+grit/webui_resources_map.h",
28   "+dbus",
29   "+gpu",
30   "+net",
31   "+ppapi",
32   "+printing",
33   "+sandbox",
34   "+skia",
36   # In general, content/ should not rely on google_apis, since URLs
37   # and access tokens should usually be provided by the
38   # embedder.
39   #
40   # There are a couple of specific parts of content that are excepted
41   # from this rule, see content/browser/speech/DEPS and
42   # content/browser/geolocation/DEPS.  Both of these are cases of
43   # implementations that are strongly tied to Google servers, i.e. we
44   # don't expect alternate implementations to be provided by the
45   # embedder.
46   "-google_apis",
48   # Don't allow inclusion of these other libs we shouldn't be calling directly.
49   "-v8",
50   "-tools",
52   # Allow inclusion of third-party code:
53   "+third_party/angle",
54   "+third_party/flac",
55   "+third_party/gpsd",
56   "+third_party/mozilla",
57   "+third_party/npapi/bindings",
58   "+third_party/skia",
59   "+third_party/sqlite",
60   "+third_party/tcmalloc",
61   "+third_party/khronos",
62   "+third_party/webrtc",
63   "+third_party/WebKit/Source/Platform/chromium",
64   "+third_party/WebKit/Source/WebKit/chromium",
66   "+ui/android",
67   # Aura is analogous to Win32 or a Gtk, so it is allowed.
68   "+ui/aura",
69   "+ui/base",
70   "+ui/compositor",
71   "+ui/gfx",
72   "+ui/gl",
73   "+ui/native_theme",
74   "+ui/shell_dialogs",
75   "+ui/snapshot",
76   "+ui/surface",
77   # Content knows about grd files, but the specifics of how to get a resource
78   # given its id is left to the embedder.
79   "-ui/base/l10n",
80   "-ui/base/resource",
81   # This file isn't related to grd, so it's fine.
82   "+ui/base/l10n/l10n_util_win.h",
84   # Content shouldn't depend on views. While we technically don't need this
85   # line, since the top level DEPS doesn't allow it, we add it to make this
86   # explicit.
87   "-ui/views",
89   "+webkit",
90   "-webkit/dom_storage",
91   "+webkit/dom_storage/dom_storage_types.h",
93   # For generated JNI includes.
94   "+jni",