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

  # 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/WebBatteryStatus.h",
  "+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/WebGamepad.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/WebLockOrientationCallback.h",
  "+third_party/WebKit/public/platform/WebReferrerPolicy.h",
  "+third_party/WebKit/public/platform/WebScreenOrientationLockType.h",
  "+third_party/WebKit/public/platform/WebScreenOrientationType.h",
  "+third_party/WebKit/public/platform/WebScreenInfo.h",
  "+third_party/WebKit/public/platform/WebServiceWorkerError.h",
  "+third_party/WebKit/public/platform/WebServiceWorkerEventResult.h",
  "+third_party/WebKit/public/platform/WebServiceWorkerState.h",
  "+third_party/WebKit/public/platform/WebStorageArea.h",
  "+third_party/WebKit/public/platform/WebString.h",
  "+third_party/WebKit/public/platform/linux/WebFontRenderStyle.h",
  "+third_party/WebKit/public/platform/linux/WebFallbackFont.h",
  "+third_party/WebKit/public/web/mac/WebScrollbarTheme.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/WebPageVisibilityState.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"
  ]
}