include_rules = [
  "+cc",
  "+media/audio",
  "+media/base",
  "-webkit/browser",
  "-webkit/child",
  "-webkit/renderer",

  # TODO(ananta|jamesr|scottmg) http://crbug.com/237249
  "!webkit/child/websocketstreamhandle_impl.h",

  # No inclusion of WebKit from the browser, other than strictly enum/POD,
  # header-only types, and some selected common code.
  "-third_party/WebKit",
  "+third_party/WebKit/public/platform/WebCString.h",
  "+third_party/WebKit/public/platform/WebDeviceMotionData.h",
  "+third_party/WebKit/public/platform/WebDeviceOrientationData.h",
  "+third_party/WebKit/public/platform/WebFloatPoint.h",
  "+third_party/WebKit/public/platform/WebFloatRect.h",
  "+third_party/WebKit/public/platform/WebGamepads.h",
  "+third_party/WebKit/public/platform/WebGraphicsContext3D.h",
  "+third_party/WebKit/public/platform/WebHTTPBody.h",
  "+third_party/WebKit/public/platform/WebIDBCursor.h",
  "+third_party/WebKit/public/platform/WebIDBDatabase.h",
  "+third_party/WebKit/public/platform/WebIDBTypes.h",
  "+third_party/WebKit/public/platform/WebReferrerPolicy.h",
  "+third_party/WebKit/public/platform/WebScreenInfo.h",
  "+third_party/WebKit/public/platform/WebServiceWorkerError.h",
  "+third_party/WebKit/public/platform/WebStorageArea.h",
  "+third_party/WebKit/public/platform/WebString.h",
  "+third_party/WebKit/public/platform/linux/WebFontFamily.h",
  "+third_party/WebKit/public/platform/linux/WebFontRenderStyle.h",
  "+third_party/WebKit/public/web/WebAXEnums.h",
  "+third_party/WebKit/public/web/WebCompositionUnderline.h",
  "+third_party/WebKit/public/web/WebContentSecurityPolicy.h",
  "+third_party/WebKit/public/web/WebDragOperation.h",
  "+third_party/WebKit/public/web/WebDragStatus.h",
  "+third_party/WebKit/public/web/WebFindOptions.h",
  "+third_party/WebKit/public/web/WebInputEvent.h",
  "+third_party/WebKit/public/web/WebMediaPlayerAction.h",
  "+third_party/WebKit/public/web/WebPluginAction.h",
  "+third_party/WebKit/public/web/WebPopupType.h",
  "+third_party/WebKit/public/web/WebTextDirection.h",
  "+third_party/WebKit/public/web/WebWindowFeatures.h",
]

specific_include_rules = {
# Java bridge code passes NPAPI types to the browser process. Crazy!
  "java_bridge_messages\.h": [
    "+content/child"
  ]
}