Commit caabc53f authored by rniwa@webkit.org's avatar rniwa@webkit.org

Remove the top level gyp directory and Platform/chromium

https://bugs.webkit.org/show_bug.cgi?id=113999

Reviewed by Benjamin Poulain.

.: 

* Source/Platform: Removed.
* Source/gyp: Removed.

Source/Platform: 

* Platform.gyp: Removed.
* Platform.gyp/.gitignore: Removed.
* Platform.gyp/Platform.gyp: Removed.
* Platform.gypi: Removed.
* chromium: Removed.
* chromium/public: Removed.
* chromium/public/Platform.h: Removed.
* chromium/public/WebAnimation.h: Removed.
* chromium/public/WebAnimationCurve.h: Removed.
* chromium/public/WebAnimationDelegate.h: Removed.
* chromium/public/WebAudioBus.h: Removed.
* chromium/public/WebAudioDestinationConsumer.h: Removed.
* chromium/public/WebAudioDevice.h: Removed.
* chromium/public/WebBlobData.h: Removed.
* chromium/public/WebBlobRegistry.h: Removed.
* chromium/public/WebCString.h: Removed.
* chromium/public/WebCanvas.h: Removed.
* chromium/public/WebClipboard.h: Removed.
* chromium/public/WebColor.h: Removed.
* chromium/public/WebCommon.h: Removed.
* chromium/public/WebCompositorOutputSurface.h: Removed.
* chromium/public/WebCompositorSupport.h: Removed.
* chromium/public/WebContentLayer.h: Removed.
* chromium/public/WebContentLayerClient.h: Removed.
* chromium/public/WebCookie.h: Removed.
* chromium/public/WebCookieJar.h: Removed.
* chromium/public/WebData.h: Removed.
* chromium/public/WebDiscardableMemory.h: Removed.
* chromium/public/WebDragData.h: Removed.
* chromium/public/WebExternalTextureLayer.h: Removed.
* chromium/public/WebExternalTextureLayerClient.h: Removed.
* chromium/public/WebFileError.h: Removed.
* chromium/public/WebFileInfo.h: Removed.
* chromium/public/WebFileSystem.h: Removed.
* chromium/public/WebFileSystemCallbacks.h: Removed.
* chromium/public/WebFileSystemEntry.h: Removed.
* chromium/public/WebFileSystemType.h: Removed.
* chromium/public/WebFileUtilities.h: Removed.
* chromium/public/WebFilterOperation.h: Removed.
* chromium/public/WebFilterOperations.h: Removed.
* chromium/public/WebFlingAnimator.h: Removed.
* chromium/public/WebFloatAnimationCurve.h: Removed.
* chromium/public/WebFloatKeyframe.h: Removed.
* chromium/public/WebFloatPoint.h: Removed.
* chromium/public/WebFloatQuad.h: Removed.
* chromium/public/WebFloatRect.h: Removed.
* chromium/public/WebFloatSize.h: Removed.
* chromium/public/WebGamepad.h: Removed.
* chromium/public/WebGamepads.h: Removed.
* chromium/public/WebGestureCurve.h: Removed.
* chromium/public/WebGestureCurveTarget.h: Removed.
* chromium/public/WebGraphicsContext3D.h: Removed.
* chromium/public/WebGraphicsMemoryAllocation.h: Removed.
* chromium/public/WebGraphicsMemoryStats.h: Removed.
* chromium/public/WebHTTPBody.h: Removed.
* chromium/public/WebHTTPHeaderVisitor.h: Removed.
* chromium/public/WebHTTPLoadInfo.h: Removed.
* chromium/public/WebHyphenator.h: Removed.
* chromium/public/WebImage.h: Removed.
* chromium/public/WebImageLayer.h: Removed.
* chromium/public/WebInputHandler.h: Removed.
* chromium/public/WebInputHandlerClient.h: Removed.
* chromium/public/WebLayer.h: Removed.
* chromium/public/WebLayerPositionConstraint.h: Removed.
* chromium/public/WebLayerScrollClient.h: Removed.
* chromium/public/WebLayerTreeView.h: Removed.
* chromium/public/WebLocalizedString.h: Removed.
* chromium/public/WebMediaConstraints.h: Removed.
* chromium/public/WebMediaStream.h: Removed.
* chromium/public/WebMediaStreamCenter.h: Removed.
* chromium/public/WebMediaStreamCenterClient.h: Removed.
* chromium/public/WebMediaStreamSource.h: Removed.
* chromium/public/WebMediaStreamSourcesRequest.h: Removed.
* chromium/public/WebMediaStreamTrack.h: Removed.
* chromium/public/WebMessagePortChannel.h: Removed.
* chromium/public/WebMessagePortChannelClient.h: Removed.
* chromium/public/WebMimeRegistry.h: Removed.
* chromium/public/WebNonCopyable.h: Removed.
* chromium/public/WebPluginListBuilder.h: Removed.
* chromium/public/WebPoint.h: Removed.
* chromium/public/WebPrerender.h: Removed.
* chromium/public/WebPrerenderingSupport.h: Removed.
* chromium/public/WebPrivateOwnPtr.h: Removed.
* chromium/public/WebPrivatePtr.h: Removed.
* chromium/public/WebRTCConfiguration.h: Removed.
* chromium/public/WebRTCDTMFSenderHandler.h: Removed.
* chromium/public/WebRTCDTMFSenderHandlerClient.h: Removed.
* chromium/public/WebRTCDataChannelHandler.h: Removed.
* chromium/public/WebRTCDataChannelHandlerClient.h: Removed.
* chromium/public/WebRTCICECandidate.h: Removed.
* chromium/public/WebRTCPeerConnectionHandler.h: Removed.
* chromium/public/WebRTCPeerConnectionHandlerClient.h: Removed.
* chromium/public/WebRTCSessionDescription.h: Removed.
* chromium/public/WebRTCSessionDescriptionRequest.h: Removed.
* chromium/public/WebRTCStatsRequest.h: Removed.
* chromium/public/WebRTCStatsResponse.h: Removed.
* chromium/public/WebRTCVoidRequest.h: Removed.
* chromium/public/WebRect.h: Removed.
* chromium/public/WebReferrerPolicy.h: Removed.
* chromium/public/WebRenderingStats.h: Removed.
* chromium/public/WebScreenInfo.h: Removed.
* chromium/public/WebScrollbar.h: Removed.
* chromium/public/WebScrollbarLayer.h: Removed.
* chromium/public/WebScrollbarThemeGeometry.h: Removed.
* chromium/public/WebScrollbarThemePainter.h: Removed.
* chromium/public/WebSize.h: Removed.
* chromium/public/WebSocketStreamError.h: Removed.
* chromium/public/WebSocketStreamHandle.h: Removed.
* chromium/public/WebSocketStreamHandleClient.h: Removed.
* chromium/public/WebSolidColorLayer.h: Removed.
* chromium/public/WebSpeechSynthesisUtterance.h: Removed.
* chromium/public/WebSpeechSynthesisVoice.h: Removed.
* chromium/public/WebSpeechSynthesizer.h: Removed.
* chromium/public/WebSpeechSynthesizerClient.h: Removed.
* chromium/public/WebStorageArea.h: Removed.
* chromium/public/WebStorageNamespace.h: Removed.
* chromium/public/WebString.h: Removed.
* chromium/public/WebThread.h: Removed.
* chromium/public/WebThreadSafeData.h: Removed.
* chromium/public/WebTransformAnimationCurve.h: Removed.
* chromium/public/WebTransformKeyframe.h: Removed.
* chromium/public/WebTransformOperations.h: Removed.
* chromium/public/WebURL.h: Removed.
* chromium/public/WebURLError.h: Removed.
* chromium/public/WebURLLoadTiming.h: Removed.
* chromium/public/WebURLLoader.h: Removed.
* chromium/public/WebURLLoaderClient.h: Removed.
* chromium/public/WebURLRequest.h: Removed.
* chromium/public/WebURLResponse.h: Removed.
* chromium/public/WebUnitTestSupport.h: Removed.
* chromium/public/WebVector.h: Removed.
* chromium/public/WebWorkerRunLoop.h: Removed.
* chromium/public/android: Removed.
* chromium/public/android/WebSandboxSupport.h: Removed.
* chromium/public/android/WebThemeEngine.h: Removed.
* chromium/public/default: Removed.
* chromium/public/default/WebThemeEngine.h: Removed.
* chromium/public/linux: Removed.
* chromium/public/linux/WebFontFamily.h: Removed.
* chromium/public/linux/WebFontInfo.h: Removed.
* chromium/public/linux/WebFontRenderStyle.h: Removed.
* chromium/public/linux/WebSandboxSupport.h: Removed.
* chromium/public/mac: Removed.
* chromium/public/mac/WebSandboxSupport.h: Removed.
* chromium/public/mac/WebThemeEngine.h: Removed.
* chromium/public/win: Removed.
* chromium/public/win/WebSandboxSupport.h: Removed.
* chromium/public/win/WebThemeEngine.h: Removed.
* chromium/src: Removed.
* chromium/src/Platform.cpp: Removed.
* chromium/src/WebActiveGestureAnimation.cpp: Removed.
* chromium/src/WebActiveGestureAnimation.h: Removed.
* chromium/src/WebCString.cpp: Removed.
* chromium/src/WebFilterOperation.cpp: Removed.
* chromium/src/WebFilterOperations.cpp: Removed.
* chromium/src/WebFloatQuad.cpp: Removed.
* chromium/src/WebPrerenderingSupport.cpp: Removed.
* chromium/src/WebString.cpp: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3f998125
2013-04-04 Ryosuke Niwa <rniwa@webkit.org>
Remove the top level gyp directory and Platform/chromium
https://bugs.webkit.org/show_bug.cgi?id=113999
Reviewed by Benjamin Poulain.
* Source/Platform: Removed.
* Source/gyp: Removed.
2013-04-04 Geoffrey Garen <ggaren@apple.com>
Nixed the defunct chromium folder from ManualTests
......
This diff is collapsed.
# The platform layer code is built into two separate static libraries - libPlatformGtk.la
# is built from files that require GTK+ and libPlatform.la is built from all the other files.
# This makes it possible to build two separate libPlatformGtk.la libraries, one using GTK3
# and the other (named libPlatformGtk2.la) using GTK2. The latter is required by the
# WebKitPluginProcess in WebKit2 as some plugins (such as Flash) still use GTK2.
# For now we only build the libPlatformGtk library as there are no source files in place yet
# that could be built into libPlatform.
platformgtk_cppflags += \
-DWEBKITGTK_API_VERSION_STRING=\"@WEBKITGTK_API_VERSION@\" \
-I$(srcdir)/Source/ThirdParty/ANGLE/src \
-I$(srcdir)/Source/ThirdParty/ANGLE/include \
-I$(srcdir)/Source/ThirdParty/ANGLE/include/GLSLANG \
-I$(srcdir)/Source/ThirdParty/ANGLE/include/KHR \
-DDATA_DIR=\"${datadir}\"
# This is the minimal set of Source/WebCore/platform subdirectories that contain headers required by the GTK-specific
# platform source files. These inclusions are required due to platform layer source files not yet completely migrated
# into Source/Platform. Only Source/WebCore/platform subdirectories must be listed here as this, coupled with the
# header inclusion in source files that's done via specifying the header basename, prevents any platform violations
# occurring.
platform_webcore_cppflags += \
-I$(srcdir)/Source/WebCore/platform \
-I$(srcdir)/Source/WebCore/platform/animation \
-I$(srcdir)/Source/WebCore/platform/audio \
-I$(srcdir)/Source/WebCore/platform/cairo \
-I$(srcdir)/Source/WebCore/platform/graphics \
-I$(srcdir)/Source/WebCore/platform/graphics/cairo \
-I$(srcdir)/Source/WebCore/platform/graphics/gstreamer \
-I$(srcdir)/Source/WebCore/platform/graphics/gtk \
-I$(srcdir)/Source/WebCore/platform/graphics/transforms \
-I$(srcdir)/Source/WebCore/platform/gtk \
-I$(srcdir)/Source/WebCore/platform/network \
-I$(srcdir)/Source/WebCore/platform/network/gtk \
-I$(srcdir)/Source/WebCore/platform/network/soup \
-I$(srcdir)/Source/WebCore/platform/text
noinst_LTLIBRARIES += \
libPlatformGtk.la
libPlatformGtk_la_SOURCES = \
$(platformgtk_sources)
libPlatformGtk_la_CXXFLAGS = \
-fvisibility-inlines-hidden \
$(global_cxxflags)
libPlatformGtk_la_CFLAGS = \
-fvisibility=hidden \
$(global_cflags)
libPlatformGtk_la_CPPFLAGS = \
-DBUILDING_WEBKIT \
$(global_cppflags) \
$(platformgtk_cppflags) \
$(platform_webcore_cppflags) \
$(javascriptcore_cppflags) \
-fno-strict-aliasing \
$(GTK_CFLAGS) \
$(LIBSECRET_CFLAGS) \
$(LIBSOUP_CFLAGS)
*.Makefile
*.mk
*.sln
*.vcproj*
*.vcxproj*
*.xcodeproj*
#
# Copyright (C) 2011 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
{
'includes': [
'../../WebKit/chromium/WinPrecompile.gypi',
'../Platform.gypi',
],
'targets': [
{
'target_name': 'webkit_platform',
'type': 'static_library',
'dependencies': [
'../../WTF/WTF.gyp/WTF.gyp:wtf',
'<(DEPTH)/skia/skia.gyp:skia',
],
'include_dirs': [
'../chromium',
'<(output_dir)',
],
'defines': [
'WEBKIT_IMPLEMENTATION=1',
],
'sources': [
'<@(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': {
'include_dirs': [
'../chromium',
'<(output_dir)'
],
},
'conditions': [
['inside_chromium_build==1', {
'conditions': [
['component=="shared_library"', {
'defines': [
'WEBKIT_DLL',
],
}],
],
}],
['OS=="win"', {
# Disable c4267 warnings until we fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
}],
],
'copies': [
{
'destination': '<(output_dir)',
'files': [
'<@(webcore_headers)'
]
}
]
}
]
}
#
# Copyright (C) 2011 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
{
'variables': {
'platform_files': [
'chromium/public/Platform.h',
'chromium/public/WebAnimation.h',
'chromium/public/WebAnimationCurve.h',
'chromium/public/WebAnimationDelegate.h',
'chromium/public/WebAudioBus.h',
'chromium/public/WebAudioDevice.h',
'chromium/public/WebBlobData.h',
'chromium/public/WebBlobRegistry.h',
'chromium/public/WebCString.h',
'chromium/public/WebCanvas.h',
'chromium/public/WebClipboard.h',
'chromium/public/WebColor.h',
'chromium/public/WebCommon.h',
'chromium/public/WebCompositorSupport.h',
'chromium/public/WebCompositorOutputSurface.h',
'chromium/public/WebContentLayer.h',
'chromium/public/WebContentLayerClient.h',
'chromium/public/WebCookie.h',
'chromium/public/WebCookieJar.h',
'chromium/public/WebData.h',
'chromium/public/WebDiscardableMemory.h',
'chromium/public/WebDragData.h',
'chromium/public/WebExternalTextureLayer.h',
'chromium/public/WebExternalTextureLayerClient.h',
'chromium/public/WebFileError.h',
'chromium/public/WebFileInfo.h',
'chromium/public/WebFileSystem.h',
'chromium/public/WebFileSystemCallbacks.h',
'chromium/public/WebFileSystemEntry.h',
'chromium/public/WebFileSystemType.h',
'chromium/public/WebFileUtilities.h',
'chromium/public/WebFilterOperation.h',
'chromium/public/WebFilterOperations.h',
'chromium/public/WebFlingAnimator.h',
'chromium/public/WebFloatAnimationCurve.h',
'chromium/public/WebFloatKeyframe.h',
'chromium/public/WebFloatPoint.h',
'chromium/public/WebFloatQuad.h',
'chromium/public/WebFloatSize.h',
'chromium/public/WebFloatRect.h',
'chromium/public/WebGamepad.h',
'chromium/public/WebGamepads.h',
'chromium/public/WebGestureCurveTarget.h',
'chromium/public/WebGestureCurve.h',
'chromium/public/WebGraphicsContext3D.h',
'chromium/public/WebHTTPBody.h',
'chromium/public/WebHTTPHeaderVisitor.h',
'chromium/public/WebHTTPLoadInfo.h',
'chromium/public/WebHyphenator.h',
'chromium/public/WebImage.h',
'chromium/public/WebImageLayer.h',
'chromium/public/WebLayer.h',
'chromium/public/WebLayerPositionConstraint.h',
'chromium/public/WebLayerScrollClient.h',
'chromium/public/WebLayerTreeView.h',
'chromium/public/WebLocalizedString.h',
'chromium/public/WebMediaConstraints.h',
'chromium/public/WebMediaStreamCenter.h',
'chromium/public/WebMediaStreamCenterClient.h',
'chromium/public/WebMediaStream.h',
'chromium/public/WebMediaStreamSource.h',
'chromium/public/WebMediaStreamSourcesRequest.h',
'chromium/public/WebMediaStreamTrack.h',
'chromium/public/WebMessagePortChannel.h',
'chromium/public/WebMessagePortChannelClient.h',
'chromium/public/WebMimeRegistry.h',
'chromium/public/WebNonCopyable.h',
'chromium/public/WebPluginListBuilder.h',
'chromium/public/WebPoint.h',
'chromium/public/WebPrerender.h',
'chromium/public/WebPrerenderingSupport.h',
'chromium/public/WebPrivateOwnPtr.h',
'chromium/public/WebPrivatePtr.h',
'chromium/public/WebRTCConfiguration.h',
'chromium/public/WebRTCDTMFSenderHandler.h',
'chromium/public/WebRTCDTMFSenderHandlerClient.h',
'chromium/public/WebRTCDataChannelHandler.h',
'chromium/public/WebRTCDataChannelHandlerClient.h',
'chromium/public/WebRTCICECandidate.h',
'chromium/public/WebRTCPeerConnectionHandler.h',
'chromium/public/WebRTCPeerConnectionHandlerClient.h',
'chromium/public/WebRTCSessionDescription.h',
'chromium/public/WebRTCSessionDescriptionRequest.h',
'chromium/public/WebRTCStatsRequest.h',
'chromium/public/WebRTCStatsResponse.h',
'chromium/public/WebRTCVoidRequest.h',
'chromium/public/WebRect.h',
'chromium/public/WebReferrerPolicy.h',
'chromium/public/WebRenderingStats.h',
'chromium/public/WebScreenInfo.h',
'chromium/public/WebScrollbar.h',
'chromium/public/WebScrollbarLayer.h',
'chromium/public/WebScrollbarThemeGeometry.h',
'chromium/public/WebScrollbarThemePainter.h',
'chromium/public/WebSize.h',
'chromium/public/WebSocketStreamError.h',
'chromium/public/WebSocketStreamHandle.h',
'chromium/public/WebSocketStreamHandleClient.h',
'chromium/public/WebSolidColorLayer.h',
'chromium/public/WebSpeechSynthesizer.h',
'chromium/public/WebSpeechSynthesizerClient.h',
'chromium/public/WebSpeechSynthesisUtterance.h',
'chromium/public/WebSpeechSynthesisVoice.h',
'chromium/public/WebStorageArea.h',
'chromium/public/WebStorageNamespace.h',
'chromium/public/WebString.h',
'chromium/public/WebThread.h',
'chromium/public/WebThreadSafeData.h',
'chromium/public/WebTransformAnimationCurve.h',
'chromium/public/WebTransformKeyframe.h',
'chromium/public/WebTransformOperations.h',
'chromium/public/WebPrerender.h',
'chromium/public/WebURL.h',
'chromium/public/WebURLError.h',
'chromium/public/WebURLLoadTiming.h',
'chromium/public/WebURLLoader.h',
'chromium/public/WebURLLoaderClient.h',
'chromium/public/WebURLRequest.h',
'chromium/public/WebURLResponse.h',
'chromium/public/WebVector.h',
'chromium/public/WebWorkerRunLoop.h',
'chromium/public/android/WebSandboxSupport.h',
'chromium/public/android/WebThemeEngine.h',
'chromium/public/default/WebThemeEngine.h',
'chromium/public/linux/WebFontInfo.h',
'chromium/public/linux/WebFontRenderStyle.h',
'chromium/public/linux/WebSandboxSupport.h',
'chromium/public/mac/WebSandboxSupport.h',
'chromium/public/mac/WebThemeEngine.h',
'chromium/public/win/WebSandboxSupport.h',
'chromium/public/win/WebThemeEngine.h',
'chromium/src/Platform.cpp',
'chromium/src/WebActiveGestureAnimation.cpp',
'chromium/src/WebActiveGestureAnimation.h',
'chromium/src/WebCString.cpp',
'chromium/src/WebFilterOperation.cpp',
'chromium/src/WebFilterOperations.cpp',
'chromium/src/WebFloatQuad.cpp',
'chromium/src/WebPrerenderingSupport.cpp',
'chromium/src/WebString.cpp',
]
}
}
This diff is collapsed.
/*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef WebAnimation_h
#define WebAnimation_h
#include "WebCommon.h"
#include "WebNonCopyable.h"
#include "WebPrivateOwnPtr.h"
#if WEBKIT_IMPLEMENTATION
#include <wtf/Forward.h>
#endif
namespace WebCore {
class CCActiveAnimation;
}
namespace WebKit {
class WebAnimationCurve;
// A compositor driven animation.
class WebAnimation {
public:
enum TargetProperty {
TargetPropertyTransform = 0,
TargetPropertyOpacity
};
virtual ~WebAnimation() { }
// An id is effectively the animation's name, and it is not unique.
virtual int id() = 0;
virtual TargetProperty targetProperty() const = 0;
// This is the number of times that the animation will play. If this
// value is zero the animation will not play. If it is negative, then
// the animation will loop indefinitely.
virtual int iterations() const = 0;
virtual void setIterations(int) = 0;
virtual double startTime() const = 0;
virtual void setStartTime(double monotonicTime) = 0;
virtual double timeOffset() const = 0;
virtual void setTimeOffset(double monotonicTime) = 0;
// If alternatesDirection is true, on odd numbered iterations we reverse the curve.
virtual bool alternatesDirection() const = 0;
virtual void setAlternatesDirection(bool) = 0;
};
} // namespace WebKit
#endif // WebAnimation_h
/*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef WebAnimationCurve_h
#define WebAnimationCurve_h
#include "WebCommon.h"
namespace WebKit {
class WebAnimationCurve {
public:
virtual ~WebAnimationCurve() { }
enum TimingFunctionType {
TimingFunctionTypeEase,
TimingFunctionTypeEaseIn,
TimingFunctionTypeEaseOut,
TimingFunctionTypeEaseInOut,
TimingFunctionTypeLinear
};
enum AnimationCurveType {
AnimationCurveTypeFloat,
AnimationCurveTypeTransform,
};
virtual AnimationCurveType type() const = 0;
};
} // namespace WebKit
#endif // WebAnimationCurve_h
/*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef WebAnimationDelegate_h
#define WebAnimationDelegate_h
namespace WebKit {
class WebAnimationDelegate {
public:
virtual void notifyAnimationStarted(double time) = 0;
virtual void notifyAnimationFinished(double time) = 0;
};
} // namespace WebKit
#endif // WebAnimationDelegate_h
/*
* Copyright (C) 2010, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef WebAudioBus_h
#define WebAudioBus_h
#include "WebCommon.h"
namespace WebCore { class AudioBus; }
#if WEBKIT_IMPLEMENTATION
namespace WTF { template <typename T> class PassOwnPtr; }
#endif
namespace WebKit {
class WebAudioBusPrivate;
// A container for multi-channel linear PCM audio data.
//
// WARNING: It is not safe to pass a WebAudioBus across threads!!!
//
class WebAudioBus {
public:
WebAudioBus() : m_private(0) { }
~WebAudioBus() { reset(); }
// initialize() allocates memory of the given length for the given number of channels.
WEBKIT_EXPORT void initialize(unsigned numberOfChannels, size_t length, double sampleRate);
// resizeSmaller() can only be called after initialize() with a new length <= the initialization length.
// The data stored in the bus will remain undisturbed.
WEBKIT_EXPORT void resizeSmaller(size_t newLength);
// reset() releases the memory allocated from initialize().
WEBKIT_EXPORT void reset();
WEBKIT_EXPORT unsigned numberOfChannels() const;
WEBKIT_EXPORT size_t length() const;
WEBKIT_EXPORT double sampleRate() const;
WEBKIT_EXPORT float* channelData(unsigned channelIndex);
#if WEBKIT_IMPLEMENTATION
WTF::PassOwnPtr<WebCore::AudioBus> release();
#endif
private:
// Disallow copy and assign.
WebAudioBus(const WebAudioBus&);
void operator=(const WebAudioBus&);
WebCore::AudioBus* m_private;
};