Changeset 65808 in webkit


Ignore:
Timestamp:
Aug 23, 2010 6:58:51 AM (14 years ago)
Author:
abecsi@webkit.org
Message:

2010-08-23 Balazs Kelemen <kb@inf.u-szeged.hu>

Reviewed by Ariya Hidayat.

[Qt] Find needed forwarding headers for WebKit2 automatically
https://bugs.webkit.org/show_bug.cgi?id=44336

  • MiniBrowser/qt/BrowserWindow.cpp: Use normal (not framework style) includes here. The new script does not satisfy the needs of this file however using normal includes is generally better here.
  • MiniBrowser/qt/MiniBrowser.pro: Added include paths.
  • Scripts/enumerate-included-framework-headers: Enumerates headers included from the given frameworks by files in the current directory (and subdirectories). In the future this needs to be rewritten in perl for being able to use on Windows.

2010-08-23 Balazs Kelemen <kb@inf.u-szeged.hu>

Reviewed by Ariya Hidayat.

[Qt] Find needed forwarding headers for WebKit2 automatically
https://bugs.webkit.org/show_bug.cgi?id=44336

  • DerivedSources.pro: Use the new enumerate-included-framework-headers script for generating the list of forwarding headers we want to create.
Location:
trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit2/ChangeLog

    r65805 r65808  
     12010-08-23  Balazs Kelemen  <kb@inf.u-szeged.hu>
     2
     3        Reviewed by Ariya Hidayat.
     4
     5        [Qt] Find needed forwarding headers for WebKit2 automatically
     6        https://bugs.webkit.org/show_bug.cgi?id=44336
     7
     8        * DerivedSources.pro: Use the new enumerate-included-framework-headers script for generating
     9        the list of forwarding headers we want to create.
     10
    1112010-08-23  Zoltan Horvath  <zoltan@webkit.org>
    212
  • trunk/WebKit2/DerivedSources.pro

    r65805 r65808  
    44CONFIG -= debug_and_release
    55
    6 WEBCORE_HEADERS_FOR_WEBKIT2 += \
    7     bindings/js/DOMWrapperWorld.h \
    8     bindings/js/GCController.h \
    9     bindings/js/JSPluginElementFunctions.h \
    10     bindings/js/ScriptController.h \
    11     bridge/IdentifierRep.h \
    12     bridge/npruntime_internal.h \
    13     config.h \
    14     css/CSSComputedStyleDeclaration.h \
    15     dom/Event.h \
    16     dom/KeyboardEvent.h \
    17     dom/Node.h \
    18     dom/Range.h \
    19     dom/UIEventWithKeyState.h \
    20     dom/UserTypingGestureIndicator.h \
    21     editing/EditCommand.h \
    22     editing/EditorInsertAction.h \
    23     editing/TextAffinity.h \
    24     history/BackForwardControllerClient.h \
    25     history/BackForwardList.h \
    26     history/HistoryItem.h \
    27     html/HTMLInputElement.h \
    28     html/HTMLFormElement.h \
    29     html/HTMLFrameOwnerElement.h \
    30     html/HTMLPlugInElement.h \
    31     html/HTMLTextAreaElement.h \
    32     inspector/InspectorClient.h \
    33     loader/appcache/ApplicationCacheStorage.h \
    34     loader/Cache.h \
    35     loader/DocumentLoader.h \
    36     loader/FormState.h \
    37     loader/FrameLoaderClient.h \
    38     loader/FrameLoader.h \
    39     loader/FrameLoaderTypes.h \
    40     loader/NetscapePlugInStreamLoader.h \
    41     loader/PolicyChecker.h \
    42     loader/ProgressTracker.h \
    43     page/animation/AnimationController.h \
    44     page/ChromeClient.h \
    45     page/Chrome.h \
    46     page/ContextMenuClient.h \
    47     page/DragClient.h \
    48     page/EditorClient.h \
    49     page/EventHandler.h \
    50     page/FocusController.h \
    51     page/Frame.h \
    52     page/FrameLoadRequest.h \
    53     page/FrameView.h \
    54     page/MediaCanStartListener.h \
    55     page/PageGroup.h \
    56     page/Page.h \
    57     page/SecurityOrigin.h \
    58     page/Settings.h \
    59     page/WindowFeatures.h \
    60     page/ZoomMode.h \
    61     platform/Cursor.h \
    62     platform/FileChooser.h \
    63     platform/FileSystem.h \
    64     platform/graphics/FloatRect.h \
    65     platform/graphics/FontRenderingMode.h \
    66     platform/graphics/GraphicsContext.h \
    67     platform/graphics/GraphicsLayerClient.h \
    68     platform/graphics/GraphicsLayer.h \
    69     platform/graphics/IntPoint.h \
    70     platform/graphics/IntRect.h \
    71     platform/graphics/IntSize.h \
    72     platform/HostWindow.h \
    73     platform/KURL.h \
    74     platform/LinkHash.h \
    75     platform/LocalizationStrategy.h \
    76     platform/MIMETypeRegistry.h \
    77     platform/network/android/ResourceError.h \
    78     platform/network/android/ResourceRequest.h \
    79     platform/network/android/ResourceResponse.h \
    80     platform/network/HTTPHeaderMap.h \
    81     platform/PlatformKeyboardEvent.h \
    82     platform/PlatformMouseEvent.h \
    83     platform/PlatformStrategies.h \
    84     platform/PlatformTouchPoint.h \
    85     platform/PlatformTouchEvent.h \
    86     platform/PlatformWheelEvent.h \
    87     platform/PopupMenu.h \
    88     platform/PopupMenuClient.h \
    89     platform/SchemeRegistry.h \
    90     platform/ScrollView.h \
    91     platform/SearchPopupMenu.h \
    92     platform/SharedBuffer.h \
    93     platform/text/PlatformString.h \
    94     platform/Widget.h \
    95     platform/win/BitmapInfo.h \
    96     platform/WindowsKeyboardCodes.h \
    97     platform/win/WebCoreInstanceHandle.h \
    98     platform/win/WindowMessageBroadcaster.h \
    99     platform/win/WindowMessageListener.h \
    100     plugins/npfunctions.h \
    101     plugins/PluginData.h \
    102     plugins/PluginStrategy.h \
    103     plugins/PluginViewBase.h \
    104     rendering/RenderLayer.h \
    105     rendering/RenderTreeAsText.h \
     6WEBCORE_HEADERS_FOR_WEBKIT2 = $$system(../WebKitTools/Scripts/enumerate-included-framework-headers WebCore)
     7JSC_HEADERS_FOR_WEBKIT2 = $$system(../WebKitTools/Scripts/enumerate-included-framework-headers JavaScriptCore)
     8WEBKIT2_API_HEADERS = $$system(../WebKitTools/Scripts/enumerate-included-framework-headers WebKit2)
    1069
    10710WEBCORE_GENERATED_HEADERS_FOR_WEBKIT2 += \
     
    11114    $$OUTPUT_DIR/WebCore/generated/JSElement.h \
    11215    $$OUTPUT_DIR/WebCore/generated/JSHTMLElement.h \
    113 
    114 JSC_HEADERS_FOR_WEBKIT2 += \
    115     API/APICast.h \
    116     API/JavaScript.h \
    117     API/JSBase.h \
    118     runtime/Error.h \
    119     runtime/FunctionPrototype.h \
    120     runtime/InternalFunction.h \
    121     runtime/JSGlobalObject.h \
    122     runtime/JSLock.h \
    123     runtime/JSObject.h \
    124     runtime/JSObjectWithGlobalObject.h \
    125     runtime/ObjectPrototype.h \
    126     runtime/Protect.h \
    127     parser/SourceCode.h \
    128     wtf/Platform.h \
    129     wtf/text/StringHash.h \
    130 
    131 WEBKIT2_API_HEADERS += \
    132     UIProcess/API/C/WKAPICast.h \
    133     UIProcess/API/C/WKBase.h \
    134     UIProcess/API/C/WKContext.h \
    135     UIProcess/API/C/WKContextPrivate.h \
    136     UIProcess/API/C/WKFrame.h \
    137     UIProcess/API/C/WKFramePolicyListener.h \
    138     UIProcess/API/C/WKNavigationData.h \
    139     UIProcess/API/C/WKPage.h \
    140     UIProcess/API/C/WKPageNamespace.h \
    141     UIProcess/API/C/WKPagePrivate.h \
    142     UIProcess/API/C/WKPreferences.h \
    143     UIProcess/API/C/WKString.h \
    144     UIProcess/API/C/WKType.h \
    145     UIProcess/API/C/WKURL.h \
    146     UIProcess/API/C/WebKit2.h \
    147     UIProcess/API/cpp/WKRetainPtr.h \
    148     UIProcess/API/qt/qgraphicswkview.h \
    149     UIProcess/API/qt/qwkpage.h \
    150     WebProcess/InjectedBundle/API/c/WKBundleBase.h \
    151     WebProcess/InjectedBundle/API/c/WKBundlePage.h \
    15216
    15317
  • trunk/WebKitTools/ChangeLog

    r65792 r65808  
     12010-08-23  Balazs Kelemen  <kb@inf.u-szeged.hu>
     2
     3        Reviewed by Ariya Hidayat.
     4
     5        [Qt] Find needed forwarding headers for WebKit2 automatically
     6        https://bugs.webkit.org/show_bug.cgi?id=44336
     7
     8        * MiniBrowser/qt/BrowserWindow.cpp: Use normal (not framework style) includes here.
     9        The new script does not satisfy the needs of this file however using normal includes
     10        is generally better here.
     11        * MiniBrowser/qt/MiniBrowser.pro: Added include paths.
     12        * Scripts/enumerate-included-framework-headers: Enumerates headers included from the
     13        given frameworks by files in the current directory (and subdirectories).
     14        In the future this needs to be rewritten in perl for being able to use on Windows.
     15
    1162010-08-22  No'am Rosenthal  <noam.rosenthal@nokia.com>
    217
  • trunk/WebKitTools/MiniBrowser/qt/BrowserWindow.cpp

    r63698 r65808  
    2828
    2929#include "BrowserWindow.h"
    30 #include <WebKit2/WKPageNamespace.h>
    31 #include <WebKit2/qwkpage.h>
     30#include "WKPageNamespace.h"
     31#include "qwkpage.h"
    3232
    3333static QWKPage* createNewPage(QWKPage* page)
  • trunk/WebKitTools/MiniBrowser/qt/MiniBrowser.pro

    r62956 r65808  
    1414include(../../../WebKit.pri)
    1515
    16 INCLUDEPATH += $$OUTPUT_DIR/include
     16INCLUDEPATH += \
     17    $$PWD/../../../WebKit2/UIProcess/API/C \
     18    $$PWD/../../../WebKit2/UIProcess/API/qt \
     19    $$OUTPUT_DIR/include
     20
    1721
    1822DESTDIR = $$OUTPUT_DIR/bin
Note: See TracChangeset for help on using the changeset viewer.