Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 77fe71c19861970e2bf84971141db5dc2d5602fa Mon Sep 17 00:00:00 2001
- From: Daniel Bratell <bratell@opera.com>
- Date: Sat, 6 Apr 2013 14:32:17 +0200
- Subject: [PATCH] Scripts, gyp files.
- Removing include paths. Adding a few. Adding paths to generated files.
- -----
- Gyp fix for WebKit include paths.
- Now when webkit has some include paths relative to WebKit/Source code
- including such headers need to put WebKit/Source in the include path.
- Problem was an include of
- "WebKit/Source/Platform/chromium/public/WebVideoFrameProvider.h" that
- now has a: -#include "WebKit/chromium/public/WebVideoFrame.h"
- in it.
- (used to be -#include "WebVideoFrame.h")
- WebKit.gyp: Fix includes.
- Fix includes now when includes have links relative to WebKit/Source.
- Fixing WebCore.gypi that still had a lot of include paths listed.
- ---
- .../Source/Platform/Platform.gyp/Platform.gyp | 25 +-
- .../WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp | 148 +----
- .../scripts/action_derivedsourcesallinone.py | 2 +-
- third_party/WebKit/Source/WebCore/WebCore.gypi | 83 ---
- .../WebCore/bindings/scripts/CodeGeneratorCPP.pm | 2 +-
- .../bindings/scripts/CodeGeneratorGObject.pm | 2 +-
- .../WebCore/bindings/scripts/CodeGeneratorJS.pm | 2 +-
- .../WebCore/bindings/scripts/CodeGeneratorObjC.pm | 2 +-
- .../WebCore/bindings/scripts/CodeGeneratorV8.pm | 306 ++++++---
- .../WebCore/bindings/scripts/InFilesCompiler.pm | 10 +-
- .../Source/WebCore/bindings/scripts/idltopath.pm | 683 +++++++++++++++++++++
- third_party/WebKit/Source/WebCore/css/makeprop.pl | 3 +-
- .../WebKit/Source/WebCore/css/makevalues.pl | 2 +-
- .../Source/WebCore/dom/make_dom_exceptions.pl | 11 +-
- .../Source/WebCore/dom/make_event_factory.pl | 6 +-
- .../WebKit/Source/WebCore/dom/make_names.pl | 58 +-
- .../WebCore/html/parser/create-html-entity-table | 2 +-
- .../inspector/CodeGeneratorInspectorStrings.py | 8 +-
- .../WebKit/Source/WebCore/page/make_settings.pl | 6 +-
- .../WebKit/Source/WebKit/chromium/WebKit.gyp | 2 +-
- webkit/compositor_bindings/compositor_bindings.gyp | 3 +
- 21 files changed, 964 insertions(+), 402 deletions(-)
- create mode 100644 third_party/WebKit/Source/WebCore/bindings/scripts/idltopath.pm
- diff --git a/third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp b/third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp
- index 6e5079c..c82e91e 100644
- --- a/third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp
- +++ b/third_party/WebKit/Source/Platform/Platform.gyp/Platform.gyp
- @@ -43,6 +43,7 @@
- ],
- 'include_dirs': [
- '../chromium',
- + '../..',
- '<(output_dir)',
- ],
- 'defines': [
- @@ -52,22 +53,6 @@
- '<@(platform_files)',
- ],
- 'variables': {
- - # List of headers that are #included in Platform API headers that exist inside
- - # the WebCore directory. These are only included when WEBKIT_IMPLEMENTATION=1.
- - # Since Platform/ can't add WebCore/* to the include path, this build step
- - # copies these headers into the shared intermediate directory and adds that to the include path.
- - # This is temporary, the better solution is to move these headers into the Platform
- - # directory for all ports and just use them as normal.
- - 'webcore_headers': [
- - '../../WebCore/platform/graphics/FloatPoint.h',
- - '../../WebCore/platform/graphics/FloatPoint3D.h',
- - '../../WebCore/platform/graphics/FloatQuad.h',
- - '../../WebCore/platform/graphics/FloatRect.h',
- - '../../WebCore/platform/graphics/FloatSize.h',
- - '../../WebCore/platform/graphics/IntPoint.h',
- - '../../WebCore/platform/graphics/IntRect.h',
- - '../../WebCore/platform/graphics/IntSize.h',
- - ],
- 'output_dir': '<(SHARED_INTERMEDIATE_DIR)/webcore_headers'
- },
- 'direct_dependent_settings': {
- @@ -91,14 +76,6 @@
- 'msvs_disabled_warnings': [4267, ],
- }],
- ],
- - 'copies': [
- - {
- - 'destination': '<(output_dir)',
- - 'files': [
- - '<@(webcore_headers)'
- - ]
- - }
- - ]
- }
- ]
- }
- diff --git a/third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp b/third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp
- index 150bdbe..3fe19f2 100644
- --- a/third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp
- +++ b/third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp
- @@ -51,111 +51,6 @@
- 'webcore_include_dirs': [
- '../',
- '../..',
- - '../Modules/battery',
- - '../Modules/filesystem',
- - '../Modules/filesystem/chromium',
- - '../Modules/gamepad',
- - '../Modules/geolocation',
- - '../Modules/indexeddb',
- - '../Modules/indexeddb/chromium',
- - '../Modules/mediasource',
- - '../Modules/mediastream',
- - '../Modules/navigatorcontentutils',
- - '../Modules/notifications',
- - '../Modules/proximity',
- - '../Modules/quota',
- - '../Modules/speech',
- - '../Modules/webaudio',
- - '../Modules/webdatabase',
- - '../Modules/webdatabase/chromium',
- - '../Modules/websockets',
- - '../accessibility',
- - '../accessibility/chromium',
- - '../bindings',
- - '../bindings/generic',
- - '../bindings/v8',
- - '../bindings/v8/custom',
- - '../bridge',
- - '../bridge/jni',
- - '../bridge/jni/v8',
- - '../css',
- - '../dom',
- - '../dom/default',
- - '../dom/default/chromium',
- - '../editing',
- - '../fileapi',
- - '../history',
- - '../html',
- - '../html/canvas',
- - '../html/parser',
- - '../html/shadow',
- - '../html/track',
- - '../inspector',
- - '../loader',
- - '../loader/appcache',
- - '../loader/archive',
- - '../loader/archive/cf',
- - '../loader/archive/mhtml',
- - '../loader/cache',
- - '../loader/icon',
- - '../mathml',
- - '../page',
- - '../page/animation',
- - '../page/chromium',
- - '../page/scrolling',
- - '../page/scrolling/chromium',
- - '../platform',
- - '../platform/animation',
- - '../platform/audio',
- - '../platform/audio/chromium',
- - '../platform/chromium',
- - '../platform/chromium/support',
- - '../platform/graphics',
- - '../platform/graphics/chromium',
- - '../platform/graphics/chromium/cc',
- - '../platform/graphics/cpu/arm',
- - '../platform/graphics/cpu/arm/filters',
- - '../platform/graphics/filters',
- - '../platform/graphics/filters/skia',
- - '../platform/graphics/gpu',
- - '../platform/graphics/opentype',
- - '../platform/graphics/skia',
- - '../platform/graphics/transforms',
- - '../platform/image-decoders',
- - '../platform/image-decoders/bmp',
- - '../platform/image-decoders/gif',
- - '../platform/image-decoders/ico',
- - '../platform/image-decoders/jpeg',
- - '../platform/image-decoders/png',
- - '../platform/image-decoders/skia',
- - '../platform/image-decoders/webp',
- - '../platform/image-encoders/skia',
- - '../platform/leveldb',
- - '../platform/mediastream',
- - '../platform/mediastream/chromium',
- - '../platform/mock',
- - '../platform/network',
- - '../platform/network/chromium',
- - '../platform/sql',
- - '../platform/text',
- - '../platform/text/transcoder',
- - '../plugins',
- - '../plugins/chromium',
- - '../rendering',
- - '../rendering/mathml',
- - '../rendering/style',
- - '../rendering/svg',
- - '../storage',
- - '../svg',
- - '../svg/animation',
- - '../svg/graphics',
- - '../svg/graphics/filters',
- - '../svg/properties',
- - '../../ThirdParty/glu',
- - '../workers',
- - '../workers/chromium',
- - '../xml',
- - '../xml/parser',
- ],
- 'bindings_idl_files': [
- @@ -200,32 +95,7 @@
- '<@(webcore_svg_bindings_idl_files)',
- ],
- }],
- - ['OS=="mac"', {
- - 'webcore_include_dirs': [
- - # FIXME: Eliminate dependency on platform/mac and related
- - # directories.
- - # FIXME: Eliminate dependency on platform/graphics/mac and
- - # related directories.
- - # platform/graphics/cg may need to stick around, though.
- - '../platform/audio/mac',
- - '../platform/cocoa',
- - '../platform/graphics/cg',
- - '../platform/graphics/cocoa',
- - '../platform/graphics/mac',
- - '../platform/mac',
- - '../platform/text/mac',
- - '../platform/graphics/harfbuzz',
- - '../platform/graphics/harfbuzz/ng',
- - ],
- - }],
- ['OS=="win"', {
- - 'webcore_include_dirs': [
- - '../page/win',
- - '../platform/audio/win',
- - '../platform/graphics/win',
- - '../platform/text/win',
- - '../platform/win',
- - ],
- # Using native perl rather than cygwin perl cuts execution time of idl
- # preprocessing rules by a bit more than 50%.
- 'perl_exe': '<(DEPTH)/third_party/perl/perl/bin/perl.exe',
- @@ -246,12 +116,6 @@
- # FIXME: /usr/bin/gcc won't exist on OSX forever. We want to use /usr/bin/clang once we require Xcode 4.x.
- 'preprocessor': '--preprocessor "/usr/bin/gcc -E -P -x c++"'
- }],
- - ['use_x11==1 or OS=="android" or linux_embedded==1', {
- - 'webcore_include_dirs': [
- - '../platform/graphics/harfbuzz',
- - '../platform/graphics/harfbuzz/ng',
- - ],
- - }],
- ['OS=="win" and buildtype=="Official"', {
- # On windows official release builds, we try to preserve symbol space.
- 'derived_sources_aggregate_files': [
- @@ -1168,6 +1032,7 @@
- '../bindings/scripts/IDLParser.pm',
- '../bindings/scripts/IDLAttributes.txt',
- '../bindings/scripts/preprocessor.pm',
- + '../bindings/scripts/idltopath.pm',
- '<!@pymod_do_main(supplemental_idl_files <@(bindings_idl_files))',
- ],
- 'outputs': [
- @@ -1342,12 +1207,6 @@
- 'WEBCORE_NAVIGATOR_PLATFORM="Win32"',
- '__PRETTY_FUNCTION__=__FUNCTION__',
- ],
- - # This is needed because Event.h in this directory is blocked
- - # by a system header on windows.
- - 'include_dirs++': ['../dom'],
- - 'direct_dependent_settings': {
- - 'include_dirs+++': ['../dom'],
- - },
- # In generated bindings code: 'switch contains default but no case'.
- # Disable c4267 warnings until we fix size_t to int truncations.
- 'msvs_disabled_warnings': [ 4065, 4267 ],
- @@ -2225,11 +2084,6 @@
- ],
- },
- }],
- - ['OS=="win"', {
- - 'direct_dependent_settings': {
- - 'include_dirs+++': ['../dom'],
- - },
- - }],
- ['OS=="linux" and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', {
- 'link_settings': {
- 'ldflags': [
- diff --git a/third_party/WebKit/Source/WebCore/WebCore.gyp/scripts/action_derivedsourcesallinone.py b/third_party/WebKit/Source/WebCore/WebCore.gyp/scripts/action_derivedsourcesallinone.py
- index bac8081..365f753 100644
- --- a/third_party/WebKit/Source/WebCore/WebCore.gyp/scripts/action_derivedsourcesallinone.py
- +++ b/third_party/WebKit/Source/WebCore/WebCore.gyp/scripts/action_derivedsourcesallinone.py
- @@ -54,7 +54,7 @@ conditionalPattern = re.compile('interface[\s]*\[[^\]]*Conditional=([\_0-9a-zA-Z
- copyrightTemplate = """/*
- * THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT.
- *
- - * This file was generated by the make_jni_lists.py script.
- + * This file was generated by the action_derivedsourcesallinone.py/make_jni_lists.py script.
- *
- * Copyright (C) 2009 Google Inc. All rights reserved.
- *
- diff --git a/third_party/WebKit/Source/WebCore/WebCore.gypi b/third_party/WebKit/Source/WebCore/WebCore.gypi
- index 54ffa1f..711628b 100644
- --- a/third_party/WebKit/Source/WebCore/WebCore.gypi
- +++ b/third_party/WebKit/Source/WebCore/WebCore.gypi
- @@ -4,89 +4,6 @@
- 'webcore_include_dirs': [
- '.',
- '..',
- - 'Modules/battery',
- - 'Modules/filesystem',
- - 'Modules/gamepad',
- - 'Modules/geolocation',
- - 'Modules/indexeddb',
- - 'Modules/mediasource',
- - 'Modules/mediastream',
- - 'Modules/navigatorcontentutils',
- - 'Modules/notifications',
- - 'Modules/proximity',
- - 'Modules/quota',
- - 'Modules/speech',
- - 'Modules/webaudio',
- - 'Modules/webdatabase',
- - 'Modules/websockets',
- - 'accessibility',
- - 'bindings',
- - 'bindings/generic',
- - 'bridge',
- - 'bridge/jni',
- - 'css',
- - 'dom',
- - 'dom/default',
- - 'editing',
- - 'fileapi',
- - 'history',
- - 'html',
- - 'html/canvas',
- - 'html/parser',
- - 'html/shadow',
- - 'html/track',
- - 'inspector',
- - 'loader',
- - 'loader/appcache',
- - 'loader/archive',
- - 'loader/archive/cf',
- - 'loader/archive/mhtml',
- - 'loader/cache',
- - 'loader/icon',
- - 'mathml',
- - 'page',
- - 'page/animation',
- - 'page/scrolling',
- - 'platform',
- - 'platform/animation',
- - 'platform/audio',
- - 'platform/graphics',
- - 'platform/graphics/cpu/arm',
- - 'platform/graphics/cpu/arm/filters',
- - 'platform/graphics/filters',
- - 'platform/graphics/gpu',
- - 'platform/graphics/opentype',
- - 'platform/graphics/transforms',
- - 'platform/image-decoders',
- - 'platform/image-decoders/bmp',
- - 'platform/image-decoders/gif',
- - 'platform/image-decoders/ico',
- - 'platform/image-decoders/jpeg',
- - 'platform/image-decoders/png',
- - 'platform/image-decoders/skia',
- - 'platform/image-decoders/webp',
- - 'platform/image-encoders/skia',
- - 'platform/leveldb',
- - 'platform/mediastream',
- - 'platform/mock',
- - 'platform/network',
- - 'platform/sql',
- - 'platform/text',
- - 'platform/text/transcoder',
- - 'plugins',
- - 'rendering',
- - 'rendering/mathml',
- - 'rendering/style',
- - 'rendering/svg',
- - 'storage',
- - 'svg',
- - 'svg/animation',
- - 'svg/graphics',
- - 'svg/graphics/filters',
- - 'svg/properties',
- - 'workers',
- - 'xml',
- - 'xml/parser',
- ],
- 'webcore_bindings_idl_files': [
- 'Modules/battery/BatteryManager.idl',
- diff --git a/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm b/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm
- index ca0a964..f3fa021 100644
- --- a/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm
- +++ b/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorCPP.pm
- @@ -69,7 +69,7 @@ EOF
- my $implementationLicenseTemplate = << "EOF";
- /*
- * This file is part of the WebKit open source project.
- - * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- + * This file has been generated by generate-bindings.pl/CodeGeneratorCPP.pm. DO NOT MODIFY!
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- diff --git a/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm b/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm
- index 06cfaa3..848f6a2 100644
- --- a/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm
- +++ b/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm
- @@ -50,7 +50,7 @@ sub new {
- my $licenceTemplate = << "EOF";
- /*
- This file is part of the WebKit open source project.
- - This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- + This file has been generated by generate-bindings.pl/CodeGeneratorGObject.pm. DO NOT MODIFY!
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- diff --git a/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm b/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
- index 6adc988..94da381 100644
- --- a/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
- +++ b/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
- @@ -51,7 +51,7 @@ my $currentCachedAttribute = 0;
- my $headerTemplate = << "EOF";
- /*
- This file is part of the WebKit open source project.
- - This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- + This file has been generated by generate-bindings.pl/CodeGeneratorJS.pm. DO NOT MODIFY!
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- diff --git a/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm b/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm
- index 2950a2a..80afc9a 100644
- --- a/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm
- +++ b/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm
- @@ -162,7 +162,7 @@ EOF
- my $implementationLicenseTemplate = << "EOF";
- /*
- * This file is part of the WebKit open source project.
- - * This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- + * This file has been generated by generate-bindings.pl/CodeGeneratorObjC.pm. DO NOT MODIFY!
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- diff --git a/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm b/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
- index 19fb966..696eed3 100644
- --- a/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
- +++ b/third_party/WebKit/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
- @@ -31,6 +31,8 @@ use strict;
- use constant FileNamePrefix => "V8";
- +use idltopath;
- +
- my $codeGenerator;
- @@ -45,7 +47,7 @@ my %headerIncludes = ();
- my $headerTemplate = << "EOF";
- /*
- This file is part of the WebKit open source project.
- - This file has been generated by generate-bindings.pl. DO NOT MODIFY!
- + This file has been generated by generate-bindings.pl/CodeGeneratorV8.pm. DO NOT MODIFY!
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- @@ -124,21 +126,21 @@ sub AddIncludesForType
- }
- if (!$codeGenerator->IsPrimitiveType($type) and !$codeGenerator->IsStringType($type) and !$codeGenerator->SkipIncludeHeader($type) and $type ne "Date") {
- # default, include the same named file
- - AddToImplIncludes(GetV8HeaderName(${type}));
- + AddToImplIncludes("./././" . GetV8HeaderName(${type}));
- if ($type =~ /SVGPathSeg/) {
- my $joinedName = $type;
- $joinedName =~ s/Abs|Rel//;
- - AddToImplIncludes("${joinedName}.h");
- + AddToImplIncludes("WebCore/svg/${joinedName}.h");
- }
- }
- # additional includes (things needed to compile the bindings but not the header)
- if ($type eq "CanvasRenderingContext2D") {
- - AddToImplIncludes("CanvasGradient.h");
- - AddToImplIncludes("CanvasPattern.h");
- - AddToImplIncludes("CanvasStyle.h");
- + AddToImplIncludes("WebCore/html/canvas/CanvasGradient.h");
- + AddToImplIncludes("WebCore/html/canvas/CanvasPattern.h");
- + AddToImplIncludes("WebCore/html/canvas/CanvasStyle.h");
- }
- if ($type eq "CanvasGradient" or $type eq "XPathNSResolver") {
- @@ -146,11 +148,11 @@ sub AddIncludesForType
- }
- if ($type eq "CSSStyleSheet" or $type eq "StyleSheet") {
- - AddToImplIncludes("CSSImportRule.h");
- + AddToImplIncludes("WebCore/css/CSSImportRule.h");
- }
- if ($type eq "CSSStyleDeclaration") {
- - AddToImplIncludes("StylePropertySet.h");
- + AddToImplIncludes("WebCore/css/StylePropertySet.h");
- }
- if ($type eq "Plugin" or $type eq "PluginArray" or $type eq "MimeTypeArray") {
- @@ -197,7 +199,7 @@ END
- GetGenerateIsReachable($interface) eq "ImplOwnerRoot" ||
- GetGenerateIsReachable($interface) eq "ImplOwnerNodeRoot") {
- - $implIncludes{"V8GCController.h"} = 1;
- + $implIncludes{"WebCore/bindings/v8/V8GCController.h"} = 1;
- my $methodName;
- $methodName = "document" if (GetGenerateIsReachable($interface) eq "ImplDocument");
- @@ -237,18 +239,18 @@ sub GetSVGPropertyTypes
- my $svgWrappedNativeType = $codeGenerator->GetSVGWrappedTypeNeedingTearOff($implType);
- if ($svgNativeType =~ /SVGPropertyTearOff/) {
- $svgPropertyType = $svgWrappedNativeType;
- - AddToImplIncludes("SVGAnimatedPropertyTearOff.h");
- + AddToImplIncludes("WebCore/svg/properties/SVGAnimatedPropertyTearOff.h");
- } elsif ($svgNativeType =~ /SVGListPropertyTearOff/ or $svgNativeType =~ /SVGStaticListPropertyTearOff/) {
- $svgListPropertyType = $svgWrappedNativeType;
- - $headerIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
- - $headerIncludes{"SVGStaticListPropertyTearOff.h"} = 1;
- + $headerIncludes{"WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h"} = 1;
- + $headerIncludes{"WebCore/svg/properties/SVGStaticListPropertyTearOff.h"} = 1;
- } elsif ($svgNativeType =~ /SVGTransformListPropertyTearOff/) {
- $svgListPropertyType = $svgWrappedNativeType;
- - $headerIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
- - $headerIncludes{"SVGTransformListPropertyTearOff.h"} = 1;
- + $headerIncludes{"WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h"} = 1;
- + $headerIncludes{"WebCore/svg/properties/SVGTransformListPropertyTearOff.h"} = 1;
- } elsif ($svgNativeType =~ /SVGPathSegListPropertyTearOff/) {
- $svgListPropertyType = $svgWrappedNativeType;
- - $headerIncludes{"SVGPathSegListPropertyTearOff.h"} = 1;
- + $headerIncludes{"WebCore/svg/properties/SVGPathSegListPropertyTearOff.h"} = 1;
- }
- if ($svgPropertyType) {
- @@ -286,9 +288,9 @@ sub GenerateHeader
- push(@headerContent, GenerateHeaderContentHeader($interface));
- $headerIncludes{"wtf/text/StringHash.h"} = 1;
- - $headerIncludes{"WrapperTypeInfo.h"} = 1;
- - $headerIncludes{"V8Binding.h"} = 1;
- - $headerIncludes{"V8DOMWrapper.h"} = 1;
- + $headerIncludes{"WebCore/bindings/v8/WrapperTypeInfo.h"} = 1;
- + $headerIncludes{"WebCore/bindings/v8/V8Binding.h"} = 1;
- + $headerIncludes{"WebCore/bindings/v8/V8DOMWrapper.h"} = 1;
- $headerIncludes{"wtf/HashMap.h"} = 1;
- $headerIncludes{"v8.h"} = 1;
- @@ -299,9 +301,9 @@ sub GenerateHeader
- foreach my $headerInclude (sort keys(%headerIncludes)) {
- if ($headerInclude =~ /wtf|v8\.h/) {
- - push(@headerContent, "#include \<${headerInclude}\>\n");
- + push(@headerContent, "#include \<${headerInclude}\> // fixmebratell43\n");
- } else {
- - push(@headerContent, "#include \"${headerInclude}\"\n");
- + push(@headerContent, "#include \"${headerInclude}\" // fixmebratell44\n");
- }
- }
- @@ -619,6 +621,95 @@ sub GetInternalFields
- return @customInternalFields;
- }
- +sub mapInterfaceToIncludePath
- +{
- + my $interface = shift;
- +
- + return idl_to_path($interface);
- +
- + return "WebCore/svg/" if ($interface =~ /^SVG/);
- + return "WebCore/css/" if ($interface =~ /^CSS/);
- + return "WebCore/css/" if ($interface =~ /^WebKitCSS/);
- + return "WebCore/html/canvas/" if ($interface =~ /^Canvas/);
- + return "WebCore/html/canvas/" if ($interface =~ /^DOMPath/);
- + return "WebCore/html/canvas/" if ($interface =~ /^WebGL/);
- + return "WebCore/html/canvas/" if ($interface =~ /^Uint/);
- + return "WebCore/html/canvas/" if ($interface =~ /^Float/);
- + return "WebCore/html/canvas/" if ($interface =~ /^OES/);
- + return "WebCore/html/track/" if ($interface =~ /^Track/);
- + return "WebCore/html/track/" if ($interface =~ /^TextTrack/);
- + return "WebCore/html/" if ($interface =~ /^HTML.*Element/);
- + return "WebCore/html/" if ($interface =~ /^ImageData/);
- + return "WebCore/html/" if ($interface =~ /^TextMetrics/);
- + return "WebCore/html/" if ($interface =~ /^Validity/);
- + return "WebCore/dom/" if ($interface =~ /^Node/);
- + return "WebCore/dom/" if ($interface =~ /^Event/);
- + return "WebCore/dom/" if ($interface =~ /^Attr/);
- + return "WebCore/dom/" if ($interface =~ /^Element/);
- + return "WebCore/dom/" if ($interface =~ /^Document/);
- + return "WebCore/dom/" if ($interface =~ /^CharacterData/);
- + return "WebCore/dom/" if ($interface =~ /^Text$/);
- + return "WebCore/dom/" if ($interface =~ /^CDATA$/);
- + return "WebCore/dom/" if ($interface =~ /^ClientRect/);
- + return "WebCore/dom/" if ($interface =~ /^DOMImplmementation/);
- + return "WebCore/dom/" if ($interface =~ /^Clipboard/);
- + return "WebCore/dom/" if ($interface =~ /^WebKitNamedFlow/);
- + return "WebCore/dom/" if ($interface =~ /^Mutation/);
- + return "WebCore/Modules/encryptedmedia/" if ($interface =~ /^MediaKey/);
- + return "WebCore/Modules/notifications/" if ($interface =~ /^Notification/);
- + return "WebCore/Modules/geolocation/" if ($interface =~ /^Position/);
- + return "WebCore/Modules/mediastream/" if ($interface =~ /^MediaStream/);
- + return "WebCore/Modules/mediastream/" if ($interface =~ /^NavigatorUser/);
- + return "WebCore/Modules/mediastream/" if ($interface =~ /^RTC/);
- + return "WebCore/Modules/mediasource/" if ($interface =~ /^MediaSource/);
- + return "WebCore/Modules/mediasource/" if ($interface =~ /^SourceBuffer/);
- + return "WebCore/Modules/speech/" if ($interface =~ /^Speech/);
- + return "WebCore/Modules/quota/" if ($interface =~ /^StorageInfo/);
- + return "WebCore/storage/" if ($interface =~ /^Storage/);
- + return "WebCore/Modules/webaudio/" if ($interface =~ /Audio/);
- + return "WebCore/Modules/webaudio/" if ($interface =~ /^Analyser/);
- + return "WebCore/Modules/webaudio/" if ($interface =~ /^Biquad/);
- + return "WebCore/Modules/webaudio/" if ($interface =~ /^Channel/);
- + return "WebCore/Modules/webaudio/" if ($interface =~ /^Convolver/);
- + return "WebCore/Modules/webaudio/" if ($interface =~ /^Offline/);
- + return "WebCore/Modules/webaudio/" if ($interface =~ /Wave/);
- + return "WebCore/page/" if ($interface =~ /^Crypto/);
- + return "WebCore/page/" if ($interface =~ /^BarInfo/);
- + return "WebCore/page/" if ($interface =~ /^DOMWindow/);
- + return "WebCore/page/" if ($interface =~ /^Feature/);
- + return "WebCore/page/" if ($interface =~ /^Console/);
- + return "WebCore/page/" if ($interface =~ /^Performance/);
- + return "WebCore/plugins/" if ($interface =~ /^DOMMimeType/);
- + return "WebCore/css/" if ($interface =~ /^Media/);
- + return "WebCore/css/" if ($interface =~ /^Counter/);
- + return "WebCore/css/" if ($interface =~ /^RGBColor/);
- + return "WebCore/dom/" if ($interface =~ /^AutocompleteErrorEvent/);
- + return "WebCore/dom/" if ($interface =~ /^CustomElement/);
- + return "WebCore/xml/" if ($interface =~ /^DOMParser/);
- + return "WebCore/xml/" if ($interface =~ /^XML/);
- + return "WebCore/xml/" if ($interface =~ /^XPath/);
- + return "WebCore/xml/" if ($interface =~ /^XSLT/);
- + return "WebCore/Modules/filesystem/" if ($interface =~ /^Metadata/);
- + return "WebCore/Modules/filesystem/" if ($interface =~ /^Entry/);
- + return "WebCore/Modules/filesystem/" if ($interface =~ /^DOMFileSystem/);
- + return "WebCore/Modules/filesystem/" if ($interface =~ /^DOMWindowFileSystem/);
- + return "WebCore/Modules/filesystem/" if ($interface =~ /^DataTransferItemFileSystem/);
- + return "WebCore/Modules/filesystem/" if ($interface =~ /^FileEntry/);
- + return "WebCore/fileapi/" if ($interface =~ /^Blob/);
- + return "WebCore/fileapi/" if ($interface =~ /^File/);
- + return "WebCore/Modules/websockets/" if ($interface =~ /^CloseEvent/);
- + return "WebCore/Modules/webdatabase/" if ($interface =~ /^Database/);
- + return "WebCore/Modules/indexeddb/" if ($interface =~ /^IDB/);
- + return "WebCore/loader/appcache/" if ($interface =~ /ApplicationCache/);
- + return "WebCore/workers/" if ($interface =~ /Worker/);
- + return "WebCore/dom/" if ($interface =~ /^DataTransfer/);
- + return "WebCore/bindings/scripts/test/" if ($interface =~ /^Text/);
- + return "WebCore/dom/" if ($interface =~ /Event$/);
- + return "WebCore/dom/" if ($interface =~ /^DOM/);
- +# return "WebKit/win/" if ($interface =~ /^IWeb/);
- + return "fixmebratell46/";
- +}
- +
- sub GetHeaderClassInclude
- {
- my $v8InterfaceName = shift;
- @@ -627,7 +718,8 @@ sub GetHeaderClassInclude
- }
- return "wtf/${v8InterfaceName}.h" if $codeGenerator->IsTypedArrayType($v8InterfaceName);
- return "" if ($codeGenerator->SkipIncludeHeader($v8InterfaceName));
- - return "${v8InterfaceName}.h";
- + my $interfacepath = mapInterfaceToIncludePath($v8InterfaceName);
- + return "${interfacepath}${v8InterfaceName}.h";
- }
- sub GenerateHeaderCustomInternalFieldIndices
- @@ -788,7 +880,7 @@ sub GenerateDomainSafeFunctionGetter
- my $newTemplateString = "v8::FunctionTemplate::New(${interfaceName}V8Internal::${funcName}MethodCallback, v8Undefined(), $signature)";
- - AddToImplIncludes("Frame.h");
- + AddToImplIncludes("WebCore/page/Frame.h");
- push(@implContentInternals, <<END);
- static v8::Handle<v8::Value> ${funcName}AttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
- {
- @@ -864,7 +956,7 @@ sub GenerateFeatureObservation
- my $measureAs = shift;
- if ($measureAs) {
- - AddToImplIncludes("FeatureObserver.h");
- + AddToImplIncludes("WebCore/page/FeatureObserver.h");
- return " FeatureObserver::observe(activeDOMWindow(BindingState::instance()), FeatureObserver::${measureAs});\n";
- }
- @@ -960,7 +1052,7 @@ END
- my $url = $attribute->signature->extendedAttributes->{"URL"};
- if ($getterStringUsesImp && $reflect && !$url && $codeGenerator->InheritsInterface($interface, "Node") && $codeGenerator->IsStringType($attrType)) {
- # Generate super-compact call for regular attribute getter:
- - my ($functionName, @arguments) = $codeGenerator->GetterExpression(\%implIncludes, $interfaceName, $attribute);
- + my ($functionName, @arguments) = $codeGenerator->GetterExpression(\%implIncludes, $interfaceName, $attribute); # Take a look at this fixmebratell
- push(@implContentInternals, " Element* imp = V8Element::toNative(info.Holder());\n");
- push(@implContentInternals, " return v8String(imp->${functionName}(" . join(", ", @arguments) . "), info.GetIsolate(), ReturnUnsafeHandle);\n");
- push(@implContentInternals, "}\n\n");
- @@ -990,7 +1082,7 @@ END
- my $useExceptions = 1 if @{$attribute->getterExceptions};
- if ($useExceptions) {
- - AddToImplIncludes("ExceptionCode.h");
- + AddToImplIncludes("WebCore/dom/ExceptionCode.h");
- push(@implContentInternals, " ExceptionCode ec = 0;\n");
- }
- @@ -1002,7 +1094,8 @@ END
- push(@arguments, "ec") if $useExceptions;
- if ($attribute->signature->extendedAttributes->{"ImplementedBy"}) {
- my $implementedBy = $attribute->signature->extendedAttributes->{"ImplementedBy"};
- - AddToImplIncludes("${implementedBy}.h");
- + my $implementedByPath = idl_to_path($implementedBy);
- + AddToImplIncludes("./${implementedByPath}${implementedBy}.h");
- unshift(@arguments, "imp") if !$attribute->isStatic;
- $functionName = "${implementedBy}::${functionName}";
- } elsif ($attribute->isStatic) {
- @@ -1057,8 +1150,8 @@ END
- my $arrayType = $codeGenerator->GetArrayType($returnType);
- if ($arrayType) {
- if (!$codeGenerator->SkipIncludeHeader($arrayType)) {
- - AddToImplIncludes("V8$arrayType.h");
- - AddToImplIncludes("$arrayType.h");
- + AddToImplIncludes("././././././V8$arrayType.h");
- + AddToImplIncludes("WebCore/./bindings/v8/$arrayType.h");
- }
- push(@implContentInternals, " return v8Array(${getterString}, info.GetIsolate());\n");
- push(@implContentInternals, "}\n\n");
- @@ -1082,13 +1175,13 @@ END
- }
- if (($codeGenerator->IsSVGAnimatedType($interfaceName) or $interfaceName eq "SVGViewSpec") and $codeGenerator->IsSVGTypeNeedingTearOff($attrType)) {
- - AddToImplIncludes("V8$attrType.h");
- + AddToImplIncludes("./././././././V8$attrType.h");
- my $svgNativeType = $codeGenerator->GetSVGTypeNeedingTearOff($attrType);
- # Convert from abstract SVGProperty to real type, so the right toJS() method can be invoked.
- push(@implContentInternals, " return toV8Fast(static_cast<$svgNativeType*>($result), info, imp);\n");
- } elsif ($codeGenerator->IsSVGTypeNeedingTearOff($attrType) and not $interfaceName =~ /List$/) {
- - AddToImplIncludes("V8$attrType.h");
- - AddToImplIncludes("SVGPropertyTearOff.h");
- + AddToImplIncludes("././././././././V8$attrType.h");
- + AddToImplIncludes("WebCore/svg/properties/SVGPropertyTearOff.h");
- my $tearOffType = $codeGenerator->GetSVGTypeNeedingTearOff($attrType);
- my $wrappedValue;
- if ($codeGenerator->IsSVGTypeWithWritablePropertiesNeedingTearOff($attrType) and not defined $attribute->signature->extendedAttributes->{"Immutable"}) {
- @@ -1100,7 +1193,7 @@ END
- my $selfIsTearOffType = $codeGenerator->IsSVGTypeNeedingTearOff($interfaceName);
- if ($selfIsTearOffType) {
- - AddToImplIncludes("SVGStaticPropertyWithParentTearOff.h");
- + AddToImplIncludes("WebCore/svg/properties/SVGStaticPropertyWithParentTearOff.h");
- $tearOffType =~ s/SVGPropertyTearOff</SVGStaticPropertyWithParentTearOff<$interfaceName, /;
- if ($result =~ /matrix/ and $interfaceName eq "SVGTransform") {
- @@ -1111,7 +1204,7 @@ END
- $wrappedValue = "WTF::getPtr(${tearOffType}::create(wrapper, $result, $updateMethod))";
- } else {
- - AddToImplIncludes("SVGStaticPropertyTearOff.h");
- + AddToImplIncludes("WebCore/svg/properties/SVGStaticPropertyTearOff.h");
- $tearOffType =~ s/SVGPropertyTearOff</SVGStaticPropertyTearOff<$interfaceName, /;
- $wrappedValue = "WTF::getPtr(${tearOffType}::create(imp, $result, $updateMethod))";
- @@ -1125,8 +1218,8 @@ END
- }
- push(@implContentInternals, " return toV8Fast($wrappedValue, info, imp);\n");
- } elsif ($attribute->signature->type eq "MessagePortArray") {
- - AddToImplIncludes("MessagePort.h");
- - AddToImplIncludes("V8MessagePort.h");
- + AddToImplIncludes("././././././././././MessagePort.h");
- + AddToImplIncludes("././././././././././V8MessagePort.h");
- my $getterFunc = $codeGenerator->WK_lcfirst($attribute->signature->name);
- push(@implContentInternals, <<END);
- MessagePortArray* ports = imp->${getterFunc}();
- @@ -1176,7 +1269,7 @@ static void ${interfaceName}ReplaceableAttrSetter(v8::Local<v8::String> name, v8
- {
- END
- if ($interface->extendedAttributes->{"CheckSecurity"}) {
- - AddToImplIncludes("Frame.h");
- + AddToImplIncludes("WebCore/page/Frame.h");
- push(@implContentInternals, <<END);
- ${interfaceName}* imp = V8${interfaceName}::toNative(info.Holder());
- if (!BindingSecurity::shouldAllowAccessToFrame(BindingState::instance(), imp->frame()))
- @@ -1259,7 +1352,7 @@ sub GenerateNormalAttrSetter
- $svgNativeType* imp = ${v8InterfaceName}::toNative(info.Holder());
- END
- } else {
- - AddToImplIncludes("ExceptionCode.h");
- + AddToImplIncludes("WebCore/dom/ExceptionCode.h");
- push(@implContentInternals, " $svgNativeType* wrapper = ${v8InterfaceName}::toNative(info.Holder());\n");
- push(@implContentInternals, " if (wrapper->isReadOnly()) {\n");
- push(@implContentInternals, " setDOMException(NO_MODIFICATION_ALLOWED_ERR, info.GetIsolate());\n");
- @@ -1278,7 +1371,7 @@ END
- # Generate super-compact call for regular attribute setter:
- my $contentAttributeName = $reflect eq "VALUE_IS_MISSING" ? lc $attrName : $reflect;
- my $namespace = $codeGenerator->NamespaceForAttributeName($interfaceName, $contentAttributeName);
- - AddToImplIncludes("${namespace}.h");
- + AddToImplIncludes("./././././././././././${namespace}.h");
- push(@implContentInternals, " Element* imp = V8Element::toNative(info.Holder());\n");
- push(@implContentInternals, " V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, stringResource, value);\n");
- push(@implContentInternals, " imp->setAttribute(${namespace}::${contentAttributeName}Attr, stringResource);\n");
- @@ -1338,7 +1431,7 @@ END
- my $useExceptions = 1 if @{$attribute->setterExceptions};
- if ($useExceptions) {
- - AddToImplIncludes("ExceptionCode.h");
- + AddToImplIncludes("WebCore/dom/ExceptionCode.h");
- push(@implContentInternals, " ExceptionCode ec = 0;\n");
- }
- @@ -1347,16 +1440,16 @@ END
- } else {
- if ($attribute->signature->type eq "EventListener") {
- my $implSetterFunctionName = $codeGenerator->WK_ucfirst($attrName);
- - AddToImplIncludes("V8AbstractEventListener.h");
- + AddToImplIncludes("WebCore/bindings/v8/V8AbstractEventListener.h");
- if (!$codeGenerator->InheritsInterface($interface, "Node")) {
- push(@implContentInternals, " transferHiddenDependency(info.Holder(), imp->$attrName(), value, ${v8InterfaceName}::eventListenerCacheIndex, info.GetIsolate());\n");
- }
- - AddToImplIncludes("V8EventListenerList.h");
- + AddToImplIncludes("WebCore/bindings/v8/V8EventListenerList.h");
- if ($interfaceName eq "WorkerContext" and $attribute->signature->name eq "onerror") {
- - AddToImplIncludes("V8WorkerContextErrorHandler.h");
- + AddToImplIncludes("WebCore/bindings/v8/V8WorkerContextErrorHandler.h");
- push(@implContentInternals, " imp->set$implSetterFunctionName(V8EventListenerList::findOrCreateWrapper<V8WorkerContextErrorHandler>(value, true)");
- } elsif ($interfaceName eq "DOMWindow" and $attribute->signature->name eq "onerror") {
- - AddToImplIncludes("V8WindowErrorHandler.h");
- + AddToImplIncludes("WebCore/bindings/v8/V8WindowErrorHandler.h");
- push(@implContentInternals, " imp->set$implSetterFunctionName(V8EventListenerList::findOrCreateWrapper<V8WindowErrorHandler>(value, true)");
- } else {
- push(@implContentInternals, " imp->set$implSetterFunctionName(V8EventListenerList::getEventListener(value, true, ListenerFindOrCreate)");
- @@ -1369,7 +1462,8 @@ END
- push(@arguments, "ec") if $useExceptions;
- if ($attribute->signature->extendedAttributes->{"ImplementedBy"}) {
- my $implementedBy = $attribute->signature->extendedAttributes->{"ImplementedBy"};
- - AddToImplIncludes("${implementedBy}.h");
- + my $implementedByPath = idl_to_path($implementedBy);
- + AddToImplIncludes("./././././././././././././${implementedByPath}${implementedBy}.h");
- unshift(@arguments, "imp") if !$attribute->isStatic;
- $functionName = "${implementedBy}::${functionName}";
- } elsif ($attribute->isStatic) {
- @@ -1577,7 +1671,7 @@ sub GenerateFunction
- my $passRefPtrHandling = ($name eq "addEventListener") ? "" : ".get()";
- my $hiddenDependencyAction = ($name eq "addEventListener") ? "create" : "remove";
- - AddToImplIncludes("V8EventListenerList.h");
- + AddToImplIncludes("WebCore/bindings/v8/V8EventListenerList.h");
- push(@implContentInternals, <<END);
- RefPtr<EventListener> listener = V8EventListenerList::getEventListener(args[1], false, ListenerFind${lookupType});
- if (listener) {
- @@ -1602,7 +1696,7 @@ END
- push(@implContentInternals, GenerateArgumentsCountCheck($function, $interface));
- if ($name eq "set" and $interface->extendedAttributes->{"TypedArray"}) {
- - AddToImplIncludes("V8ArrayBufferViewCustom.h");
- + AddToImplIncludes("WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h");
- push(@implContentInternals, <<END);
- return setWebGLArrayHelper<$interfaceName, ${v8InterfaceName}>(args);
- }
- @@ -1618,7 +1712,7 @@ END
- if ($interfaceName =~ /List$/) {
- push(@implContentInternals, " $nativeClassName imp = ${v8InterfaceName}::toNative(args.Holder());\n");
- } else {
- - AddToImplIncludes("ExceptionCode.h");
- + AddToImplIncludes("WebCore/dom/ExceptionCode.h");
- push(@implContentInternals, " $nativeClassName wrapper = ${v8InterfaceName}::toNative(args.Holder());\n");
- push(@implContentInternals, " if (wrapper->isReadOnly())\n");
- push(@implContentInternals, " return setDOMException(NO_MODIFICATION_ALLOWED_ERR, args.GetIsolate());\n");
- @@ -1635,7 +1729,7 @@ END
- # Check domain security if needed
- if ($interface->extendedAttributes->{"CheckSecurity"} && !$function->signature->extendedAttributes->{"DoNotCheckSecurity"}) {
- # We have not find real use cases yet.
- - AddToImplIncludes("Frame.h");
- + AddToImplIncludes("WebCore/page/Frame.h");
- push(@implContentInternals, <<END);
- if (!BindingSecurity::shouldAllowAccessToFrame(BindingState::instance(), imp->frame()))
- return v8Undefined();
- @@ -1652,7 +1746,7 @@ END
- }
- if ($raisesExceptions) {
- - AddToImplIncludes("ExceptionCode.h");
- + AddToImplIncludes("WebCore/dom/ExceptionCode.h");
- push(@implContentInternals, " ExceptionCode ec = 0;\n");
- push(@implContentInternals, " {\n");
- # The brace here is needed to prevent the ensuing 'goto fail's from jumping past constructors
- @@ -1706,8 +1800,8 @@ sub GenerateCallWith
- if ($function and $codeGenerator->ExtendedAttributeContains($callWith, "ScriptArguments")) {
- push(@$outputArray, $indent . "RefPtr<ScriptArguments> scriptArguments(createScriptArguments(args, " . @{$function->parameters} . "));\n");
- push(@callWithArgs, "scriptArguments.release()");
- - AddToImplIncludes("ScriptArguments.h");
- - AddToImplIncludes("ScriptCallStackFactory.h");
- + AddToImplIncludes("WebCore/inspector/ScriptArguments.h");
- + AddToImplIncludes("WebCore/bindings/v8/ScriptCallStackFactory.h");
- }
- return @callWithArgs;
- }
- @@ -1786,10 +1880,10 @@ sub GenerateParametersCheck
- next;
- }
- - AddToImplIncludes("ExceptionCode.h");
- + AddToImplIncludes("WebCore/dom/ExceptionCode.h");
- if ($parameter->extendedAttributes->{"Callback"}) {
- my $v8InterfaceName = "V8" . $parameter->type;
- - AddToImplIncludes("$v8InterfaceName.h");
- + AddToImplIncludes("././././././././$v8InterfaceName.h");
- if ($optional) {
- $parameterCheckString .= " RefPtr<" . $parameter->type . "> $parameterName;\n";
- $parameterCheckString .= " if (args.Length() > $paramIndex && !args[$paramIndex]->IsNull() && !args[$paramIndex]->IsUndefined()) {\n";
- @@ -1810,7 +1904,7 @@ sub GenerateParametersCheck
- $parameterCheckString .= " if (!std::isnan($nativeValue))\n";
- $parameterCheckString .= " $parameterName = clampTo<$paramType>($nativeValue);\n";
- } elsif ($parameter->type eq "SerializedScriptValue") {
- - AddToImplIncludes("SerializedScriptValue.h");
- + AddToImplIncludes("WebCore/bindings/v8/SerializedScriptValue.h");
- my $useTransferList = 0;
- my $transferListName = "";
- my $TransferListName = "";
- @@ -1828,7 +1922,7 @@ sub GenerateParametersCheck
- }
- AddToImplIncludes("wtf/ArrayBuffer.h");
- - AddToImplIncludes("MessagePort.h");
- + AddToImplIncludes("WebCore/dom/MessagePort.h");
- $TransferListName = ucfirst($transferListName);
- $parameterCheckString .= " MessagePortArray messagePortArray$TransferListName;\n";
- $parameterCheckString .= " ArrayBufferArray arrayBufferArray$TransferListName;\n";
- @@ -1970,7 +2064,7 @@ END
- }
- if ($raisesExceptions) {
- - AddToImplIncludes("ExceptionCode.h");
- + AddToImplIncludes("WebCore/dom/ExceptionCode.h");
- push(@implContentInternals, "\n");
- push(@implContentInternals, " ExceptionCode ec = 0;\n");
- }
- @@ -2066,7 +2160,7 @@ sub GenerateEventConstructor
- my $interface = shift;
- my $interfaceName = $interface->name;
- - AddToImplIncludes("Dictionary.h");
- + AddToImplIncludes("WebCore/bindings/v8/Dictionary.h");
- push(@implContentInternals, <<END);
- static v8::Handle<v8::Value> constructor(const v8::Arguments& args)
- {
- @@ -2125,7 +2219,7 @@ sub GenerateTypedArrayConstructor
- my $interfaceName = $interface->name;
- my $viewType = GetTypeNameOfExternalTypedArray($interface);
- my $type = $interface->extendedAttributes->{"TypedArray"};
- - AddToImplIncludes("V8ArrayBufferViewCustom.h");
- + AddToImplIncludes("WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h");
- push(@implContentInternals, <<END);
- static v8::Handle<v8::Value> constructor(const v8::Arguments& args)
- @@ -2170,7 +2264,7 @@ sub GenerateNamedConstructor
- $toEventTarget = "${v8InterfaceName}::toEventTarget";
- }
- - AddToImplIncludes("Frame.h");
- + AddToImplIncludes("WebCore/page/Frame.h");
- push(@implContent, <<END);
- WrapperTypeInfo ${v8InterfaceName}Constructor::info = { ${v8InterfaceName}Constructor::GetTemplate, ${v8InterfaceName}::derefObject, $toActiveDOMObject, $toEventTarget, 0, ${v8InterfaceName}::installPerContextPrototypeProperties, 0, WrapperTypeObjectPrototype };
- @@ -2191,7 +2285,7 @@ END
- push(@implContent, GenerateArgumentsCountCheck($function, $interface));
- if ($raisesExceptions) {
- - AddToImplIncludes("ExceptionCode.h");
- + AddToImplIncludes("WebCore/dom/ExceptionCode.h");
- push(@implContent, "\n");
- push(@implContent, " ExceptionCode ec = 0;\n");
- }
- @@ -2344,7 +2438,11 @@ sub GenerateSingleBatchedAttribute
- # We do not generate the header file for NamedConstructor of class XXXX,
- # since we generate the NamedConstructor declaration into the header file of class XXXX.
- if ($constructorType !~ /Constructor$/ || $attribute->signature->extendedAttributes->{"V8CustomConstructor"} || $attribute->signature->extendedAttributes->{"CustomConstructor"}) {
- - AddToImplIncludes("V8${constructorType}.h", $attribute->signature->extendedAttributes->{"Conditional"});
- + my $includepath = "";
- + if ($constructorType eq "HTMLImageElementConstructor") {
- + $includepath = "WebCore/bindings/v8/custom/";
- + }
- + AddToImplIncludes("./././././././././${includepath}V8${constructorType}.h", $attribute->signature->extendedAttributes->{"Conditional"});
- }
- $data = "&V8${constructorType}::info";
- $getter = "${interfaceName}V8Internal::${interfaceName}ConstructorGetter";
- @@ -2507,7 +2605,7 @@ sub GenerateImplementationIndexer
- return;
- }
- - AddToImplIncludes("V8Collection.h");
- + AddToImplIncludes("WebCore/bindings/v8/V8Collection.h");
- if (!$indexer) {
- $indexer = $codeGenerator->FindSuperMethod($interface, "item");
- @@ -2537,7 +2635,7 @@ END
- setCollectionIndexedGetter<${interfaceName}, ${indexerType}>(desc);
- END
- # Include the header for this indexer type, because setCollectionIndexedGetter() requires toV8() for this type.
- - AddToImplIncludes("V8${indexerType}.h");
- + AddToImplIncludes("./././././././././V8${indexerType}.h");
- }
- return;
- @@ -2589,7 +2687,7 @@ sub GenerateImplementationNamedPropertyGetter
- }
- if ($namedPropertyGetter && $namedPropertyGetter->type ne "Node" && !$namedPropertyGetter->extendedAttributes->{"Custom"} && !$hasCustomNamedGetter) {
- - AddToImplIncludes("V8Collection.h");
- + AddToImplIncludes("WebCore/bindings/v8/V8Collection.h");
- my $type = $namedPropertyGetter->type;
- push(@implContent, <<END);
- setCollectionNamedGetter<${interfaceName}, ${type}>(desc);
- @@ -2659,11 +2757,11 @@ sub GenerateImplementation
- # - Add default header template
- push(@implContentHeader, GenerateImplementationContentHeader($interface));
- - AddToImplIncludes("BindingState.h");
- - AddToImplIncludes("ContextFeatures.h");
- - AddToImplIncludes("RuntimeEnabledFeatures.h");
- - AddToImplIncludes("V8Binding.h");
- - AddToImplIncludes("V8DOMWrapper.h");
- + AddToImplIncludes("WebCore/bindings/v8/BindingState.h");
- + AddToImplIncludes("WebCore/dom/ContextFeatures.h");
- + AddToImplIncludes("WebCore/bindings/generic/RuntimeEnabledFeatures.h");
- + AddToImplIncludes("WebCore/bindings/v8/V8Binding.h");
- + AddToImplIncludes("WebCore/bindings/v8/V8DOMWrapper.h");
- AddIncludesForType($interfaceName);
- @@ -2676,7 +2774,7 @@ sub GenerateImplementation
- my $parentClassTemplate = "";
- foreach (@{$interface->parents}) {
- my $parent = $_;
- - AddToImplIncludes("V8${parent}.h");
- + AddToImplIncludes("././././././././././V8${parent}.h");
- $parentClass = "V8" . $parent;
- $parentClassTemplate = $parentClass . "::GetTemplate(isolate, worldType)";
- last;
- @@ -2754,7 +2852,7 @@ END
- }
- if ($attrType eq "SerializedScriptValue") {
- - AddToImplIncludes("SerializedScriptValue.h");
- + AddToImplIncludes("WebCore/bindings/v8/SerializedScriptValue.h");
- }
- GenerateNormalAttrGetter($attribute, $interface);
- @@ -2924,7 +3022,8 @@ END
- my $conditional = $attrExt->{"Conditional"};
- my $implementedBy = $attrExt->{"ImplementedBy"};
- if ($implementedBy) {
- - AddToImplIncludes("${implementedBy}.h");
- + my $implementedByPath = idl_to_path($implementedBy);
- + AddToImplIncludes("././${implementedByPath}${implementedBy}.h");
- }
- if ($attrExt->{"V8EnabledAtRuntime"}) {
- push(@constantsEnabledAtRuntime, $constant);
- @@ -3321,7 +3420,7 @@ sub GenerateImplementationContentHeader
- push(@implContentHeader, "\n#include \"config.h\"\n");
- push(@implContentHeader, "#if ${conditionalString}\n") if $conditionalString;
- - push(@implContentHeader, "#include \"${v8InterfaceName}.h\"\n\n");
- + push(@implContentHeader, "#include \"${v8InterfaceName}.h\" // fixmebratell72\n\n");
- return @implContentHeader;
- }
- @@ -3338,10 +3437,11 @@ sub GenerateCallbackHeader
- push(@headerContent, GenerateHeaderContentHeader($interface));
- my @unsortedIncludes = ();
- - push(@unsortedIncludes, "#include \"ActiveDOMCallback.h\"");
- - push(@unsortedIncludes, "#include \"$interfaceName.h\"");
- - push(@unsortedIncludes, "#include \"ScopedPersistent.h\"");
- - push(@unsortedIncludes, "#include \"WorldContextHandle.h\"");
- + push(@unsortedIncludes, "#include \"WebCore/bindings/generic/ActiveDOMCallback.h\"");
- + my $interfacePath = idl_to_path($interfaceName);
- + push(@unsortedIncludes, "#include \"$interfacePath$interfaceName.h\" // fixmebratell71");
- + push(@unsortedIncludes, "#include \"WebCore/bindings/v8/ScopedPersistent.h\"");
- + push(@unsortedIncludes, "#include \"WebCore/bindings/v8/WorldContextHandle.h\"");
- push(@unsortedIncludes, "#include <v8.h>");
- push(@unsortedIncludes, "#include <wtf/Forward.h>");
- push(@headerContent, join("\n", sort @unsortedIncludes));
- @@ -3415,9 +3515,9 @@ sub GenerateCallbackImplementation
- # - Add default header template
- push(@implContentHeader, GenerateImplementationContentHeader($interface));
- - AddToImplIncludes("ScriptExecutionContext.h");
- - AddToImplIncludes("V8Binding.h");
- - AddToImplIncludes("V8Callback.h");
- + AddToImplIncludes("WebCore/dom/ScriptExecutionContext.h");
- + AddToImplIncludes("WebCore/bindings/v8/V8Binding.h");
- + AddToImplIncludes("WebCore/bindings/v8/V8Callback.h");
- push(@implContent, "#include <wtf/Assertions.h>\n\n");
- push(@implContent, "namespace WebCore {\n\n");
- @@ -3538,7 +3638,7 @@ sub GenerateToV8Converters
- return;
- }
- - AddToImplIncludes("Frame.h");
- + AddToImplIncludes("WebCore/page/Frame.h");
- my $createWrapperArgumentType = GetPassRefPtrType($nativeType);
- my $baseType = BaseInterfaceName($interface);
- @@ -3758,7 +3858,8 @@ sub GenerateFunctionCallString
- my $functionName;
- my $implementedBy = $function->signature->extendedAttributes->{"ImplementedBy"};
- if ($implementedBy) {
- - AddToImplIncludes("${implementedBy}.h");
- + my $implementedByPath = idl_to_path($implementedBy);
- + AddToImplIncludes("./././${implementedByPath}${implementedBy}.h");
- unshift(@arguments, "imp") if !$function->isStatic;
- $functionName = "${implementedBy}::${name}";
- } elsif ($function->isStatic) {
- @@ -3836,7 +3937,7 @@ sub GenerateFunctionCallString
- if ($isSVGTearOffType) {
- AddToImplIncludes("V8$returnType.h");
- - AddToImplIncludes("SVGPropertyTearOff.h");
- + AddToImplIncludes("WebCore/svg/properties/SVGPropertyTearOff.h");
- my $svgNativeType = $codeGenerator->GetSVGTypeNeedingTearOff($returnType);
- # FIXME: Update for all ScriptWrappables.
- if (IsDOMNodeType($interfaceName)) {
- @@ -3964,7 +4065,7 @@ sub TypeCanFailConversion
- my $signature = shift;
- my $type = $signature->type;
- - AddToImplIncludes("ExceptionCode.h") if $type eq "Attr";
- + AddToImplIncludes("WebCore/dom/ExceptionCode.h") if $type eq "Attr";
- return 1 if $type eq "Attr";
- return 0;
- }
- @@ -3997,17 +4098,17 @@ sub JSValueToNative
- }
- if ($type eq "SerializedScriptValue") {
- - AddToImplIncludes("SerializedScriptValue.h");
- + AddToImplIncludes("WebCore/bindings/v8/SerializedScriptValue.h");
- return "SerializedScriptValue::create($value, $getIsolate)";
- }
- if ($type eq "Dictionary") {
- - AddToImplIncludes("Dictionary.h");
- + AddToImplIncludes("WebCore/bindings/v8/Dictionary.h");
- return "Dictionary($value, $getIsolate)";
- }
- if ($type eq "any") {
- - AddToImplIncludes("ScriptValue.h");
- + AddToImplIncludes("WebCore/bindings/v8/ScriptValue.h");
- return "ScriptValue($value)";
- }
- @@ -4016,7 +4117,7 @@ sub JSValueToNative
- }
- if ($type eq "MediaQueryListListener") {
- - AddToImplIncludes("MediaQueryListListener.h");
- + AddToImplIncludes("WebCore/css/MediaQueryListListener.h");
- return "MediaQueryListListener::create(" . $value . ")";
- }
- @@ -4034,7 +4135,7 @@ sub JSValueToNative
- if ($arrayOrSequenceType) {
- if ($codeGenerator->IsRefPtrType($arrayOrSequenceType)) {
- - AddToImplIncludes("V8${arrayOrSequenceType}.h");
- + AddToImplIncludes("./././V8${arrayOrSequenceType}.h");
- return "(toRefPtrNativeArray<${arrayOrSequenceType}, V8${arrayOrSequenceType}>($value, $getIsolate))";
- }
- return "toNativeArray<" . GetNativeType($arrayOrSequenceType) . ">($value)";
- @@ -4042,7 +4143,8 @@ sub JSValueToNative
- AddIncludesForType($type);
- - AddToImplIncludes("V8${type}.h");
- + AddToImplIncludes("././././V8${type}.h");
- +
- return "V8${type}::HasInstance($value, $getIsolate) ? V8${type}::toNative(v8::Handle<v8::Object>::Cast($value)) : 0";
- }
- @@ -4050,9 +4152,10 @@ sub GetV8HeaderName
- {
- my $type = shift;
- return "V8Event.h" if $type eq "DOMTimeStamp";
- - return "EventListener.h" if $type eq "EventListener";
- - return "SerializedScriptValue.h" if $type eq "SerializedScriptValue";
- - return "ScriptValue.h" if $type eq "any";
- + return "WebCore/dom/EventListener.h" if $type eq "EventListener";
- + return "WebCore/bindings/v8/SerializedScriptValue.h" if $type eq "SerializedScriptValue";
- + return "WebCore/bindings/v8/ScriptValue.h" if $type eq "any";
- + return "WebCore/bindings/v8/V8GCController.h" if $type eq "GCController";
- return "V8${type}.h";
- }
- @@ -4082,11 +4185,11 @@ sub CreateCustomSignature
- if ($arrayOrSequenceType) {
- if ($arrayType eq "DOMString") {
- AddToImplIncludes("V8DOMStringList.h");
- - AddToImplIncludes("DOMStringList.h");
- + AddToImplIncludes("WebCore/dom/DOMStringList.h");
- } elsif ($codeGenerator->IsRefPtrType($arrayOrSequenceType)) {
- AddToImplIncludes(GetV8HeaderName($arrayOrSequenceType));
- - AddToImplIncludes("${arrayOrSequenceType}.h");
- + AddToImplIncludes("./././././${arrayOrSequenceType}.h");
- } else {
- $result .= "v8::Handle<v8::FunctionTemplate>()";
- next;
- @@ -4283,11 +4386,12 @@ sub NativeToJSValue
- if ($arrayOrSequenceType) {
- if ($arrayType eq "DOMString") {
- AddToImplIncludes("V8DOMStringList.h");
- - AddToImplIncludes("DOMStringList.h");
- + AddToImplIncludes("WebCore/dom/DOMStringList.h");
- } elsif ($codeGenerator->IsRefPtrType($arrayOrSequenceType)) {
- AddToImplIncludes(GetV8HeaderName($arrayOrSequenceType));
- - AddToImplIncludes("${arrayOrSequenceType}.h");
- + my $includepath = idl_to_path($arrayOrSequenceType); # This is not an arraytype (always?). It's things like ScriptProfileNode, MediaStreamTream, MediaStream.
- + AddToImplIncludes("././././././././././././././${includepath}${arrayOrSequenceType}.h");
- }
- return "v8Array($value, $getIsolate)";
- }
- @@ -4302,12 +4406,12 @@ sub NativeToJSValue
- }
- if ($type eq "EventListener") {
- - AddToImplIncludes("V8AbstractEventListener.h");
- + AddToImplIncludes("WebCore/bindings/v8/V8AbstractEventListener.h");
- return "${value} ? v8::Handle<v8::Value>(static_cast<V8AbstractEventListener*>(${value})->getListenerObject(imp->scriptExecutionContext())) : v8::Handle<v8::Value>(v8Null($getIsolate))";
- }
- if ($type eq "SerializedScriptValue") {
- - AddToImplIncludes("$type.h");
- + AddToImplIncludes("WebCore/bindings/v8/SerializedScriptValue.h");
- return "$value ? $value->deserialize() : v8::Handle<v8::Value>(v8Null($getIsolate))";
- }
- @@ -4357,12 +4461,12 @@ sub WriteData
- }
- }
- foreach my $include (sort @includes) {
- - $contents .= "#include $include\n";
- + $contents .= "#include $include // fixmebratell73\n";
- }
- foreach my $condition (sort keys %implIncludeConditions) {
- $contents .= "\n#if " . $codeGenerator->GenerateConditionalStringFromAttributeValue($condition) . "\n";
- foreach my $include (sort @{$implIncludeConditions{$condition}}) {
- - $contents .= "#include $include\n";
- + $contents .= "#include $include // fixmebratell74\n";
- }
- $contents .= "#endif\n";
- }
- diff --git a/third_party/WebKit/Source/WebCore/bindings/scripts/InFilesCompiler.pm b/third_party/WebKit/Source/WebCore/bindings/scripts/InFilesCompiler.pm
- index 3dcd772..627eaf0 100644
- --- a/third_party/WebKit/Source/WebCore/bindings/scripts/InFilesCompiler.pm
- +++ b/third_party/WebKit/Source/WebCore/bindings/scripts/InFilesCompiler.pm
- @@ -37,6 +37,7 @@ require Config;
- package InFilesCompiler;
- +use idltopath;
- my $inputFile = "";
- my $outputDir = ".";
- my $defaultItemFactory;
- @@ -116,6 +117,8 @@ sub license()
- return "/*
- * THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT.
- *
- + * This file was generated by the make_names.pl/InFilesCompiler.pm script.
- + *
- * Copyright (C) 2011 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- @@ -276,13 +279,14 @@ sub generateHeadersHeader()
- next if defined($includedInterfaces{$interfaceName});
- $includedInterfaces{$interfaceName} = 1;
- + my $includepath = idl_to_path($interfaceName);
- print F "#if " . $object->conditionalStringFromAttributeValue($conditional) . "\n" if $conditional;
- - print F "#include \"$interfaceName.h\"\n";
- + print F "#include \"$includepath$interfaceName.h\" // fixmebratell88\n";
- print F "#if USE(JSC)\n";
- - print F "#include \"JS$interfaceName.h\"\n";
- + print F "#include \"JS$interfaceName.h\" // fixmebratell87\n";
- print F "#elif USE(V8)\n";
- - print F "#include \"V8$interfaceName.h\"\n";
- + print F "#include \"V8$interfaceName.h\" // fixmebratell86\n";
- print F "#endif\n";
- print F "#endif\n" if $conditional;
- }
- diff --git a/third_party/WebKit/Source/WebCore/bindings/scripts/idltopath.pm b/third_party/WebKit/Source/WebCore/bindings/scripts/idltopath.pm
- new file mode 100644
- index 0000000..8649b09
- --- /dev/null
- +++ b/third_party/WebKit/Source/WebCore/bindings/scripts/idltopath.pm
- @@ -0,0 +1,683 @@
- +#!/usr/bin/perl
- +use strict;
- +use warnings;
- +use Exporter;
- +
- +# GENERATED BY idltopath.py, DO NOT MODIFY BY HAND.
- +# (c) 2013 Daniel Bratell, Opera Software ASA
- +
- +package idltopath;
- +
- +our @ISA = qw( Exporter );
- +# our @EXPORT_OK = qw( export_me export_me_too );
- +# These are exported by default.
- +our @EXPORT = qw( idl_to_path );
- +
- +my %idl_to_path_hash = (
- + "TestCallback" => "WebCore/bindings/scripts/test",
- + "TestCustomNamedGetter" => "WebCore/bindings/scripts/test",
- + "TestDomainSecurity" => "WebCore/bindings/scripts/test",
- + "TestEventConstructor" => "WebCore/bindings/scripts/test",
- + "TestEventTarget" => "WebCore/bindings/scripts/test",
- + "TestException" => "WebCore/bindings/scripts/test",
- + "TestInterface" => "WebCore/bindings/scripts/test",
- + "TestMediaQueryListListener" => "WebCore/bindings/scripts/test",
- + "TestNamedConstructor" => "WebCore/bindings/scripts/test",
- + "TestNode" => "WebCore/bindings/scripts/test",
- + "TestObj" => "WebCore/bindings/scripts/test",
- + "TestOverloadedConstructors" => "WebCore/bindings/scripts/test",
- + "TestSerializedScriptValueInterface" => "WebCore/bindings/scripts/test",
- + "TestSupplemental" => "WebCore/bindings/scripts/test",
- + "TestTypedArray" => "WebCore/bindings/scripts/test",
- + "TestTypedefs" => "WebCore/bindings/scripts/test",
- + "Counter" => "WebCore/css",
- + "CSSCharsetRule" => "WebCore/css",
- + "CSSFontFaceRule" => "WebCore/css",
- + "CSSHostRule" => "WebCore/css",
- + "CSSImportRule" => "WebCore/css",
- + "CSSMediaRule" => "WebCore/css",
- + "CSSPageRule" => "WebCore/css",
- + "CSSPrimitiveValue" => "WebCore/css",
- + "CSSRule" => "WebCore/css",
- + "CSSRuleList" => "WebCore/css",
- + "CSSStyleDeclaration" => "WebCore/css",
- + "CSSStyleRule" => "WebCore/css",
- + "CSSStyleSheet" => "WebCore/css",
- + "CSSSupportsRule" => "WebCore/css",
- + "CSSUnknownRule" => "WebCore/css",
- + "CSSValue" => "WebCore/css",
- + "CSSValueList" => "WebCore/css",
- + "DOMWindowCSS" => "WebCore/css",
- + "MediaList" => "WebCore/css",
- + "MediaQueryList" => "WebCore/css",
- + "MediaQueryListListener" => "WebCore/css",
- + "Rect" => "WebCore/css",
- + "RGBColor" => "WebCore/css",
- + "StyleMedia" => "WebCore/css",
- + "StyleSheet" => "WebCore/css",
- + "StyleSheetList" => "WebCore/css",
- + "WebKitCSSFilterRule" => "WebCore/css",
- + "WebKitCSSFilterValue" => "WebCore/css",
- + "WebKitCSSKeyframeRule" => "WebCore/css",
- + "WebKitCSSKeyframesRule" => "WebCore/css",
- + "WebKitCSSMatrix" => "WebCore/css",
- + "WebKitCSSMixFunctionValue" => "WebCore/css",
- + "WebKitCSSRegionRule" => "WebCore/css",
- + "WebKitCSSTransformValue" => "WebCore/css",
- + "WebKitCSSViewportRule" => "WebCore/css",
- + "Attr" => "WebCore/dom",
- + "AutocompleteErrorEvent" => "WebCore/dom",
- + "BeforeLoadEvent" => "WebCore/dom",
- + "CDATASection" => "WebCore/dom",
- + "CharacterData" => "WebCore/dom",
- + "ClientRect" => "WebCore/dom",
- + "ClientRectList" => "WebCore/dom",
- + "Clipboard" => "WebCore/dom",
- + "Comment" => "WebCore/dom",
- + "CompositionEvent" => "WebCore/dom",
- + "CustomElementConstructor" => "WebCore/dom",
- + "CustomEvent" => "WebCore/dom",
- + "DataTransferItem" => "WebCore/dom",
- + "DataTransferItemList" => "WebCore/dom",
- + "DeviceMotionEvent" => "WebCore/dom",
- + "DeviceOrientationEvent" => "WebCore/dom",
- + "Document" => "WebCore/dom",
- + "DocumentFragment" => "WebCore/dom",
- + "DocumentType" => "WebCore/dom",
- + "DOMCoreException" => "WebCore/dom",
- + "DOMError" => "WebCore/dom",
- + "DOMImplementation" => "WebCore/dom",
- + "DOMNamedFlowCollection" => "WebCore/dom",
- + "DOMStringList" => "WebCore/dom",
- + "DOMStringMap" => "WebCore/dom",
- + "Element" => "WebCore/dom",
- + "Entity" => "WebCore/dom",
- + "EntityReference" => "WebCore/dom",
- + "ErrorEvent" => "WebCore/dom",
- + "Event" => "WebCore/dom",
- + "EventException" => "WebCore/dom",
- + "EventListener" => "WebCore/dom",
- + "EventTarget" => "WebCore/dom",
- + "FocusEvent" => "WebCore/dom",
- + "HashChangeEvent" => "WebCore/dom",
- + "KeyboardEvent" => "WebCore/dom",
- + "MessageChannel" => "WebCore/dom",
- + "MessageEvent" => "WebCore/dom",
- + "MessagePort" => "WebCore/dom",
- + "MouseEvent" => "WebCore/dom",
- + "MutationEvent" => "WebCore/dom",
- + "MutationObserver" => "WebCore/dom",
- + "MutationRecord" => "WebCore/dom",
- + "NamedNodeMap" => "WebCore/dom",
- + "Node" => "WebCore/dom",
- + "NodeFilter" => "WebCore/dom",
- + "NodeIterator" => "WebCore/dom",
- + "NodeList" => "WebCore/dom",
- + "Notation" => "WebCore/dom",
- + "OverflowEvent" => "WebCore/dom",
- + "PageTransitionEvent" => "WebCore/dom",
- + "PopStateEvent" => "WebCore/dom",
- + "ProcessingInstruction" => "WebCore/dom",
- + "ProgressEvent" => "WebCore/dom",
- + "PropertyNodeList" => "WebCore/dom",
- + "Range" => "WebCore/dom",
- + "RangeException" => "WebCore/dom",
- + "RequestAnimationFrameCallback" => "WebCore/dom",
- + "ShadowRoot" => "WebCore/dom",
- + "StringCallback" => "WebCore/dom",
- + "Text" => "WebCore/dom",
- + "TextEvent" => "WebCore/dom",
- + "Touch" => "WebCore/dom",
- + "TouchEvent" => "WebCore/dom",
- + "TouchList" => "WebCore/dom",
- + "TransitionEvent" => "WebCore/dom",
- + "TreeWalker" => "WebCore/dom",
- + "UIEvent" => "WebCore/dom",
- + "WebKitAnimationEvent" => "WebCore/dom",
- + "WebKitNamedFlow" => "WebCore/dom",
- + "WebKitTransitionEvent" => "WebCore/dom",
- + "WheelEvent" => "WebCore/dom",
- + "Blob" => "WebCore/fileapi",
- + "File" => "WebCore/fileapi",
- + "FileError" => "WebCore/fileapi",
- + "FileException" => "WebCore/fileapi",
- + "FileList" => "WebCore/fileapi",
- + "FileReader" => "WebCore/fileapi",
- + "FileReaderSync" => "WebCore/fileapi",
- + "DOMFormData" => "WebCore/html",
- + "DOMSettableTokenList" => "WebCore/html",
- + "DOMTokenList" => "WebCore/html",
- + "DOMURL" => "WebCore/html",
- + "HTMLAllCollection" => "WebCore/html",
- + "HTMLAnchorElement" => "WebCore/html",
- + "HTMLAppletElement" => "WebCore/html",
- + "HTMLAreaElement" => "WebCore/html",
- + "HTMLAudioElement" => "WebCore/html",
- + "HTMLBaseElement" => "WebCore/html",
- + "HTMLBaseFontElement" => "WebCore/html",
- + "HTMLBodyElement" => "WebCore/html",
- + "HTMLBRElement" => "WebCore/html",
- + "HTMLButtonElement" => "WebCore/html",
- + "HTMLCanvasElement" => "WebCore/html",
- + "HTMLCollection" => "WebCore/html",
- + "HTMLDataListElement" => "WebCore/html",
- + "HTMLDetailsElement" => "WebCore/html",
- + "HTMLDialogElement" => "WebCore/html",
- + "HTMLDirectoryElement" => "WebCore/html",
- + "HTMLDivElement" => "WebCore/html",
- + "HTMLDListElement" => "WebCore/html",
- + "HTMLDocument" => "WebCore/html",
- + "HTMLElement" => "WebCore/html",
- + "HTMLEmbedElement" => "WebCore/html",
- + "HTMLFieldSetElement" => "WebCore/html",
- + "HTMLFontElement" => "WebCore/html",
- + "HTMLFormControlsCollection" => "WebCore/html",
- + "HTMLFormElement" => "WebCore/html",
- + "HTMLFrameElement" => "WebCore/html",
- + "HTMLFrameSetElement" => "WebCore/html",
- + "HTMLHeadElement" => "WebCore/html",
- + "HTMLHeadingElement" => "WebCore/html",
- + "HTMLHRElement" => "WebCore/html",
- + "HTMLHtmlElement" => "WebCore/html",
- + "HTMLIFrameElement" => "WebCore/html",
- + "HTMLImageElement" => "WebCore/html",
- + "HTMLInputElement" => "WebCore/html",
- + "HTMLKeygenElement" => "WebCore/html",
- + "HTMLLabelElement" => "WebCore/html",
- + "HTMLLegendElement" => "WebCore/html",
- + "HTMLLIElement" => "WebCore/html",
- + "HTMLLinkElement" => "WebCore/html",
- + "HTMLMapElement" => "WebCore/html",
- + "HTMLMarqueeElement" => "WebCore/html",
- + "HTMLMediaElement" => "WebCore/html",
- + "HTMLMenuElement" => "WebCore/html",
- + "HTMLMetaElement" => "WebCore/html",
- + "HTMLMeterElement" => "WebCore/html",
- + "HTMLModElement" => "WebCore/html",
- + "HTMLObjectElement" => "WebCore/html",
- + "HTMLOListElement" => "WebCore/html",
- + "HTMLOptGroupElement" => "WebCore/html",
- + "HTMLOptionElement" => "WebCore/html",
- + "HTMLOptionsCollection" => "WebCore/html",
- + "HTMLOutputElement" => "WebCore/html",
- + "HTMLParagraphElement" => "WebCore/html",
- + "HTMLParamElement" => "WebCore/html",
- + "HTMLPreElement" => "WebCore/html",
- + "HTMLProgressElement" => "WebCore/html",
- + "HTMLPropertiesCollection" => "WebCore/html",
- + "HTMLQuoteElement" => "WebCore/html",
- + "HTMLScriptElement" => "WebCore/html",
- + "HTMLSelectElement" => "WebCore/html",
- + "HTMLSourceElement" => "WebCore/html",
- + "HTMLSpanElement" => "WebCore/html",
- + "HTMLStyleElement" => "WebCore/html",
- + "HTMLTableCaptionElement" => "WebCore/html",
- + "HTMLTableCellElement" => "WebCore/html",
- + "HTMLTableColElement" => "WebCore/html",
- + "HTMLTableElement" => "WebCore/html",
- + "HTMLTableRowElement" => "WebCore/html",
- + "HTMLTableSectionElement" => "WebCore/html",
- + "HTMLTemplateElement" => "WebCore/html",
- + "HTMLTextAreaElement" => "WebCore/html",
- + "HTMLTitleElement" => "WebCore/html",
- + "HTMLTrackElement" => "WebCore/html",
- + "HTMLUListElement" => "WebCore/html",
- + "HTMLUnknownElement" => "WebCore/html",
- + "HTMLVideoElement" => "WebCore/html",
- + "ImageData" => "WebCore/html",
- + "MediaController" => "WebCore/html",
- + "MediaError" => "WebCore/html",
- + "MediaKeyError" => "WebCore/html",
- + "MediaKeyEvent" => "WebCore/html",
- + "MicroDataItemValue" => "WebCore/html",
- + "RadioNodeList" => "WebCore/html",
- + "TextMetrics" => "WebCore/html",
- + "TimeRanges" => "WebCore/html",
- + "ValidityState" => "WebCore/html",
- + "VoidCallback" => "WebCore/html",
- + "ArrayBuffer" => "WebCore/html/canvas",
- + "ArrayBufferView" => "WebCore/html/canvas",
- + "CanvasGradient" => "WebCore/html/canvas",
- + "CanvasPattern" => "WebCore/html/canvas",
- + "CanvasProxy" => "WebCore/html/canvas",
- + "CanvasRenderingContext" => "WebCore/html/canvas",
- + "CanvasRenderingContext2D" => "WebCore/html/canvas",
- + "DataView" => "WebCore/html/canvas",
- + "DOMPath" => "WebCore/html/canvas",
- + "EXTDrawBuffers" => "WebCore/html/canvas",
- + "EXTTextureFilterAnisotropic" => "WebCore/html/canvas",
- + "Float32Array" => "WebCore/html/canvas",
- + "Float64Array" => "WebCore/html/canvas",
- + "Int16Array" => "WebCore/html/canvas",
- + "Int32Array" => "WebCore/html/canvas",
- + "Int8Array" => "WebCore/html/canvas",
- + "OESElementIndexUint" => "WebCore/html/canvas",
- + "OESStandardDerivatives" => "WebCore/html/canvas",
- + "OESTextureFloat" => "WebCore/html/canvas",
- + "OESTextureHalfFloat" => "WebCore/html/canvas",
- + "OESVertexArrayObject" => "WebCore/html/canvas",
- + "Uint16Array" => "WebCore/html/canvas",
- + "Uint32Array" => "WebCore/html/canvas",
- + "Uint8Array" => "WebCore/html/canvas",
- + "Uint8ClampedArray" => "WebCore/html/canvas",
- + "WebGLActiveInfo" => "WebCore/html/canvas",
- + "WebGLBuffer" => "WebCore/html/canvas",
- + "WebGLCompressedTextureS3TC" => "WebCore/html/canvas",
- + "WebGLContextAttributes" => "WebCore/html/canvas",
- + "WebGLContextEvent" => "WebCore/html/canvas",
- + "WebGLDebugRendererInfo" => "WebCore/html/canvas",
- + "WebGLDebugShaders" => "WebCore/html/canvas",
- + "WebGLDepthTexture" => "WebCore/html/canvas",
- + "WebGLFramebuffer" => "WebCore/html/canvas",
- + "WebGLLoseContext" => "WebCore/html/canvas",
- + "WebGLProgram" => "WebCore/html/canvas",
- + "WebGLRenderbuffer" => "WebCore/html/canvas",
- + "WebGLRenderingContext" => "WebCore/html/canvas",
- + "WebGLShader" => "WebCore/html/canvas",
- + "WebGLShaderPrecisionFormat" => "WebCore/html/canvas",
- + "WebGLTexture" => "WebCore/html/canvas",
- + "WebGLUniformLocation" => "WebCore/html/canvas",
- + "WebGLVertexArrayObjectOES" => "WebCore/html/canvas",
- + "HTMLContentElement" => "WebCore/html/shadow",
- + "HTMLShadowElement" => "WebCore/html/shadow",
- + "TextTrack" => "WebCore/html/track",
- + "TextTrackCue" => "WebCore/html/track",
- + "TextTrackCueList" => "WebCore/html/track",
- + "TextTrackList" => "WebCore/html/track",
- + "TrackEvent" => "WebCore/html/track",
- + "InjectedScriptHost" => "WebCore/inspector",
- + "InspectorFrontendHost" => "WebCore/inspector",
- + "JavaScriptCallFrame" => "WebCore/bindings/v8",
- + "ScriptProfile" => "WebCore/bindings/v8",
- + "ScriptProfileNode" => "WebCore/bindings/v8",
- + "DOMApplicationCache" => "WebCore/loader/appcache",
- + "BatteryManager" => "WebCore/Modules/battery",
- + "NavigatorBattery" => "WebCore/Modules/battery",
- + "MediaKeyMessageEvent" => "WebCore/Modules/encryptedmedia",
- + "MediaKeyNeededEvent" => "WebCore/Modules/encryptedmedia",
- + "MediaKeys" => "WebCore/Modules/encryptedmedia",
- + "MediaKeySession" => "WebCore/Modules/encryptedmedia",
- + "DataTransferItemFileSystem" => "WebCore/Modules/filesystem",
- + "DirectoryEntry" => "WebCore/Modules/filesystem",
- + "DirectoryEntrySync" => "WebCore/Modules/filesystem",
- + "DirectoryReader" => "WebCore/Modules/filesystem",
- + "DirectoryReaderSync" => "WebCore/Modules/filesystem",
- + "DOMFileSystem" => "WebCore/Modules/filesystem",
- + "DOMFileSystemSync" => "WebCore/Modules/filesystem",
- + "DOMWindowFileSystem" => "WebCore/Modules/filesystem",
- + "EntriesCallback" => "WebCore/Modules/filesystem",
- + "Entry" => "WebCore/Modules/filesystem",
- + "EntryArray" => "WebCore/Modules/filesystem",
- + "EntryArraySync" => "WebCore/Modules/filesystem",
- + "EntryCallback" => "WebCore/Modules/filesystem",
- + "EntrySync" => "WebCore/Modules/filesystem",
- + "ErrorCallback" => "WebCore/Modules/filesystem",
- + "FileCallback" => "WebCore/Modules/filesystem",
- + "FileEntry" => "WebCore/Modules/filesystem",
- + "FileEntrySync" => "WebCore/Modules/filesystem",
- + "FileSystemCallback" => "WebCore/Modules/filesystem",
- + "FileWriter" => "WebCore/Modules/filesystem",
- + "FileWriterCallback" => "WebCore/Modules/filesystem",
- + "FileWriterSync" => "WebCore/Modules/filesystem",
- + "HTMLInputElementFileSystem" => "WebCore/Modules/filesystem",
- + "Metadata" => "WebCore/Modules/filesystem",
- + "MetadataCallback" => "WebCore/Modules/filesystem",
- + "WorkerContextFileSystem" => "WebCore/Modules/filesystem",
- + "Gamepad" => "WebCore/Modules/gamepad",
- + "GamepadList" => "WebCore/Modules/gamepad",
- + "NavigatorGamepad" => "WebCore/Modules/gamepad",
- + "Geolocation" => "WebCore/Modules/geolocation",
- + "Geoposition" => "WebCore/Modules/geolocation",
- + "NavigatorGeolocation" => "WebCore/Modules/geolocation",
- + "PositionCallback" => "WebCore/Modules/geolocation",
- + "PositionError" => "WebCore/Modules/geolocation",
- + "PositionErrorCallback" => "WebCore/Modules/geolocation",
- + "DOMWindowIndexedDatabase" => "WebCore/Modules/indexeddb",
- + "IDBAny" => "WebCore/Modules/indexeddb",
- + "IDBCursor" => "WebCore/Modules/indexeddb",
- + "IDBCursorWithValue" => "WebCore/Modules/indexeddb",
- + "IDBDatabase" => "WebCore/Modules/indexeddb",
- + "IDBFactory" => "WebCore/Modules/indexeddb",
- + "IDBIndex" => "WebCore/Modules/indexeddb",
- + "IDBKeyRange" => "WebCore/Modules/indexeddb",
- + "IDBObjectStore" => "WebCore/Modules/indexeddb",
- + "IDBOpenDBRequest" => "WebCore/Modules/indexeddb",
- + "IDBRequest" => "WebCore/Modules/indexeddb",
- + "IDBTransaction" => "WebCore/Modules/indexeddb",
- + "IDBVersionChangeEvent" => "WebCore/Modules/indexeddb",
- + "WorkerContextIndexedDatabase" => "WebCore/Modules/indexeddb",
- + "MediaSource" => "WebCore/Modules/mediasource",
- + "SourceBuffer" => "WebCore/Modules/mediasource",
- + "SourceBufferList" => "WebCore/Modules/mediasource",
- + "DOMWindowMediaStream" => "WebCore/Modules/mediastream",
- + "LocalMediaStream" => "WebCore/Modules/mediastream",
- + "MediaStream" => "WebCore/Modules/mediastream",
- + "MediaStreamEvent" => "WebCore/Modules/mediastream",
- + "MediaStreamTrack" => "WebCore/Modules/mediastream",
- + "MediaStreamTrackEvent" => "WebCore/Modules/mediastream",
- + "NavigatorMediaStream" => "WebCore/Modules/mediastream",
- + "NavigatorUserMediaError" => "WebCore/Modules/mediastream",
- + "NavigatorUserMediaErrorCallback" => "WebCore/Modules/mediastream",
- + "NavigatorUserMediaSuccessCallback" => "WebCore/Modules/mediastream",
- + "RTCDataChannel" => "WebCore/Modules/mediastream",
- + "RTCDataChannelEvent" => "WebCore/Modules/mediastream",
- + "RTCDTMFSender" => "WebCore/Modules/mediastream",
- + "RTCDTMFToneChangeEvent" => "WebCore/Modules/mediastream",
- + "RTCErrorCallback" => "WebCore/Modules/mediastream",
- + "RTCIceCandidate" => "WebCore/Modules/mediastream",
- + "RTCIceCandidateEvent" => "WebCore/Modules/mediastream",
- + "RTCPeerConnection" => "WebCore/Modules/mediastream",
- + "RTCSessionDescription" => "WebCore/Modules/mediastream",
- + "RTCSessionDescriptionCallback" => "WebCore/Modules/mediastream",
- + "RTCStatsCallback" => "WebCore/Modules/mediastream",
- + "RTCStatsElement" => "WebCore/Modules/mediastream",
- + "RTCStatsReport" => "WebCore/Modules/mediastream",
- + "RTCStatsResponse" => "WebCore/Modules/mediastream",
- + "NavigatorContentUtils" => "WebCore/Modules/navigatorcontentutils",
- + "NavigatorNetworkInfoConnection" => "WebCore/Modules/networkinfo",
- + "NetworkInfoConnection" => "WebCore/Modules/networkinfo",
- + "DOMWindowNotifications" => "WebCore/Modules/notifications",
- + "Notification" => "WebCore/Modules/notifications",
- + "NotificationCenter" => "WebCore/Modules/notifications",
- + "NotificationPermissionCallback" => "WebCore/Modules/notifications",
- + "WorkerContextNotifications" => "WebCore/Modules/notifications",
- + "DeviceProximityEvent" => "WebCore/Modules/proximity",
- + "DOMWindowQuota" => "WebCore/Modules/quota",
- + "StorageInfo" => "WebCore/Modules/quota",
- + "StorageInfoErrorCallback" => "WebCore/Modules/quota",
- + "StorageInfoQuotaCallback" => "WebCore/Modules/quota",
- + "StorageInfoUsageCallback" => "WebCore/Modules/quota",
- + "DOMWindowSpeech" => "WebCore/Modules/speech",
- + "DOMWindowSpeechSynthesis" => "WebCore/Modules/speech",
- + "SpeechGrammar" => "WebCore/Modules/speech",
- + "SpeechGrammarList" => "WebCore/Modules/speech",
- + "SpeechRecognition" => "WebCore/Modules/speech",
- + "SpeechRecognitionAlternative" => "WebCore/Modules/speech",
- + "SpeechRecognitionError" => "WebCore/Modules/speech",
- + "SpeechRecognitionEvent" => "WebCore/Modules/speech",
- + "SpeechRecognitionResult" => "WebCore/Modules/speech",
- + "SpeechRecognitionResultList" => "WebCore/Modules/speech",
- + "SpeechSynthesis" => "WebCore/Modules/speech",
- + "SpeechSynthesisEvent" => "WebCore/Modules/speech",
- + "SpeechSynthesisUtterance" => "WebCore/Modules/speech",
- + "SpeechSynthesisVoice" => "WebCore/Modules/speech",
- + "NavigatorVibration" => "WebCore/Modules/vibration",
- + "AnalyserNode" => "WebCore/Modules/webaudio",
- + "AudioBuffer" => "WebCore/Modules/webaudio",
- + "AudioBufferCallback" => "WebCore/Modules/webaudio",
- + "AudioBufferSourceNode" => "WebCore/Modules/webaudio",
- + "AudioContext" => "WebCore/Modules/webaudio",
- + "AudioDestinationNode" => "WebCore/Modules/webaudio",
- + "AudioGain" => "WebCore/Modules/webaudio",
- + "AudioListener" => "WebCore/Modules/webaudio",
- + "AudioNode" => "WebCore/Modules/webaudio",
- + "AudioParam" => "WebCore/Modules/webaudio",
- + "AudioProcessingEvent" => "WebCore/Modules/webaudio",
- + "AudioSourceNode" => "WebCore/Modules/webaudio",
- + "BiquadFilterNode" => "WebCore/Modules/webaudio",
- + "ChannelMergerNode" => "WebCore/Modules/webaudio",
- + "ChannelSplitterNode" => "WebCore/Modules/webaudio",
- + "ConvolverNode" => "WebCore/Modules/webaudio",
- + "DelayNode" => "WebCore/Modules/webaudio",
- + "DOMWindowWebAudio" => "WebCore/Modules/webaudio",
- + "DynamicsCompressorNode" => "WebCore/Modules/webaudio",
- + "GainNode" => "WebCore/Modules/webaudio",
- + "MediaElementAudioSourceNode" => "WebCore/Modules/webaudio",
- + "MediaStreamAudioDestinationNode" => "WebCore/Modules/webaudio",
- + "MediaStreamAudioSourceNode" => "WebCore/Modules/webaudio",
- + "OfflineAudioCompletionEvent" => "WebCore/Modules/webaudio",
- + "OfflineAudioContext" => "WebCore/Modules/webaudio",
- + "OscillatorNode" => "WebCore/Modules/webaudio",
- + "PannerNode" => "WebCore/Modules/webaudio",
- + "ScriptProcessorNode" => "WebCore/Modules/webaudio",
- + "WaveShaperNode" => "WebCore/Modules/webaudio",
- + "WaveTable" => "WebCore/Modules/webaudio",
- + "Database" => "WebCore/Modules/webdatabase",
- + "DatabaseCallback" => "WebCore/Modules/webdatabase",
- + "DatabaseSync" => "WebCore/Modules/webdatabase",
- + "DOMWindowWebDatabase" => "WebCore/Modules/webdatabase",
- + "SQLError" => "WebCore/Modules/webdatabase",
- + "SQLException" => "WebCore/Modules/webdatabase",
- + "SQLResultSet" => "WebCore/Modules/webdatabase",
- + "SQLResultSetRowList" => "WebCore/Modules/webdatabase",
- + "SQLStatementCallback" => "WebCore/Modules/webdatabase",
- + "SQLStatementErrorCallback" => "WebCore/Modules/webdatabase",
- + "SQLTransaction" => "WebCore/Modules/webdatabase",
- + "SQLTransactionCallback" => "WebCore/Modules/webdatabase",
- + "SQLTransactionErrorCallback" => "WebCore/Modules/webdatabase",
- + "SQLTransactionSync" => "WebCore/Modules/webdatabase",
- + "SQLTransactionSyncCallback" => "WebCore/Modules/webdatabase",
- + "WorkerContextWebDatabase" => "WebCore/Modules/webdatabase",
- + "CloseEvent" => "WebCore/Modules/websockets",
- + "DOMWindowWebSocket" => "WebCore/Modules/websockets",
- + "WebSocket" => "WebCore/Modules/websockets",
- + "WorkerContextWebSocket" => "WebCore/Modules/websockets",
- + "AbstractView" => "WebCore/page",
- + "BarInfo" => "WebCore/page",
- + "Console" => "WebCore/page",
- + "Coordinates" => "WebCore/page",
- + "Crypto" => "WebCore/page",
- + "DOMSecurityPolicy" => "WebCore/page",
- + "DOMSelection" => "WebCore/page",
- + "DOMWindow" => "WebCore/page",
- + "DOMWindowPagePopup" => "WebCore/page",
- + "EventSource" => "WebCore/page",
- + "History" => "WebCore/page",
- + "Location" => "WebCore/page",
- + "MemoryInfo" => "WebCore/page",
- + "Navigator" => "WebCore/page",
- + "PagePopupController" => "WebCore/page",
- + "Performance" => "WebCore/page",
- + "PerformanceEntry" => "WebCore/page",
- + "PerformanceEntryList" => "WebCore/page",
- + "PerformanceMark" => "WebCore/page",
- + "PerformanceMeasure" => "WebCore/page",
- + "PerformanceNavigation" => "WebCore/page",
- + "PerformanceResourceTiming" => "WebCore/page",
- + "PerformanceTiming" => "WebCore/page",
- + "Screen" => "WebCore/page",
- + "SpeechInputEvent" => "WebCore/page",
- + "SpeechInputResult" => "WebCore/page",
- + "SpeechInputResultList" => "WebCore/page",
- + "WebKitPoint" => "WebCore/page",
- + "WorkerNavigator" => "WebCore/page",
- + "DOMMimeType" => "WebCore/plugins",
- + "DOMMimeTypeArray" => "WebCore/plugins",
- + "DOMPlugin" => "WebCore/plugins",
- + "DOMPluginArray" => "WebCore/plugins",
- + "Storage" => "WebCore/storage",
- + "StorageEvent" => "WebCore/storage",
- + "ElementTimeControl" => "WebCore/svg",
- + "SVGAElement" => "WebCore/svg",
- + "SVGAltGlyphDefElement" => "WebCore/svg",
- + "SVGAltGlyphElement" => "WebCore/svg",
- + "SVGAltGlyphItemElement" => "WebCore/svg",
- + "SVGAngle" => "WebCore/svg",
- + "SVGAnimateColorElement" => "WebCore/svg",
- + "SVGAnimatedAngle" => "WebCore/svg",
- + "SVGAnimatedBoolean" => "WebCore/svg",
- + "SVGAnimatedEnumeration" => "WebCore/svg",
- + "SVGAnimatedInteger" => "WebCore/svg",
- + "SVGAnimatedLength" => "WebCore/svg",
- + "SVGAnimatedLengthList" => "WebCore/svg",
- + "SVGAnimatedNumber" => "WebCore/svg",
- + "SVGAnimatedNumberList" => "WebCore/svg",
- + "SVGAnimatedPreserveAspectRatio" => "WebCore/svg",
- + "SVGAnimatedRect" => "WebCore/svg",
- + "SVGAnimatedString" => "WebCore/svg",
- + "SVGAnimatedTransformList" => "WebCore/svg",
- + "SVGAnimateElement" => "WebCore/svg",
- + "SVGAnimateMotionElement" => "WebCore/svg",
- + "SVGAnimateTransformElement" => "WebCore/svg",
- + "SVGAnimationElement" => "WebCore/svg",
- + "SVGCircleElement" => "WebCore/svg",
- + "SVGClipPathElement" => "WebCore/svg",
- + "SVGColor" => "WebCore/svg",
- + "SVGComponentTransferFunctionElement" => "WebCore/svg",
- + "SVGCursorElement" => "WebCore/svg",
- + "SVGDefsElement" => "WebCore/svg",
- + "SVGDescElement" => "WebCore/svg",
- + "SVGDocument" => "WebCore/svg",
- + "SVGElement" => "WebCore/svg",
- + "SVGElementInstance" => "WebCore/svg",
- + "SVGElementInstanceList" => "WebCore/svg",
- + "SVGEllipseElement" => "WebCore/svg",
- + "SVGException" => "WebCore/svg",
- + "SVGExternalResourcesRequired" => "WebCore/svg",
- + "SVGFEBlendElement" => "WebCore/svg",
- + "SVGFEColorMatrixElement" => "WebCore/svg",
- + "SVGFEComponentTransferElement" => "WebCore/svg",
- + "SVGFECompositeElement" => "WebCore/svg",
- + "SVGFEConvolveMatrixElement" => "WebCore/svg",
- + "SVGFEDiffuseLightingElement" => "WebCore/svg",
- + "SVGFEDisplacementMapElement" => "WebCore/svg",
- + "SVGFEDistantLightElement" => "WebCore/svg",
- + "SVGFEDropShadowElement" => "WebCore/svg",
- + "SVGFEFloodElement" => "WebCore/svg",
- + "SVGFEFuncAElement" => "WebCore/svg",
- + "SVGFEFuncBElement" => "WebCore/svg",
- + "SVGFEFuncGElement" => "WebCore/svg",
- + "SVGFEFuncRElement" => "WebCore/svg",
- + "SVGFEGaussianBlurElement" => "WebCore/svg",
- + "SVGFEImageElement" => "WebCore/svg",
- + "SVGFEMergeElement" => "WebCore/svg",
- + "SVGFEMergeNodeElement" => "WebCore/svg",
- + "SVGFEMorphologyElement" => "WebCore/svg",
- + "SVGFEOffsetElement" => "WebCore/svg",
- + "SVGFEPointLightElement" => "WebCore/svg",
- + "SVGFESpecularLightingElement" => "WebCore/svg",
- + "SVGFESpotLightElement" => "WebCore/svg",
- + "SVGFETileElement" => "WebCore/svg",
- + "SVGFETurbulenceElement" => "WebCore/svg",
- + "SVGFilterElement" => "WebCore/svg",
- + "SVGFilterPrimitiveStandardAttributes" => "WebCore/svg",
- + "SVGFitToViewBox" => "WebCore/svg",
- + "SVGFontElement" => "WebCore/svg",
- + "SVGFontFaceElement" => "WebCore/svg",
- + "SVGFontFaceFormatElement" => "WebCore/svg",
- + "SVGFontFaceNameElement" => "WebCore/svg",
- + "SVGFontFaceSrcElement" => "WebCore/svg",
- + "SVGFontFaceUriElement" => "WebCore/svg",
- + "SVGForeignObjectElement" => "WebCore/svg",
- + "SVGGElement" => "WebCore/svg",
- + "SVGGlyphElement" => "WebCore/svg",
- + "SVGGlyphRefElement" => "WebCore/svg",
- + "SVGGradientElement" => "WebCore/svg",
- + "SVGHKernElement" => "WebCore/svg",
- + "SVGImageElement" => "WebCore/svg",
- + "SVGLangSpace" => "WebCore/svg",
- + "SVGLength" => "WebCore/svg",
- + "SVGLengthList" => "WebCore/svg",
- + "SVGLinearGradientElement" => "WebCore/svg",
- + "SVGLineElement" => "WebCore/svg",
- + "SVGLocatable" => "WebCore/svg",
- + "SVGMarkerElement" => "WebCore/svg",
- + "SVGMaskElement" => "WebCore/svg",
- + "SVGMatrix" => "WebCore/svg",
- + "SVGMetadataElement" => "WebCore/svg",
- + "SVGMissingGlyphElement" => "WebCore/svg",
- + "SVGMPathElement" => "WebCore/svg",
- + "SVGNumber" => "WebCore/svg",
- + "SVGNumberList" => "WebCore/svg",
- + "SVGPaint" => "WebCore/svg",
- + "SVGPathElement" => "WebCore/svg",
- + "SVGPathSeg" => "WebCore/svg",
- + "SVGPathSegArcAbs" => "WebCore/svg",
- + "SVGPathSegArcRel" => "WebCore/svg",
- + "SVGPathSegClosePath" => "WebCore/svg",
- + "SVGPathSegCurvetoCubicAbs" => "WebCore/svg",
- + "SVGPathSegCurvetoCubicRel" => "WebCore/svg",
- + "SVGPathSegCurvetoCubicSmoothAbs" => "WebCore/svg",
- + "SVGPathSegCurvetoCubicSmoothRel" => "WebCore/svg",
- + "SVGPathSegCurvetoQuadraticAbs" => "WebCore/svg",
- + "SVGPathSegCurvetoQuadraticRel" => "WebCore/svg",
- + "SVGPathSegCurvetoQuadraticSmoothAbs" => "WebCore/svg",
- + "SVGPathSegCurvetoQuadraticSmoothRel" => "WebCore/svg",
- + "SVGPathSegLinetoAbs" => "WebCore/svg",
- + "SVGPathSegLinetoHorizontalAbs" => "WebCore/svg",
- + "SVGPathSegLinetoHorizontalRel" => "WebCore/svg",
- + "SVGPathSegLinetoRel" => "WebCore/svg",
- + "SVGPathSegLinetoVerticalAbs" => "WebCore/svg",
- + "SVGPathSegLinetoVerticalRel" => "WebCore/svg",
- + "SVGPathSegList" => "WebCore/svg",
- + "SVGPathSegMovetoAbs" => "WebCore/svg",
- + "SVGPathSegMovetoRel" => "WebCore/svg",
- + "SVGPatternElement" => "WebCore/svg",
- + "SVGPoint" => "WebCore/svg",
- + "SVGPointList" => "WebCore/svg",
- + "SVGPolygonElement" => "WebCore/svg",
- + "SVGPolylineElement" => "WebCore/svg",
- + "SVGPreserveAspectRatio" => "WebCore/svg",
- + "SVGRadialGradientElement" => "WebCore/svg",
- + "SVGRect" => "WebCore/svg",
- + "SVGRectElement" => "WebCore/svg",
- + "SVGRenderingIntent" => "WebCore/svg",
- + "SVGScriptElement" => "WebCore/svg",
- + "SVGSetElement" => "WebCore/svg",
- + "SVGStopElement" => "WebCore/svg",
- + "SVGStringList" => "WebCore/svg",
- + "SVGStyledElement" => "WebCore/svg",
- + "SVGStyleElement" => "WebCore/svg",
- + "SVGSVGElement" => "WebCore/svg",
- + "SVGSwitchElement" => "WebCore/svg",
- + "SVGSymbolElement" => "WebCore/svg",
- + "SVGTests" => "WebCore/svg",
- + "SVGTextContentElement" => "WebCore/svg",
- + "SVGTextElement" => "WebCore/svg",
- + "SVGTextPathElement" => "WebCore/svg",
- + "SVGTextPositioningElement" => "WebCore/svg",
- + "SVGTitleElement" => "WebCore/svg",
- + "SVGTransform" => "WebCore/svg",
- + "SVGTransformable" => "WebCore/svg",
- + "SVGTransformList" => "WebCore/svg",
- + "SVGTRefElement" => "WebCore/svg",
- + "SVGTSpanElement" => "WebCore/svg",
- + "SVGUnitTypes" => "WebCore/svg",
- + "SVGURIReference" => "WebCore/svg",
- + "SVGUseElement" => "WebCore/svg",
- + "SVGViewElement" => "WebCore/svg",
- + "SVGViewSpec" => "WebCore/svg",
- + "SVGVKernElement" => "WebCore/svg",
- + "SVGZoomAndPan" => "WebCore/svg",
- + "SVGZoomEvent" => "WebCore/svg",
- + "Internals" => "WebCore/testing",
- + "InternalSettings" => "WebCore/testing",
- + "MallocStatistics" => "WebCore/testing",
- + "TypeConversions" => "WebCore/testing",
- + "AbstractWorker" => "WebCore/workers",
- + "DedicatedWorkerContext" => "WebCore/workers",
- + "SharedWorker" => "WebCore/workers",
- + "SharedWorkerContext" => "WebCore/workers",
- + "Worker" => "WebCore/workers",
- + "WorkerContext" => "WebCore/workers",
- + "WorkerLocation" => "WebCore/workers",
- + "DOMParser" => "WebCore/xml",
- + "XMLHttpRequest" => "WebCore/xml",
- + "XMLHttpRequestException" => "WebCore/xml",
- + "XMLHttpRequestProgressEvent" => "WebCore/xml",
- + "XMLHttpRequestUpload" => "WebCore/xml",
- + "XMLSerializer" => "WebCore/xml",
- + "XPathEvaluator" => "WebCore/xml",
- + "XPathException" => "WebCore/xml",
- + "XPathExpression" => "WebCore/xml",
- + "XPathNSResolver" => "WebCore/xml",
- + "XPathResult" => "WebCore/xml",
- + "XSLTProcessor" => "WebCore/xml",
- + "HTMLBDIElement" => "WebCore/html",
- + "HTMLSummaryElement" => "WebCore/html",
- + "InternalSettingsGenerated" => "..",
- +);
- +
- +sub idl_to_path
- +{
- + my $interface = shift;
- +
- + if ($idl_to_path_hash{$interface}) {
- + return $idl_to_path_hash{$interface} . '/';
- + } elsif ($interface =~ /^SVGPath/ && $idl_to_path_hash{$interface . "Abs"}) {
- + return $idl_to_path_hash{$interface . "Abs"} . '/';
- + } else {
- + return 'fixmebratell89/';
- + }
- +}
- +1;
- diff --git a/third_party/WebKit/Source/WebCore/css/makeprop.pl b/third_party/WebKit/Source/WebCore/css/makeprop.pl
- index 7734356..0579f8f 100644
- --- a/third_party/WebKit/Source/WebCore/css/makeprop.pl
- +++ b/third_party/WebKit/Source/WebCore/css/makeprop.pl
- @@ -64,9 +64,10 @@ open GPERF, ">CSSPropertyNames.gperf" || die "Could not open CSSPropertyNames.gp
- print GPERF << "EOF";
- %{
- /* This file is automatically generated from CSSPropertyNames.in by makeprop, do not edit */
- +/* TODO: bratell - add paths? */
- #include "config.h"
- #include \"CSSPropertyNames.h\"
- -#include \"HashTools.h\"
- +#include \"platform/HashTools.h\"
- #include <string.h>
- #include <wtf/ASCIICType.h>
- diff --git a/third_party/WebKit/Source/WebCore/css/makevalues.pl b/third_party/WebKit/Source/WebCore/css/makevalues.pl
- index 9c9fb57..a4d5b07 100644
- --- a/third_party/WebKit/Source/WebCore/css/makevalues.pl
- +++ b/third_party/WebKit/Source/WebCore/css/makevalues.pl
- @@ -63,7 +63,7 @@ print GPERF << "EOF";
- /* This file is automatically generated from CSSValueKeywords.in by makevalues, do not edit */
- #include \"CSSValueKeywords.h\"
- -#include \"HashTools.h\"
- +#include \"platform/HashTools.h\"
- #include <string.h>
- namespace WebCore {
- diff --git a/third_party/WebKit/Source/WebCore/dom/make_dom_exceptions.pl b/third_party/WebKit/Source/WebCore/dom/make_dom_exceptions.pl
- index e12c81c..07aef94 100644
- --- a/third_party/WebKit/Source/WebCore/dom/make_dom_exceptions.pl
- +++ b/third_party/WebKit/Source/WebCore/dom/make_dom_exceptions.pl
- @@ -34,6 +34,10 @@ use strict;
- use InFilesCompiler;
- +use FindBin; # locate this script
- +use lib "$FindBin::Bin/../bindings/script"; # use the binding generator directory.
- +use idltopath;
- +
- my %defaultParameters = (
- 'namespace' => 0
- );
- @@ -141,18 +145,19 @@ sub generateImplementation()
- print F "#include \"config.h\"\n";
- print F "#include \"ExceptionCodeDescription.h\"\n";
- print F "\n";
- - print F "#include \"ExceptionCode.h\"\n";
- + print F "#include \"WebCore/dom/ExceptionCode.h\"\n";
- for my $exceptionType (sort keys %parsedItems) {
- my $conditional = $parsedItems{$exceptionType}{"conditional"};
- print F "#if ENABLE($conditional)\n" if $conditional;
- - print F "#include \"$exceptionType.h\"\n";
- + my $exceptionpath = idl_to_path($exceptionType);
- + print F "#include \"$exceptionpath$exceptionType.h\" // fixmebratell55\n";
- print F "#endif\n" if $conditional;
- }
- print F "#if ENABLE(INDEXED_DATABASE)\n";
- - print F "#include \"IDBDatabaseException.h\"\n";
- + print F "#include \"WebCore/Modules/indexeddb/IDBDatabaseException.h\"\n";
- print F "#endif\n";
- print F "\n";
- diff --git a/third_party/WebKit/Source/WebCore/dom/make_event_factory.pl b/third_party/WebKit/Source/WebCore/dom/make_event_factory.pl
- index 8ca4540..f822102 100644
- --- a/third_party/WebKit/Source/WebCore/dom/make_event_factory.pl
- +++ b/third_party/WebKit/Source/WebCore/dom/make_event_factory.pl
- @@ -83,11 +83,11 @@ sub generateImplementation()
- print F $InCompiler->license();
- print F "#include \"config.h\"\n";
- - print F "#include \"${namespace}Factory.h\"\n";
- + print F "#include \"WebCore/dom/${namespace}Factory.h\" // fixmebratell65\n";
- print F "\n";
- - print F "#include \"${namespace}Headers.h\"\n";
- + print F "#include \"${namespace}Headers.h\" // fixmebratell66\n";
- print F "#if USE(V8)\n";
- - print F "#include \"RuntimeEnabledFeatures.h\"\n";
- + print F "#include \"WebCore/bindings/generic/RuntimeEnabledFeatures.h\"\n";
- print F "#endif\n";
- print F "\n";
- print F "namespace WebCore {\n";
- diff --git a/third_party/WebKit/Source/WebCore/dom/make_names.pl b/third_party/WebKit/Source/WebCore/dom/make_names.pl
- index 341eac0..4a21a46 100755
- --- a/third_party/WebKit/Source/WebCore/dom/make_names.pl
- +++ b/third_party/WebKit/Source/WebCore/dom/make_names.pl
- @@ -38,6 +38,14 @@ use File::Spec;
- use IO::File;
- use InFilesParser;
- +use FindBin; # locate this script
- +use lib "$FindBin::Bin/../bindings/script"; # use the binding generator directory.
- +use idltopath;
- +
- +use FindBin; # locate this script
- +use lib "$FindBin::Bin/../bindings/script"; # use the binding generator directory.
- +use idltopath;
- +
- sub readTags($$);
- sub readAttrs($$);
- @@ -499,7 +507,9 @@ sub printHeaderHead
- print F "#ifndef ${prefix}_${nsName}Names_h\n";
- print F "#define ${prefix}_${nsName}Names_h\n\n";
- + print F "// Start include block fixmebratell51\n";
- print F "$includes\n\n";
- + print F "// End include block fixmebratell51\n";
- print F "namespace WebCore {\n\n";
- print F "namespace ${nsName}Names {\n\n";
- @@ -518,7 +528,7 @@ sub printCppHead
- print F "#define QNAME_DEFAULT_CONSTRUCTOR 1\n";
- print F "#endif\n\n";
- - print F "#include \"${nsName}Names.h\"\n\n";
- + print F "#include \"${nsName}Names.h\" // fixmesomedirbratell19\n\n";
- print F "#include <wtf/StaticConstructors.h>\n";
- print F "namespace WebCore {\n\n";
- @@ -592,7 +602,7 @@ sub printNamesHeaderFile
- open F, ">$headerPath";
- printLicenseHeader($F);
- - printHeaderHead($F, "DOM", $parameters{namespace}, "#include \"QualifiedName.h\"");
- + printHeaderHead($F, "DOM", $parameters{namespace}, "#include \"WebCore/dom/QualifiedName.h\"");
- my $lowerNamespace = lc($parameters{namespacePrefix});
- print F "// Namespace\n";
- @@ -701,9 +711,10 @@ sub printJSElementIncludes
- }
- $tagsSeen{$JSInterfaceName} = 1;
- - print F "#include \"${wrapperFactoryType}${JSInterfaceName}.h\"\n";
- + # V8HTMLElementWrapperFactory.cpp that uses this code is generated into "webkit" and for instance V8HTMLAnchorElement.h is in "webkit/bindings"
- + print F "#include \"bindings/${wrapperFactoryType}${JSInterfaceName}.h\" // fixmesomedirbratell1\n";
- }
- - print F "#include \"${wrapperFactoryType}$parameters{fallbackInterfaceName}.h\"\n";
- + print F "#include \"bindings/${wrapperFactoryType}$parameters{fallbackInterfaceName}.h\" // fixmesomedirbratell2\n";
- }
- sub printElementIncludes
- @@ -720,9 +731,11 @@ sub printElementIncludes
- }
- $tagsSeen{$interfaceName} = 1;
- - print F "#include \"${interfaceName}.h\"\n";
- + my $includepath = idl_to_path($interfaceName);
- + print F "#include \"${includepath}${interfaceName}.h\" // fixmesomedirbratell3\n";
- }
- - print F "#include \"$parameters{fallbackInterfaceName}.h\"\n";
- + my $fallbackincludepath = idl_to_path($parameters{fallbackInterfaceName});
- + print F "#include \"$fallbackincludepath$parameters{fallbackInterfaceName}.h\" // fixmesomedirbratell4\n";
- }
- sub printConditionalElementIncludes
- @@ -751,12 +764,13 @@ sub printConditionalElementIncludes
- print F "\n#if ENABLE($conditional)\n";
- for my $interfaceName (sort keys %{$conditionals{$conditional}{interfaceNames}}) {
- next if $unconditionalElementIncludes{$interfaceName};
- - print F "#include \"$interfaceName.h\"\n";
- + my $includepath = idl_to_path($interfaceName);
- + print F "#include \"$includepath$interfaceName.h\" // fixmesomedirbratell5\n";
- }
- if ($wrapperFactoryType) {
- for my $JSInterfaceName (sort keys %{$conditionals{$conditional}{JSInterfaceNames}}) {
- next if $unconditionalJSElementIncludes{$JSInterfaceName};
- - print F "#include \"$wrapperFactoryType$JSInterfaceName.h\"\n";
- + print F "#include \"$wrapperFactoryType$JSInterfaceName.h\" // fixmesomedirbratell6\n";
- }
- }
- print F "#endif\n";
- @@ -807,8 +821,8 @@ END
- print F "\n#if $parameters{guardFactoryWith}\n\n" if $parameters{guardFactoryWith};
- print F <<END
- -#include "$parameters{namespace}ElementFactory.h"
- -#include "$parameters{namespace}Names.h"
- +#include "$parameters{namespace}ElementFactory.h" // fixmesomedirbratell7
- +#include "$parameters{namespace}Names.h" // fixmesomedirbratell8
- END
- ;
- @@ -820,12 +834,12 @@ printConditionalElementIncludes($F);
- print F <<END
- -#include "ContextFeatures.h"
- -#include "RuntimeEnabledFeatures.h"
- +#include "WebCore/dom/ContextFeatures.h"
- +#include "WebCore/bindings/generic/RuntimeEnabledFeatures.h"
- #if ENABLE(DASHBOARD_SUPPORT) || ENABLE(VIDEO)
- -#include "Document.h"
- -#include "Settings.h"
- +#include "WebCore/dom/Document.h"
- +#include "WebCore/page/Settings.h"
- #endif
- namespace WebCore {
- @@ -1154,12 +1168,12 @@ sub printWrapperFactoryCppFile
- print F <<END
- -#include "ContextFeatures.h"
- -#include "RuntimeEnabledFeatures.h"
- +#include "WebCore/dom/ContextFeatures.h"
- +#include "WebCore/bindings/generic/RuntimeEnabledFeatures.h"
- #if ENABLE(VIDEO)
- -#include "Document.h"
- -#include "Settings.h"
- +#include "WebCore/dom/Document.h"
- +#include "WebCore/page/Settings.h"
- #endif
- END
- @@ -1172,8 +1186,8 @@ END
- ;
- } elsif ($wrapperFactoryType eq "V8") {
- print F <<END
- -#include "V8HTMLCustomElement.h"
- -#include "V8$parameters{namespace}Element.h"
- +#include "WebCore/bindings/v8/V8HTMLCustomElement.h" // fixmesomedirbratell9.0
- +#include "V8$parameters{namespace}Element.h" // fixmesomedirbratell9.1
- #include <v8.h>
- END
- @@ -1337,8 +1351,8 @@ END
- ;
- } elsif ($wrapperFactoryType eq "V8") {
- print F <<END
- -#include <V8$parameters{namespace}Element.h>
- -#include <V8$parameters{fallbackInterfaceName}.h>
- +#include <bindings/V8$parameters{namespace}Element.h> // fixmesomedirbratell10
- +#include <bindings/V8$parameters{fallbackInterfaceName}.h> // fixmesomedirbratell11
- #include <v8.h>
- namespace WebCore {
- diff --git a/third_party/WebKit/Source/WebCore/html/parser/create-html-entity-table b/third_party/WebKit/Source/WebCore/html/parser/create-html-entity-table
- index 28a880e..0f7e3aa 100755
- --- a/third_party/WebKit/Source/WebCore/html/parser/create-html-entity-table
- +++ b/third_party/WebKit/Source/WebCore/html/parser/create-html-entity-table
- @@ -105,7 +105,7 @@ output_file.write("""/*
- // DO NOT EDIT (unless you are a ninja)!
- #include "config.h"
- -#include "HTMLEntityTable.h"
- +#include "html/parser/HTMLEntityTable.h"
- namespace WebCore {
- diff --git a/third_party/WebKit/Source/WebCore/inspector/CodeGeneratorInspectorStrings.py b/third_party/WebKit/Source/WebCore/inspector/CodeGeneratorInspectorStrings.py
- index f7204d1..b513519 100644
- --- a/third_party/WebKit/Source/WebCore/inspector/CodeGeneratorInspectorStrings.py
- +++ b/third_party/WebKit/Source/WebCore/inspector/CodeGeneratorInspectorStrings.py
- @@ -87,7 +87,7 @@ frontend_h = (
- #define InspectorFrontend_h
- #include "InspectorTypeBuilder.h"
- -#include "InspectorValues.h"
- +#include "WebCore/inspector/InspectorValues.h"
- #include <wtf/PassRefPtr.h>
- #include <wtf/text/WTFString.h>
- @@ -211,7 +211,7 @@ backend_cpp = (
- #include <wtf/text/CString.h>
- #include "InspectorAgent.h"
- -#include "InspectorValues.h"
- +#include "WebCore/inspector/InspectorValues.h"
- #include "InspectorFrontendChannel.h"
- #include <wtf/text/WTFString.h>
- @@ -518,7 +518,7 @@ frontend_cpp = (
- #include <wtf/text/CString.h>
- #include "InspectorFrontendChannel.h"
- -#include "InspectorValues.h"
- +#include "WebCore/inspector/InspectorValues.h"
- #include <wtf/text/WTFString.h>
- namespace WebCore {
- @@ -541,7 +541,7 @@ typebuilder_h = (
- #if ENABLE(INSPECTOR)
- -#include "InspectorValues.h"
- +#include "WebCore/inspector/InspectorValues.h"
- #include <wtf/Assertions.h>
- #include <wtf/PassRefPtr.h>
- diff --git a/third_party/WebKit/Source/WebCore/page/make_settings.pl b/third_party/WebKit/Source/WebCore/page/make_settings.pl
- index e63e1bb..d507bbc 100755
- --- a/third_party/WebKit/Source/WebCore/page/make_settings.pl
- +++ b/third_party/WebKit/Source/WebCore/page/make_settings.pl
- @@ -383,7 +383,7 @@ sub generateInternalSettingsHeaderFile($)
- #ifndef InternalSettingsGenerated_h
- #define InternalSettingsGenerated_h
- -#include "RefCountedSupplement.h"
- +#include "WebCore/platform/RefCountedSupplement.h"
- #include <wtf/PassRefPtr.h>
- #include <wtf/RefCounted.h>
- #include <wtf/text/WTFString.h>
- @@ -450,8 +450,8 @@ sub generateInternalSettingsCppFile($)
- #include "config.h"
- #include "InternalSettingsGenerated.h"
- -#include "Page.h"
- -#include "Settings.h"
- +#include "WebCore/page/Page.h"
- +#include "WebCore/page/Settings.h"
- namespace WebCore {
- diff --git a/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp b/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp
- index 89dbae3..a92c2fa 100644
- --- a/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp
- +++ b/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp
- @@ -832,7 +832,7 @@
- 'include_dirs': [
- 'public',
- '../../WebCore/testing/v8', # for WebCoreTestSupport.h, needed to link in window.internals code.
- - '../../Platform/chromium/',
- + '../..',
- ],
- 'sources': [
- 'src/WebTestingSupport.cpp',
- diff --git a/webkit/compositor_bindings/compositor_bindings.gyp b/webkit/compositor_bindings/compositor_bindings.gyp
- index 9afddfb..57c419a 100644
- --- a/webkit/compositor_bindings/compositor_bindings.gyp
- +++ b/webkit/compositor_bindings/compositor_bindings.gyp
- @@ -89,6 +89,9 @@
- 'sources': [
- '<@(webkit_compositor_bindings_sources)',
- ],
- + 'include_dirs': [
- + '<(webkit_src_dir)/Source',
- + ],
- 'defines': [
- 'WEBKIT_COMPOSITOR_BINDINGS_IMPLEMENTATION=1'
- ]
- --
- 1.7.11.msysgit.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement