| include_rules = [ |
| "+base/atomic_sequence_num.h", |
| "+base/files/file.h", |
| "+base/memory/scoped_refptr.h", |
| "+base/synchronization/waitable_event.h", |
| "+base/task/sequence_manager/task_time_observer.h", |
| "+base/unguessable_token.h", |
| "+build/mac", |
| "+build/win", |
| "+cc/animation/animation_curve.h", |
| "+cc/animation/scroll_offset_animations.h", |
| "+cc/animation/scroll_offset_animation_curve.h", |
| "+cc/animation/scroll_state.h", |
| "+cc/base/region.h", |
| "+cc/input/browser_controls_state.h", |
| "+cc/input/event_listener_properties.h", |
| "+cc/input/layer_selection_bound.h", |
| "+cc/input/overscroll_behavior.h", |
| "+cc/input/scrollbar.h", |
| "+cc/input/scroll_state.h", |
| "+cc/layers/content_layer_client.h", |
| "+cc/layers/layer.h", |
| "+cc/layers/layer_position_constraint.h", |
| "+cc/layers/layer_sticky_position_constraint.h", |
| "+cc/layers/picture_layer.h", |
| "+cc/layers/scrollbar_layer_interface.h", |
| "+cc/layers/surface_layer.h", |
| "+cc/paint/display_item_list.h", |
| "+cc/paint/paint_canvas.h", |
| "+cc/paint/paint_flags.h", |
| "+gpu/config/gpu_feature_info.h", |
| "-inspector/v8", |
| "+inspector/v8/public", |
| "+mojo/public/cpp/base", |
| "+mojo/public/cpp/bindings", |
| "+mojo/public/cpp/system", |
| "+services/device/public/mojom/wake_lock.mojom-blink.h", |
| "+services/metrics/public", |
| "+services/network/public/cpp/cors/cors_error_status.h", |
| "+services/network/public/cpp/features.h", |
| "+services/network/public/cpp/shared_url_loader_factory.h", |
| "+services/resource_coordinator/public/cpp/resource_coordinator_features.h", |
| "+services/resource_coordinator/public/mojom/coordination_unit.mojom-blink.h", |
| "+services/service_manager/public", |
| "+services/ws/public/mojom/ime/ime.mojom-shared.h", |
| "+skia/public/interfaces/bitmap_skbitmap_struct_traits.h", |
| "+skia/ext/skia_utils_mac.h", |
| "+third_party/blink/public/common", |
| "+third_party/blink/public/mojom", |
| "+third_party/blink/public/public_buildflags.h", |
| "+third_party/blink/public/web", |
| "+third_party/blink/renderer/bindings/core", |
| "-third_party/blink/renderer/bindings/modules", |
| "+third_party/blink/renderer/core", |
| "-third_party/blink/renderer/modules", |
| "+third_party/skia/include", |
| "+ui/gfx/geometry", |
| "+ui/gfx/skia_util.h", |
| "-web", |
| # We do not want any new dependencies into core/exported until we resolve |
| # controller layer. |
| "!third_party/blink/renderer/core/exported", |
| # We do not want any new dependencies on Web(Local|Remote)FrameBase.h until |
| # we resolve the control layer. |
| "!third_party/blink/renderer/core/frame/web_local_frame_impl.h", |
| "!third_party/blink/renderer/core/frame/web_remote_frame_impl.h", |
| ] |
| |
| specific_include_rules = { |
| # Additional allowed includes for tests. |
| ".*_test(_.*)?\.(cc|h)" : [ |
| "+base/message_loop/message_loop.h", |
| # Test harness may use cc directly instead of going through WebViewImpl etc. |
| "+cc", |
| "+components/ukm/test_ukm_recorder.h", |
| # TODO(crbug.com/838693): Test harnesses use LayerTreeView |
| # from content instead of a fake WebLayerTreeView implementation, so |
| # that the Web abstraction can go away. |
| "+content/renderer/compositor", |
| "+content/test", |
| "+third_party/blink/renderer/core/frame/web_local_frame_impl.h", |
| "+third_party/blink/renderer/core/frame/web_remote_frame_impl.h", |
| "+gin" |
| ], |
| "data_object_item.cc" : [ "+ui/gfx/codec" ], |
| "clipboard_utilities.cc" : [ "+net/base/escape.h" ], |
| "find_in_page.cc" : [ |
| "+third_party/blink/renderer/core/frame/web_local_frame_impl.h", |
| ], |
| "find_task_controller.cc" : [ |
| "+third_party/blink/renderer/core/frame/web_local_frame_impl.h", |
| ], |
| "display_lock_context_test.cc" : [ |
| "+base/run_loop.h" |
| ], |
| } |