WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Patch
bug-80062-20120308152538.patch (text/plain), 58.77 KB, created by
Ami Fischman
on 2012-03-08 15:25:39 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Ami Fischman
Created:
2012-03-08 15:25:39 PST
Size:
58.77 KB
patch
obsolete
>Subversion Revision: 110159 >diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog >index 6ea382b51b9896109b68f0960b3daca145b868ca..0691a4e0e7dd4be8ed9f2cca4f3d1ddb7373d6fe 100644 >--- a/Source/JavaScriptCore/ChangeLog >+++ b/Source/JavaScriptCore/ChangeLog >@@ -1,3 +1,13 @@ >+2012-03-08 Ami Fischman <fischman@chromium.org> >+ >+ WebKit.gyp:webkit should not depend on test code (!) >+ https://bugs.webkit.org/show_bug.cgi?id=80062 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * wtf/Platform.h: >+ * wtf/chromium/ChromiumThreading.h: >+ > 2012-03-07 Filip Pizlo <fpizlo@apple.com> > > DFG CFA incorrectly handles ValueToInt32 >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index 5e2f0370d9e851dc094a14e184c519884a9cf99c..027d4eb481fa8e6e38b94ef414b645081212ebb8 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,45 @@ >+2012-03-08 Ami Fischman <fischman@chromium.org> >+ >+ WebKit.gyp:webkit should not depend on test code (!) >+ https://bugs.webkit.org/show_bug.cgi?id=80062 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ No new tests. (OOPS!) >+ >+ * Modules/webdatabase/chromium/DatabaseObserver.h: >+ * dom/MessagePortChannel.h: >+ * dom/QualifiedName.cpp: >+ (WebCore): >+ * dom/QualifiedName.h: >+ * dom/make_names.pl: >+ (printNamesCppFile): >+ * fileapi/LocalFileSystem.h: >+ * loader/appcache/ApplicationCacheHost.h: >+ * platform/AsyncFileSystem.h: >+ * platform/LocalizedStrings.h: >+ (WebCore): >+ * platform/Timer.cpp: >+ * platform/Timer.h: >+ * platform/audio/AudioDestination.h: >+ * platform/chromium/PlatformSupport.h: >+ * platform/graphics/GraphicsContext3D.h: >+ * platform/graphics/chromium/Extensions3DChromium.h: >+ * platform/graphics/chromium/MediaPlayerPrivateChromium.h: >+ * platform/graphics/chromium/cc/CCInputHandler.h: >+ * platform/graphics/chromium/cc/CCProxy.cpp: >+ * platform/graphics/chromium/cc/CCProxy.h: >+ * platform/mediastream/MediaStreamCenter.h: >+ * platform/mediastream/PeerConnectionHandler.h: >+ * platform/network/BlobRegistry.h: >+ (WebCore): >+ * platform/network/ResourceHandle.h: >+ * platform/network/chromium/SocketStreamHandle.h: >+ * storage/StorageInfo.h: >+ * storage/StorageNamespace.h: >+ * workers/SharedWorkerRepository.h: >+ * workers/WorkerContextProxy.h: >+ > 2012-03-07 Ami Fischman <fischman@chromium.org> > > [Chromium] Allow CCLayerTreeHost::context() to be called even with the threaded compositor enabled. >diff --git a/Source/WebKit/chromium/ChangeLog b/Source/WebKit/chromium/ChangeLog >index 76073af2fe5a0d2cbe9e17fa9504ceadcafa6a8e..b7ac648da477dd9d18d5560df518ecc7a09cfe4a 100644 >--- a/Source/WebKit/chromium/ChangeLog >+++ b/Source/WebKit/chromium/ChangeLog >@@ -1,3 +1,27 @@ >+2012-03-08 Ami Fischman <fischman@chromium.org> >+ >+ WebKit.gyp:webkit should not depend on test code (!) >+ https://bugs.webkit.org/show_bug.cgi?id=80062 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * WebKit.gyp: >+ * WebKitUnitTests.gyp: >+ * public/WebCompositor.h: >+ * public/platform/WebURLError.h: >+ * src/EditorClientImpl.h: >+ * src/GraphicsContext3DPrivate.h: >+ * src/LocalizedStrings.cpp: >+ (WebCore::keygenMenuHighGradeKeySize): >+ (WebCore::keygenMenuMediumGradeKeySize): >+ * src/WebCompositorImpl.h: >+ * src/WebCompositorInputHandlerImpl.h: >+ * src/WebExternalTextureLayerImpl.h: >+ * src/WebInputEventConversion.h: >+ * src/WebViewImpl.h: >+ * src/painting/PaintAggregator.h: >+ * tests/RunAllTests.cpp: >+ > 2012-03-07 Kent Tamura <tkent@chromium.org> > > Remove meaningless code in RenderTextControlSingleLine::preferredContentWidth() >diff --git a/Source/JavaScriptCore/wtf/Platform.h b/Source/JavaScriptCore/wtf/Platform.h >index 716bba5d3b881e6f613a1faabd56e2376d5b74d0..6e10d5994be9bc35efa143fc08f7acc68b348b44 100644 >--- a/Source/JavaScriptCore/wtf/Platform.h >+++ b/Source/JavaScriptCore/wtf/Platform.h >@@ -1138,7 +1138,7 @@ > since most ports try to support sub-project independence, adding new headers > to WTF causes many ports to break, and so this way we can address the build > breakages one port at a time. */ >-#if PLATFORM(MAC) || PLATFORM(QT) >+#if PLATFORM(MAC) || PLATFORM(QT) || PLATFORM(CHROMIUM) > #define WTF_USE_EXPORT_MACROS 1 > #else > #define WTF_USE_EXPORT_MACROS 0 >diff --git a/Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h b/Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h >index 39386219d65c1d92cff4a657bfc63c97f598e6bb..70ea247592ffa368aa5f02bc6e9986200085a731 100644 >--- a/Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h >+++ b/Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h >@@ -31,10 +31,12 @@ > #ifndef ChromiumThreading_h > #define ChromiumThreading_h > >+#include <wtf/ExportMacros.h> >+ > namespace WTF { > > // An interface to the embedding layer, which provides threading support. >-class ChromiumThreading { >+class WTF_EXPORT ChromiumThreading { > public: > static void callOnMainThread(void (*func)(void*), void* context); > }; >diff --git a/Source/WebCore/Modules/webdatabase/chromium/DatabaseObserver.h b/Source/WebCore/Modules/webdatabase/chromium/DatabaseObserver.h >index 657c78e9e61c95dcda445bde8448cc171af34656..2156299b36f7e87509acf6509fff3ad4a2b3765e 100644 >--- a/Source/WebCore/Modules/webdatabase/chromium/DatabaseObserver.h >+++ b/Source/WebCore/Modules/webdatabase/chromium/DatabaseObserver.h >@@ -42,7 +42,7 @@ class ScriptExecutionContext; > > // The implementation of this class is in the WebKit API (Chromium source tree) > // in WebKit/chromium/src/DatabaseObserver.cpp. >-class DatabaseObserver { >+class WEBKIT_EXPORTDATA DatabaseObserver { > public: > static bool canEstablishDatabase(ScriptExecutionContext*, const String&, const String&, unsigned long); > static void databaseOpened(AbstractDatabase*); >diff --git a/Source/WebCore/dom/MessagePortChannel.h b/Source/WebCore/dom/MessagePortChannel.h >index 07668a4e2284e5597e16a381704a5878dff262d3..6ea49b7f70559a331e37b3c145b420e8be58520b 100644 >--- a/Source/WebCore/dom/MessagePortChannel.h >+++ b/Source/WebCore/dom/MessagePortChannel.h >@@ -55,7 +55,7 @@ namespace WebCore { > > // MessagePortChannel is a platform-independent interface to the remote side of a message channel. > // It acts as a wrapper around the platform-dependent PlatformMessagePortChannel implementation which ensures that the platform-dependent close() method is invoked before destruction. >- class MessagePortChannel { >+ class WEBKIT_EXPORTDATA MessagePortChannel { > WTF_MAKE_NONCOPYABLE(MessagePortChannel); WTF_MAKE_FAST_ALLOCATED; > public: > static void createChannel(PassRefPtr<MessagePort>, PassRefPtr<MessagePort>); >diff --git a/Source/WebCore/dom/QualifiedName.cpp b/Source/WebCore/dom/QualifiedName.cpp >index a7426295ef064ebe9c0fadef0f6701d51658da3e..3fdb0592a5bd2afcf39e62d74284f3bcdda61669 100644 >--- a/Source/WebCore/dom/QualifiedName.cpp >+++ b/Source/WebCore/dom/QualifiedName.cpp >@@ -103,6 +103,7 @@ String QualifiedName::toString() const > } > > // Global init routines >+WEBKIT_EXPORTDATA > DEFINE_GLOBAL(QualifiedName, anyName, nullAtom, starAtom, starAtom) > > void QualifiedName::init() >diff --git a/Source/WebCore/dom/QualifiedName.h b/Source/WebCore/dom/QualifiedName.h >index 636b2a5150c9e987c027e7569792d9bac34a89e9..4e5b6e7ebdae2b1eb83ef8e09de6d6ddabe1af06 100644 >--- a/Source/WebCore/dom/QualifiedName.h >+++ b/Source/WebCore/dom/QualifiedName.h >@@ -33,7 +33,7 @@ struct QualifiedNameComponents { > StringImpl* m_namespace; > }; > >-class QualifiedName { >+class WEBKIT_EXPORTDATA QualifiedName { > WTF_MAKE_FAST_ALLOCATED; > public: > class QualifiedNameImpl : public RefCounted<QualifiedNameImpl> { >@@ -103,7 +103,7 @@ private: > }; > > #ifndef WEBCORE_QUALIFIEDNAME_HIDE_GLOBALS >-extern const QualifiedName anyName; >+WEBKIT_EXPORTDATA extern const QualifiedName anyName; > inline const QualifiedName& anyQName() { return anyName; } > #endif > >@@ -117,7 +117,7 @@ inline unsigned hashComponents(const QualifiedNameComponents& buf) > return StringHasher::hashMemory<sizeof(QualifiedNameComponents)>(&buf); > } > >-struct QualifiedNameHash { >+struct WEBKIT_EXPORTDATA QualifiedNameHash { > static unsigned hash(const QualifiedName& name) { return hash(name.impl()); } > > static unsigned hash(const QualifiedName::QualifiedNameImpl* name) >@@ -138,11 +138,11 @@ namespace WTF { > > template<typename T> struct DefaultHash; > >- template<> struct DefaultHash<WebCore::QualifiedName> { >+ template<> struct WEBKIT_EXPORTDATA DefaultHash<WebCore::QualifiedName> { > typedef WebCore::QualifiedNameHash Hash; > }; > >- template<> struct HashTraits<WebCore::QualifiedName> : SimpleClassHashTraits<WebCore::QualifiedName> { >+ template<> struct WEBKIT_EXPORTDATA HashTraits<WebCore::QualifiedName> : SimpleClassHashTraits<WebCore::QualifiedName> { > static const bool emptyValueIsZero = false; > static WebCore::QualifiedName emptyValue() { return WebCore::QualifiedName(nullAtom, nullAtom, nullAtom); } > }; >diff --git a/Source/WebCore/dom/make_names.pl b/Source/WebCore/dom/make_names.pl >index c8ed58b57478de5e63469a36c8b806822d99e4f5..9fcda0270d0753f217fba4b82f731210c7919be9 100755 >--- a/Source/WebCore/dom/make_names.pl >+++ b/Source/WebCore/dom/make_names.pl >@@ -116,7 +116,7 @@ if (length($fontNamesIn)) { > printCppHead($F, "CSS", $familyNamesFileBase, "WTF"); > > while ( my ($name, $identifier) = each %parameters ) { >- print F "DEFINE_GLOBAL(AtomicString, $name, \"$identifier\")\n"; >+ print F "WEBKIT_EXPORTDATA DEFINE_GLOBAL(AtomicString, $name, \"$identifier\")\n"; > } > > printInit($F, 0); >@@ -622,12 +622,12 @@ sub printNamesCppFile > > my $lowerNamespace = lc($parameters{namespacePrefix}); > >- print F "DEFINE_GLOBAL(AtomicString, ${lowerNamespace}NamespaceURI, \"$parameters{namespaceURI}\")"; >+ print F "WEBKIT_EXPORTDATA DEFINE_GLOBAL(AtomicString, ${lowerNamespace}NamespaceURI, \"$parameters{namespaceURI}\")"; > > if (keys %allTags) { > print F "// Tags\n"; > for my $name (sort keys %allTags) { >- print F "DEFINE_GLOBAL(QualifiedName, ", $name, "Tag, nullAtom, \"$name\", ${lowerNamespace}NamespaceURI);\n"; >+ print F "WEBKIT_EXPORTDATA DEFINE_GLOBAL(QualifiedName, ", $name, "Tag, nullAtom, \"$name\", ${lowerNamespace}NamespaceURI);\n"; > } > > print F "\n\nWebCore::QualifiedName** get$parameters{namespace}Tags(size_t* size)\n"; >@@ -644,7 +644,7 @@ sub printNamesCppFile > if (keys %allAttrs) { > print F "\n// Attributes\n"; > for my $name (sort keys %allAttrs) { >- print F "DEFINE_GLOBAL(QualifiedName, ", $name, "Attr, nullAtom, \"$name\", ${lowerNamespace}NamespaceURI);\n"; >+ print F "WEBKIT_EXPORTDATA DEFINE_GLOBAL(QualifiedName, ", $name, "Attr, nullAtom, \"$name\", ${lowerNamespace}NamespaceURI);\n"; > } > print F "\n\nWebCore::QualifiedName** get$parameters{namespace}Attrs(size_t* size)\n"; > print F "{\n static WebCore::QualifiedName* $parameters{namespace}Attr[] = {\n"; >diff --git a/Source/WebCore/fileapi/LocalFileSystem.h b/Source/WebCore/fileapi/LocalFileSystem.h >index 247bb2cdf8bf10186bd76bf7d95f43700b93e453..fc7e55c09682ead5c1aa3a7b5854029e62f3784a 100644 >--- a/Source/WebCore/fileapi/LocalFileSystem.h >+++ b/Source/WebCore/fileapi/LocalFileSystem.h >@@ -45,7 +45,7 @@ class FileSystemCallback; > class ScriptExecutionContext; > > // Keeps per-process information and provides an entry point to open a file system. >-class LocalFileSystem { >+class WEBKIT_EXPORTDATA LocalFileSystem { > WTF_MAKE_NONCOPYABLE(LocalFileSystem); > public: > // Returns a per-process instance of LocalFileSystem. >diff --git a/Source/WebCore/loader/appcache/ApplicationCacheHost.h b/Source/WebCore/loader/appcache/ApplicationCacheHost.h >index 04556be96ce822c7914ef47774148e2ac43897f0..a7f42ca1c948e7351796f067c95a0aed04fffa98 100644 >--- a/Source/WebCore/loader/appcache/ApplicationCacheHost.h >+++ b/Source/WebCore/loader/appcache/ApplicationCacheHost.h >@@ -56,7 +56,7 @@ namespace WebCore { > class ApplicationCacheStorage; > #endif > >- class ApplicationCacheHost { >+ class WEBKIT_EXPORTDATA ApplicationCacheHost { > WTF_MAKE_NONCOPYABLE(ApplicationCacheHost); WTF_MAKE_FAST_ALLOCATED; > public: > // The Status numeric values are specified in the HTML5 spec. >diff --git a/Source/WebCore/platform/AsyncFileSystem.h b/Source/WebCore/platform/AsyncFileSystem.h >index 7792101c530a21c265cfc4b46a346fb920c41253..351305243d564966aff80e714d2be45ea748863e 100644 >--- a/Source/WebCore/platform/AsyncFileSystem.h >+++ b/Source/WebCore/platform/AsyncFileSystem.h >@@ -45,7 +45,7 @@ class AsyncFileSystemCallbacks; > class AsyncFileWriterClient; > > // This class provides async interface for platform-specific file system implementation. Note that all the methods take platform paths. >-class AsyncFileSystem { >+class WEBKIT_EXPORTDATA AsyncFileSystem { > WTF_MAKE_NONCOPYABLE(AsyncFileSystem); > public: > virtual ~AsyncFileSystem() { } >diff --git a/Source/WebCore/platform/LocalizedStrings.h b/Source/WebCore/platform/LocalizedStrings.h >index 3ebbef722e3ceb52c0800ab6a141786b8a8b0daa..f6fbcbf38a2a282e5404079d30699976f30eb849 100644 >--- a/Source/WebCore/platform/LocalizedStrings.h >+++ b/Source/WebCore/platform/LocalizedStrings.h >@@ -33,180 +33,180 @@ namespace WebCore { > > class IntSize; > >- String inputElementAltText(); >- String resetButtonDefaultLabel(); >- String searchableIndexIntroduction(); >- String submitButtonDefaultLabel(); >- String fileButtonChooseFileLabel(); >- String fileButtonChooseMultipleFilesLabel(); >- String fileButtonNoFileSelectedLabel(); >- String fileButtonNoFilesSelectedLabel(); >- String defaultDetailsSummaryText(); >+ WEBKIT_EXPORTDATA String inputElementAltText(); >+ WEBKIT_EXPORTDATA String resetButtonDefaultLabel(); >+ WEBKIT_EXPORTDATA String searchableIndexIntroduction(); >+ WEBKIT_EXPORTDATA String submitButtonDefaultLabel(); >+ WEBKIT_EXPORTDATA String fileButtonChooseFileLabel(); >+ WEBKIT_EXPORTDATA String fileButtonChooseMultipleFilesLabel(); >+ WEBKIT_EXPORTDATA String fileButtonNoFileSelectedLabel(); >+ WEBKIT_EXPORTDATA String fileButtonNoFilesSelectedLabel(); >+ WEBKIT_EXPORTDATA String defaultDetailsSummaryText(); > > #if PLATFORM(MAC) >- String copyImageUnknownFileLabel(); >+ WEBKIT_EXPORTDATA String copyImageUnknownFileLabel(); > #endif > > #if ENABLE(CONTEXT_MENUS) >- String contextMenuItemTagOpenLinkInNewWindow(); >- String contextMenuItemTagDownloadLinkToDisk(); >- String contextMenuItemTagCopyLinkToClipboard(); >- String contextMenuItemTagOpenImageInNewWindow(); >- String contextMenuItemTagDownloadImageToDisk(); >- String contextMenuItemTagCopyImageToClipboard(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagOpenLinkInNewWindow(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagDownloadLinkToDisk(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagCopyLinkToClipboard(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagOpenImageInNewWindow(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagDownloadImageToDisk(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagCopyImageToClipboard(); > #if PLATFORM(QT) || PLATFORM(GTK) || PLATFORM(EFL) >- String contextMenuItemTagCopyImageUrlToClipboard(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagCopyImageUrlToClipboard(); > #endif >- String contextMenuItemTagOpenFrameInNewWindow(); >- String contextMenuItemTagCopy(); >- String contextMenuItemTagGoBack(); >- String contextMenuItemTagGoForward(); >- String contextMenuItemTagStop(); >- String contextMenuItemTagReload(); >- String contextMenuItemTagCut(); >- String contextMenuItemTagPaste(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagOpenFrameInNewWindow(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagCopy(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagGoBack(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagGoForward(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagStop(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagReload(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagCut(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagPaste(); > #if PLATFORM(GTK) >- String contextMenuItemTagDelete(); >- String contextMenuItemTagInputMethods(); >- String contextMenuItemTagUnicode(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagDelete(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagInputMethods(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagUnicode(); > #endif > #if PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) >- String contextMenuItemTagSelectAll(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagSelectAll(); > #endif >- String contextMenuItemTagNoGuessesFound(); >- String contextMenuItemTagIgnoreSpelling(); >- String contextMenuItemTagLearnSpelling(); >- String contextMenuItemTagSearchWeb(); >- String contextMenuItemTagLookUpInDictionary(const String& selectedString); >- String contextMenuItemTagOpenLink(); >- String contextMenuItemTagIgnoreGrammar(); >- String contextMenuItemTagSpellingMenu(); >- String contextMenuItemTagShowSpellingPanel(bool show); >- String contextMenuItemTagCheckSpelling(); >- String contextMenuItemTagCheckSpellingWhileTyping(); >- String contextMenuItemTagCheckGrammarWithSpelling(); >- String contextMenuItemTagFontMenu(); >- String contextMenuItemTagBold(); >- String contextMenuItemTagItalic(); >- String contextMenuItemTagUnderline(); >- String contextMenuItemTagOutline(); >- String contextMenuItemTagWritingDirectionMenu(); >- String contextMenuItemTagTextDirectionMenu(); >- String contextMenuItemTagDefaultDirection(); >- String contextMenuItemTagLeftToRight(); >- String contextMenuItemTagRightToLeft(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagNoGuessesFound(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagIgnoreSpelling(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagLearnSpelling(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagSearchWeb(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagLookUpInDictionary(const String& selectedString); >+ WEBKIT_EXPORTDATA String contextMenuItemTagOpenLink(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagIgnoreGrammar(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagSpellingMenu(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagShowSpellingPanel(bool show); >+ WEBKIT_EXPORTDATA String contextMenuItemTagCheckSpelling(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagCheckSpellingWhileTyping(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagCheckGrammarWithSpelling(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagFontMenu(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagBold(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagItalic(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagUnderline(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagOutline(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagWritingDirectionMenu(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagTextDirectionMenu(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagDefaultDirection(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagLeftToRight(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagRightToLeft(); > #if PLATFORM(MAC) >- String contextMenuItemTagSearchInSpotlight(); >- String contextMenuItemTagShowFonts(); >- String contextMenuItemTagStyles(); >- String contextMenuItemTagShowColors(); >- String contextMenuItemTagSpeechMenu(); >- String contextMenuItemTagStartSpeaking(); >- String contextMenuItemTagStopSpeaking(); >- String contextMenuItemTagCorrectSpellingAutomatically(); >- String contextMenuItemTagSubstitutionsMenu(); >- String contextMenuItemTagShowSubstitutions(bool show); >- String contextMenuItemTagSmartCopyPaste(); >- String contextMenuItemTagSmartQuotes(); >- String contextMenuItemTagSmartDashes(); >- String contextMenuItemTagSmartLinks(); >- String contextMenuItemTagTextReplacement(); >- String contextMenuItemTagTransformationsMenu(); >- String contextMenuItemTagMakeUpperCase(); >- String contextMenuItemTagMakeLowerCase(); >- String contextMenuItemTagCapitalize(); >- String contextMenuItemTagChangeBack(const String& replacedString); >+ WEBKIT_EXPORTDATA String contextMenuItemTagSearchInSpotlight(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagShowFonts(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagStyles(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagShowColors(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagSpeechMenu(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagStartSpeaking(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagStopSpeaking(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagCorrectSpellingAutomatically(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagSubstitutionsMenu(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagShowSubstitutions(bool show); >+ WEBKIT_EXPORTDATA String contextMenuItemTagSmartCopyPaste(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagSmartQuotes(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagSmartDashes(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagSmartLinks(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagTextReplacement(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagTransformationsMenu(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagMakeUpperCase(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagMakeLowerCase(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagCapitalize(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagChangeBack(const String& replacedString); > #endif >- String contextMenuItemTagOpenVideoInNewWindow(); >- String contextMenuItemTagOpenAudioInNewWindow(); >- String contextMenuItemTagCopyVideoLinkToClipboard(); >- String contextMenuItemTagCopyAudioLinkToClipboard(); >- String contextMenuItemTagToggleMediaControls(); >- String contextMenuItemTagToggleMediaLoop(); >- String contextMenuItemTagEnterVideoFullscreen(); >- String contextMenuItemTagMediaPlay(); >- String contextMenuItemTagMediaPause(); >- String contextMenuItemTagMediaMute(); >- String contextMenuItemTagInspectElement(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagOpenVideoInNewWindow(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagOpenAudioInNewWindow(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagCopyVideoLinkToClipboard(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagCopyAudioLinkToClipboard(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagToggleMediaControls(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagToggleMediaLoop(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagEnterVideoFullscreen(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagMediaPlay(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagMediaPause(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagMediaMute(); >+ WEBKIT_EXPORTDATA String contextMenuItemTagInspectElement(); > #endif // ENABLE(CONTEXT_MENUS) > >- String searchMenuNoRecentSearchesText(); >- String searchMenuRecentSearchesText(); >- String searchMenuClearRecentSearchesText(); >+ WEBKIT_EXPORTDATA String searchMenuNoRecentSearchesText(); >+ WEBKIT_EXPORTDATA String searchMenuRecentSearchesText(); >+ WEBKIT_EXPORTDATA String searchMenuClearRecentSearchesText(); > >- String AXWebAreaText(); >- String AXLinkText(); >- String AXListMarkerText(); >- String AXImageMapText(); >- String AXHeadingText(); >- String AXDefinitionListTermText(); >- String AXDefinitionListDefinitionText(); >+ WEBKIT_EXPORTDATA String AXWebAreaText(); >+ WEBKIT_EXPORTDATA String AXLinkText(); >+ WEBKIT_EXPORTDATA String AXListMarkerText(); >+ WEBKIT_EXPORTDATA String AXImageMapText(); >+ WEBKIT_EXPORTDATA String AXHeadingText(); >+ WEBKIT_EXPORTDATA String AXDefinitionListTermText(); >+ WEBKIT_EXPORTDATA String AXDefinitionListDefinitionText(); > > #if PLATFORM(MAC) >- String AXARIAContentGroupText(const String& ariaType); >+ WEBKIT_EXPORTDATA String AXARIAContentGroupText(const String& ariaType); > #endif > >- String AXButtonActionVerb(); >- String AXRadioButtonActionVerb(); >- String AXTextFieldActionVerb(); >- String AXCheckedCheckBoxActionVerb(); >- String AXUncheckedCheckBoxActionVerb(); >- String AXMenuListActionVerb(); >- String AXMenuListPopupActionVerb(); >- String AXLinkActionVerb(); >- >- String missingPluginText(); >- String crashedPluginText(); >- String multipleFileUploadText(unsigned numberOfFiles); >- String unknownFileSizeText(); >+ WEBKIT_EXPORTDATA String AXButtonActionVerb(); >+ WEBKIT_EXPORTDATA String AXRadioButtonActionVerb(); >+ WEBKIT_EXPORTDATA String AXTextFieldActionVerb(); >+ WEBKIT_EXPORTDATA String AXCheckedCheckBoxActionVerb(); >+ WEBKIT_EXPORTDATA String AXUncheckedCheckBoxActionVerb(); >+ WEBKIT_EXPORTDATA String AXMenuListActionVerb(); >+ WEBKIT_EXPORTDATA String AXMenuListPopupActionVerb(); >+ WEBKIT_EXPORTDATA String AXLinkActionVerb(); >+ >+ WEBKIT_EXPORTDATA String missingPluginText(); >+ WEBKIT_EXPORTDATA String crashedPluginText(); >+ WEBKIT_EXPORTDATA String multipleFileUploadText(unsigned numberOfFiles); >+ WEBKIT_EXPORTDATA String unknownFileSizeText(); > > #if PLATFORM(WIN) >- String uploadFileText(); >- String allFilesText(); >+ WEBKIT_EXPORTDATA String uploadFileText(); >+ WEBKIT_EXPORTDATA String allFilesText(); > #endif > > #if PLATFORM(MAC) >- String builtInPDFPluginName(); >- String pdfDocumentTypeDescription(); >- String keygenMenuItem512(); >- String keygenMenuItem1024(); >- String keygenMenuItem2048(); >- String keygenKeychainItemName(const String& host); >+ WEBKIT_EXPORTDATA String builtInPDFPluginName(); >+ WEBKIT_EXPORTDATA String pdfDocumentTypeDescription(); >+ WEBKIT_EXPORTDATA String keygenMenuItem512(); >+ WEBKIT_EXPORTDATA String keygenMenuItem1024(); >+ WEBKIT_EXPORTDATA String keygenMenuItem2048(); >+ WEBKIT_EXPORTDATA String keygenKeychainItemName(const String& host); > #endif > > #if PLATFORM(IOS) >- String htmlSelectMultipleItems(size_t num); >+ WEBKIT_EXPORTDATA String htmlSelectMultipleItems(size_t num); > #endif > >- String imageTitle(const String& filename, const IntSize& size); >- >- String mediaElementLoadingStateText(); >- String mediaElementLiveBroadcastStateText(); >- String localizedMediaControlElementString(const String&); >- String localizedMediaControlElementHelpText(const String&); >- String localizedMediaTimeDescription(float); >- >- String validationMessageValueMissingText(); >- String validationMessageValueMissingForCheckboxText(); >- String validationMessageValueMissingForFileText(); >- String validationMessageValueMissingForMultipleFileText(); >- String validationMessageValueMissingForRadioText(); >- String validationMessageValueMissingForSelectText(); >- String validationMessageTypeMismatchText(); >- String validationMessageTypeMismatchForEmailText(); >- String validationMessageTypeMismatchForMultipleEmailText(); >- String validationMessageTypeMismatchForURLText(); >- String validationMessagePatternMismatchText(); >- String validationMessageTooLongText(int valueLength, int maxLength); >- String validationMessageRangeUnderflowText(const String& minimum); >- String validationMessageRangeOverflowText(const String& maximum); >- String validationMessageStepMismatchText(const String& base, const String& step); >+ WEBKIT_EXPORTDATA String imageTitle(const String& filename, const IntSize&); >+ >+ WEBKIT_EXPORTDATA String mediaElementLoadingStateText(); >+ WEBKIT_EXPORTDATA String mediaElementLiveBroadcastStateText(); >+ WEBKIT_EXPORTDATA String localizedMediaControlElementString(const String&); >+ WEBKIT_EXPORTDATA String localizedMediaControlElementHelpText(const String&); >+ WEBKIT_EXPORTDATA String localizedMediaTimeDescription(float); >+ >+ WEBKIT_EXPORTDATA String validationMessageValueMissingText(); >+ WEBKIT_EXPORTDATA String validationMessageValueMissingForCheckboxText(); >+ WEBKIT_EXPORTDATA String validationMessageValueMissingForFileText(); >+ WEBKIT_EXPORTDATA String validationMessageValueMissingForMultipleFileText(); >+ WEBKIT_EXPORTDATA String validationMessageValueMissingForRadioText(); >+ WEBKIT_EXPORTDATA String validationMessageValueMissingForSelectText(); >+ WEBKIT_EXPORTDATA String validationMessageTypeMismatchText(); >+ WEBKIT_EXPORTDATA String validationMessageTypeMismatchForEmailText(); >+ WEBKIT_EXPORTDATA String validationMessageTypeMismatchForMultipleEmailText(); >+ WEBKIT_EXPORTDATA String validationMessageTypeMismatchForURLText(); >+ WEBKIT_EXPORTDATA String validationMessagePatternMismatchText(); >+ WEBKIT_EXPORTDATA String validationMessageTooLongText(int valueLength, int maxLength); >+ WEBKIT_EXPORTDATA String validationMessageRangeUnderflowText(const String& minimum); >+ WEBKIT_EXPORTDATA String validationMessageRangeOverflowText(const String& maximum); >+ WEBKIT_EXPORTDATA String validationMessageStepMismatchText(const String& base, const String& step); > > #if !PLATFORM(CHROMIUM) > #define WEB_UI_STRING(string, description) WebCore::localizedString(string) > #define WEB_UI_STRING_KEY(string, key, description) WebCore::localizedString(key) > >- String localizedString(const char* key); >+ WEBKIT_EXPORTDATA String localizedString(const char* key); > #endif > > } // namespace WebCore >diff --git a/Source/WebCore/platform/Timer.cpp b/Source/WebCore/platform/Timer.cpp >index f2cf2719231afd4208ba1b06d4fc3a022b2205cd..e39e2d55d9cfbd38c080761c009f739c26bfc975 100644 >--- a/Source/WebCore/platform/Timer.cpp >+++ b/Source/WebCore/platform/Timer.cpp >@@ -350,4 +350,3 @@ void TimerBase::fireTimersInNestedEventLoop() > } > > } // namespace WebCore >- >diff --git a/Source/WebCore/platform/Timer.h b/Source/WebCore/platform/Timer.h >index 637bbc0553e55c84a03dc14b50bb04976ecea091..b97e43473d9e55ae51891c9e2adb2f1972072bd2 100644 >--- a/Source/WebCore/platform/Timer.h >+++ b/Source/WebCore/platform/Timer.h >@@ -35,7 +35,7 @@ namespace WebCore { > > class TimerHeapElement; > >-class TimerBase { >+class WEBKIT_EXPORTDATA TimerBase { > WTF_MAKE_NONCOPYABLE(TimerBase); WTF_MAKE_FAST_ALLOCATED; > public: > TimerBase(); >diff --git a/Source/WebCore/platform/audio/AudioDestination.h b/Source/WebCore/platform/audio/AudioDestination.h >index 75882c0a635ff3f8774c529c7404f1ded1d53c33..a54bacc0f878feb6bcd4d8c20da388c576f0b220 100644 >--- a/Source/WebCore/platform/audio/AudioDestination.h >+++ b/Source/WebCore/platform/audio/AudioDestination.h >@@ -39,7 +39,7 @@ class AudioSourceProvider; > // Abstraction for an audio output to the audio hardware > // An AudioSourceProvider is called back periodically to provide the rendered audio stream. > >-class AudioDestination { >+class WEBKIT_EXPORTDATA AudioDestination { > public: > static PassOwnPtr<AudioDestination> create(AudioSourceProvider&, float sampleRate); > >diff --git a/Source/WebCore/platform/chromium/PlatformSupport.h b/Source/WebCore/platform/chromium/PlatformSupport.h >index 128d2a3e9883cd2ab6b84580c06e2dafc0e6032e..031a7e691615562c7d55f32cf26ce249d4354bf0 100644 >--- a/Source/WebCore/platform/chromium/PlatformSupport.h >+++ b/Source/WebCore/platform/chromium/PlatformSupport.h >@@ -91,7 +91,7 @@ struct FontRenderStyle; > // supply implementations for Platform functionality that WebCore cannot access > // directly (for example, because WebCore is in a sandbox). > >-class PlatformSupport { >+class WEBKIT_EXPORTDATA PlatformSupport { > public: > // Cache -------------------------------------------------------------- > static void cacheMetadata(const KURL&, double responseTime, const Vector<char>&); >diff --git a/Source/WebCore/platform/graphics/GraphicsContext3D.h b/Source/WebCore/platform/graphics/GraphicsContext3D.h >index 531726398a1f421e510a0c017da44bb1f4f3dd0d..dac6bd842c889769c832bef1b5d98d7425368cd8 100644 >--- a/Source/WebCore/platform/graphics/GraphicsContext3D.h >+++ b/Source/WebCore/platform/graphics/GraphicsContext3D.h >@@ -119,7 +119,7 @@ struct ActiveInfo { > > class GraphicsContext3DPrivate; > >-class GraphicsContext3D : public RefCounted<GraphicsContext3D> { >+class WEBKIT_EXPORTDATA GraphicsContext3D : public RefCounted<GraphicsContext3D> { > public: > enum { > DEPTH_BUFFER_BIT = 0x00000100, >diff --git a/Source/WebCore/platform/graphics/chromium/Extensions3DChromium.h b/Source/WebCore/platform/graphics/chromium/Extensions3DChromium.h >index 53322f0f25ed407a25e6b62327e871289d18bd5a..d02aad2c7e24c6bf168089c6557dadc62cde06ef 100644 >--- a/Source/WebCore/platform/graphics/chromium/Extensions3DChromium.h >+++ b/Source/WebCore/platform/graphics/chromium/Extensions3DChromium.h >@@ -33,7 +33,7 @@ namespace WebCore { > class GraphicsContext3DPrivate; > class ImageBuffer; > >-class Extensions3DChromium : public Extensions3D { >+class WEBKIT_EXPORTDATA Extensions3DChromium : public Extensions3D { > public: > virtual ~Extensions3DChromium(); > >diff --git a/Source/WebCore/platform/graphics/chromium/MediaPlayerPrivateChromium.h b/Source/WebCore/platform/graphics/chromium/MediaPlayerPrivateChromium.h >index 534244d76adca483e1d5f4736bff8822e86d0294..dc4ae35770bcb1e7717b52e6c900576fc8170c6f 100644 >--- a/Source/WebCore/platform/graphics/chromium/MediaPlayerPrivateChromium.h >+++ b/Source/WebCore/platform/graphics/chromium/MediaPlayerPrivateChromium.h >@@ -37,7 +37,7 @@ > > namespace WebCore { > >-class MediaPlayerPrivate { >+class WEBKIT_EXPORTDATA MediaPlayerPrivate { > public: > static void registerMediaEngine(MediaEngineRegistrar); > }; >diff --git a/Source/WebCore/platform/graphics/chromium/cc/CCInputHandler.h b/Source/WebCore/platform/graphics/chromium/cc/CCInputHandler.h >index 6c055994c58eca411319a9c99d143f9c17f3e2c2..5c7e75a2bf20122d9608f96f6abc2b811224d54d 100644 >--- a/Source/WebCore/platform/graphics/chromium/cc/CCInputHandler.h >+++ b/Source/WebCore/platform/graphics/chromium/cc/CCInputHandler.h >@@ -40,7 +40,7 @@ class IntSize; > // > // The CCInputHandler is constructed with an InputHandlerClient, which is the > // interface by which the handler can manipulate the LayerTree. >-class CCInputHandlerClient { >+class WEBKIT_EXPORTDATA CCInputHandlerClient { > WTF_MAKE_NONCOPYABLE(CCInputHandlerClient); > public: > virtual void setNeedsRedraw() = 0; >@@ -80,7 +80,7 @@ protected: > virtual ~CCInputHandlerClient() { } > }; > >-class CCInputHandler { >+class WEBKIT_EXPORTDATA CCInputHandler { > WTF_MAKE_NONCOPYABLE(CCInputHandler); > public: > static PassOwnPtr<CCInputHandler> create(CCInputHandlerClient*); >diff --git a/Source/WebCore/platform/graphics/chromium/cc/CCProxy.cpp b/Source/WebCore/platform/graphics/chromium/cc/CCProxy.cpp >index e4d6014511bc1c5db0e687bd1f683fae8036c5aa..e1d2b43db448ed4328041e330cc1666a1db38d2c 100644 >--- a/Source/WebCore/platform/graphics/chromium/cc/CCProxy.cpp >+++ b/Source/WebCore/platform/graphics/chromium/cc/CCProxy.cpp >@@ -37,11 +37,11 @@ namespace WebCore { > > namespace { > #ifndef NDEBUG >-bool implThreadIsOverridden = false; >-ThreadIdentifier threadIDOverridenToBeImplThread; >+WEBKIT_EXPORTDATA bool implThreadIsOverridden = false; >+WEBKIT_EXPORTDATA ThreadIdentifier threadIDOverridenToBeImplThread; > #endif >-CCThread* s_mainThread = 0; >-CCThread* s_implThread = 0; >+WEBKIT_EXPORTDATA CCThread* s_mainThread = 0; >+WEBKIT_EXPORTDATA CCThread* s_implThread = 0; > } > > void CCProxy::setMainThread(CCThread* thread) >diff --git a/Source/WebCore/platform/graphics/chromium/cc/CCProxy.h b/Source/WebCore/platform/graphics/chromium/cc/CCProxy.h >index a54680212b5878410cfaf78efc7cc637cfcd1bc4..f1b7302002454c00926bdee7982730cef9779b4b 100644 >--- a/Source/WebCore/platform/graphics/chromium/cc/CCProxy.h >+++ b/Source/WebCore/platform/graphics/chromium/cc/CCProxy.h >@@ -43,7 +43,7 @@ class TextureManager; > > // Abstract class responsible for proxying commands from the main-thread side of > // the compositor over to the compositor implementation. >-class CCProxy { >+class WEBKIT_EXPORTDATA CCProxy { > WTF_MAKE_NONCOPYABLE(CCProxy); > public: > static void setMainThread(CCThread*); >diff --git a/Source/WebCore/platform/mediastream/MediaStreamCenter.h b/Source/WebCore/platform/mediastream/MediaStreamCenter.h >index a37d66a26c7651bcdba1c7c87fc4c2ac0a8f6189..ad926528423309f630f2a1dee3b8b7de98368006 100644 >--- a/Source/WebCore/platform/mediastream/MediaStreamCenter.h >+++ b/Source/WebCore/platform/mediastream/MediaStreamCenter.h >@@ -57,7 +57,7 @@ public: > virtual void didCompleteQuery(const MediaStreamSourceVector& audioSources, const MediaStreamSourceVector& videoSources) = 0; > }; > >-class MediaStreamCenter { >+class WEBKIT_EXPORTDATA MediaStreamCenter { > WTF_MAKE_NONCOPYABLE(MediaStreamCenter); > WTF_MAKE_FAST_ALLOCATED; > public: >diff --git a/Source/WebCore/platform/mediastream/PeerConnectionHandler.h b/Source/WebCore/platform/mediastream/PeerConnectionHandler.h >index fa22cf4c7ca4280552993e423eabecd873df1ac5..4ded3ecb14e78520caaa7a4480dcbd73c270bd11 100644 >--- a/Source/WebCore/platform/mediastream/PeerConnectionHandler.h >+++ b/Source/WebCore/platform/mediastream/PeerConnectionHandler.h >@@ -46,7 +46,7 @@ class PeerConnectionHandlerClient; > class PeerConnectionHandlerInternal; > #endif > >-class PeerConnectionHandler { >+class WEBKIT_EXPORTDATA PeerConnectionHandler { > WTF_MAKE_NONCOPYABLE(PeerConnectionHandler); > WTF_MAKE_FAST_ALLOCATED; > public: >diff --git a/Source/WebCore/platform/network/BlobRegistry.h b/Source/WebCore/platform/network/BlobRegistry.h >index 5284a9b0d600ec48809ef6be6675ebedfa0aa64d..428acf2ba9ed9d93c8f590189886fdc710f40c50 100644 >--- a/Source/WebCore/platform/network/BlobRegistry.h >+++ b/Source/WebCore/platform/network/BlobRegistry.h >@@ -47,7 +47,7 @@ class ResourceRequest; > class ResourceResponse; > > // Returns a single instance of BlobRegistry. >-BlobRegistry& blobRegistry(); >+WEBKIT_EXPORTDATA BlobRegistry& blobRegistry(); > > // BlobRegistry is not thread-safe. It should only be called from main thread. > class BlobRegistry { >diff --git a/Source/WebCore/platform/network/ResourceHandle.h b/Source/WebCore/platform/network/ResourceHandle.h >index 8626e09e83c54b2946a388561d737d3fdcb1dad4..4ddcf9261e61092fcdc2c1e7bb30dda3e8ef9bb3 100644 >--- a/Source/WebCore/platform/network/ResourceHandle.h >+++ b/Source/WebCore/platform/network/ResourceHandle.h >@@ -95,7 +95,7 @@ enum StoredCredentials { > > template <typename T> class Timer; > >-class ResourceHandle : public RefCounted<ResourceHandle> >+class WEBKIT_EXPORTDATA ResourceHandle : public RefCounted<ResourceHandle> > #if PLATFORM(MAC) || USE(CFNETWORK) || USE(CURL) > , public AuthenticationClient > #endif >diff --git a/Source/WebCore/platform/network/chromium/SocketStreamHandle.h b/Source/WebCore/platform/network/chromium/SocketStreamHandle.h >index 6e0214d24bc82b66557d64bd4e79196eb20df7af..1e39fcab5fdc97f8419c7294dd9818bf637faf0c 100644 >--- a/Source/WebCore/platform/network/chromium/SocketStreamHandle.h >+++ b/Source/WebCore/platform/network/chromium/SocketStreamHandle.h >@@ -44,7 +44,7 @@ namespace WebCore { > class SocketStreamHandleClient; > class SocketStreamHandleInternal; > >- class SocketStreamHandle : public RefCounted<SocketStreamHandle>, public SocketStreamHandleBase { >+ class WEBKIT_EXPORTDATA SocketStreamHandle : public RefCounted<SocketStreamHandle>, public SocketStreamHandleBase { > public: > static PassRefPtr<SocketStreamHandle> create(const KURL& url, SocketStreamHandleClient* client) { return adoptRef(new SocketStreamHandle(url, client)); } > >diff --git a/Source/WebCore/storage/StorageInfo.h b/Source/WebCore/storage/StorageInfo.h >index b908bd89436b3cd508f49bc09f13fb65834c8c62..a0947cd46ef07c96fa810f27df026953d6ac0a8f 100644 >--- a/Source/WebCore/storage/StorageInfo.h >+++ b/Source/WebCore/storage/StorageInfo.h >@@ -43,7 +43,7 @@ class StorageInfoErrorCallback; > class StorageInfoQuotaCallback; > class StorageInfoUsageCallback; > >-class StorageInfo : public RefCounted<StorageInfo> { >+class WEBKIT_EXPORTDATA StorageInfo : public RefCounted<StorageInfo> { > public: > enum { > TEMPORARY, >diff --git a/Source/WebCore/storage/StorageNamespace.h b/Source/WebCore/storage/StorageNamespace.h >index 6017645dd730fa757fc52b2404134bfa590c257a..050e0b56316832cce3c8633642867d0404aef479 100644 >--- a/Source/WebCore/storage/StorageNamespace.h >+++ b/Source/WebCore/storage/StorageNamespace.h >@@ -38,7 +38,7 @@ class SecurityOrigin; > class StorageArea; > > // This interface is required for Chromium since these actions need to be proxied between processes. >-class StorageNamespace : public RefCounted<StorageNamespace> { >+class WEBKIT_EXPORTDATA StorageNamespace : public RefCounted<StorageNamespace> { > public: > static PassRefPtr<StorageNamespace> localStorageNamespace(const String& path, unsigned quota); > static PassRefPtr<StorageNamespace> sessionStorageNamespace(Page*, unsigned quota); >diff --git a/Source/WebCore/workers/SharedWorkerRepository.h b/Source/WebCore/workers/SharedWorkerRepository.h >index c3d87ec90eac7b0d9005ed15290184ea775b3ead..b3d4551c0bbc2d3430fd3cfa37ea59727b4177d4 100644 >--- a/Source/WebCore/workers/SharedWorkerRepository.h >+++ b/Source/WebCore/workers/SharedWorkerRepository.h >@@ -47,7 +47,7 @@ namespace WebCore { > typedef int ExceptionCode; > > // Interface to a repository which manages references to the set of active shared workers. >- class SharedWorkerRepository { >+ class WEBKIT_EXPORTDATA SharedWorkerRepository { > public: > // Returns true if the platform supports SharedWorkers, otherwise false. > static bool isAvailable(); >diff --git a/Source/WebCore/workers/WorkerContextProxy.h b/Source/WebCore/workers/WorkerContextProxy.h >index 05976af425bdf6dc1bcfb2a404d49e0d435e0479..cad77aef25bde5ae8a08ea297e78e7418af3d45e 100644 >--- a/Source/WebCore/workers/WorkerContextProxy.h >+++ b/Source/WebCore/workers/WorkerContextProxy.h >@@ -44,7 +44,7 @@ namespace WebCore { > class Worker; > > // A proxy to talk to the worker context. >- class WorkerContextProxy { >+ class WEBKIT_EXPORTDATA WorkerContextProxy { > public: > static WorkerContextProxy* create(Worker*); > >diff --git a/Source/WebKit/chromium/WebKit.gyp b/Source/WebKit/chromium/WebKit.gyp >index 1e1a41665e79dd2ca5d38aded6958519e1574143..6b6b83f55a5fd7727384c0e835e1b3353fa9d936 100644 >--- a/Source/WebKit/chromium/WebKit.gyp >+++ b/Source/WebKit/chromium/WebKit.gyp >@@ -698,80 +698,17 @@ > 'conditions': [ > ['inside_chromium_build==1', { > 'type': '<(component)', >- > 'conditions': [ >+ # AMI: drop this entire section? Anything that's left here should have a reason. > ['component=="shared_library"', { > 'defines': [ > 'WEBKIT_DLL', > ], >- 'dependencies': [ >- '../../WebCore/WebCore.gyp/WebCore.gyp:webcore_bindings', >- '../../WebCore/WebCore.gyp/WebCore.gyp:webcore_test_support', >- '<(chromium_src_dir)/base/base.gyp:test_support_base', >- '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl', >- '<(chromium_src_dir)/testing/gtest.gyp:gtest', >- '<(chromium_src_dir)/testing/gmock.gyp:gmock', >- '<(chromium_src_dir)/third_party/icu/icu.gyp:*', >- '<(chromium_src_dir)/third_party/libjpeg_turbo/libjpeg.gyp:libjpeg', >- '<(chromium_src_dir)/third_party/libpng/libpng.gyp:libpng', >- '<(chromium_src_dir)/third_party/libxml/libxml.gyp:libxml', >- '<(chromium_src_dir)/third_party/libxslt/libxslt.gyp:libxslt', >- '<(chromium_src_dir)/third_party/modp_b64/modp_b64.gyp:modp_b64', >- '<(chromium_src_dir)/third_party/ots/ots.gyp:ots', >- '<(chromium_src_dir)/third_party/zlib/zlib.gyp:zlib', >- '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8', >- # We must not add webkit_support here because of cyclic dependency. >- ], > 'direct_dependent_settings': { > 'defines': [ > 'WEBKIT_DLL', > ], > }, >- 'export_dependent_settings': [ >- '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl', >- '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8', >- ], >- 'include_dirs': [ >- # WARNING: Do not view this particular case as a precedent for >- # including WebCore headers in DumpRenderTree project. >- '../../WebCore/testing/v8', # for WebCoreTestSupport.h, needed to link in window.internals code. >- ], >- 'sources': [ >- '<@(webkit_unittest_files)', >- 'src/WebTestingSupport.cpp', >- 'public/WebTestingSupport.h', >- 'tests/WebUnitTests.cpp', # Components test runner support. >- ], >- 'sources!': [ >- # We should not include files depending on webkit_support. >- # These tests depend on webkit_support and >- # functions defined only in !WEBKIT_IMPLEMENTATION. >- 'tests/AssociatedURLLoaderTest.cpp', >- 'tests/FrameTestHelpers.cpp', >- 'tests/PopupMenuTest.cpp', >- 'tests/RenderTableCellTest.cpp', >- 'tests/WebFrameTest.cpp', >- 'tests/WebPageNewSerializerTest.cpp', >- 'tests/WebPageSerializerTest.cpp', >- 'tests/WebViewTest.cpp', >- ], >- 'conditions': [ >- ['OS=="win" or OS=="mac"', { >- 'dependencies': [ >- '<(chromium_src_dir)/third_party/nss/nss.gyp:*', >- ], >- }], >- ['clang==1', { >- # FIXME: It would be nice to enable this in shared builds too, >- # but the test files have global constructors from the GTEST macro >- # and we pull in the test files into the webkit target in the >- # shared build. >- 'cflags!': ['-Wglobal-constructors'], >- 'xcode_settings': { >- 'WARNING_CFLAGS!': ['-Wglobal-constructors'], >- }, >- }], >- ], > 'msvs_settings': { > 'VCLinkerTool': { > 'conditions': [ >diff --git a/Source/WebKit/chromium/WebKitUnitTests.gyp b/Source/WebKit/chromium/WebKitUnitTests.gyp >index d50ad152307062eff03d6df02939fe03259c6d83..d62be2841b7daa3753de7cced92251a88740d3eb 100644 >--- a/Source/WebKit/chromium/WebKitUnitTests.gyp >+++ b/Source/WebKit/chromium/WebKitUnitTests.gyp >@@ -65,33 +65,23 @@ > '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support', > '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_user_agent', > ], >- 'sources': [ >- 'tests/RunAllTests.cpp', >- ], > 'include_dirs': [ > 'public', > 'src', > ], >+ 'sources': [ >+ 'tests/RunAllTests.cpp', >+ '<@(webkit_unittest_files)', >+ ], > 'conditions': [ >- ['inside_chromium_build==1 and component=="shared_library"', { >- 'defines': [ >- 'WEBKIT_DLL_UNITTEST', >- ], >- }, { >- 'sources': [ >- '<@(webkit_unittest_files)', >- ], >- 'conditions': [ >- ['toolkit_uses_gtk == 1', { >- 'include_dirs': [ >- 'public/gtk', >- ], >- 'variables': { >- # FIXME: Enable warnings on other platforms. >- 'chromium_code': 1, >- }, >- }], >+ ['toolkit_uses_gtk == 1', { >+ 'include_dirs': [ >+ 'public/gtk', > ], >+ 'variables': { >+ # FIXME: Enable warnings on other platforms. >+ 'chromium_code': 1, >+ }, > }], > ['inside_chromium_build==1 and OS=="win" and component!="shared_library"', { > 'configurations': { >diff --git a/Source/WebKit/chromium/public/WebCompositor.h b/Source/WebKit/chromium/public/WebCompositor.h >index 32b60e2845e8786ff4bb46e6b9d2bf293fed58aa..78037f15250b9ebfcaf09fd4aaf95935cb8a26f6 100644 >--- a/Source/WebKit/chromium/public/WebCompositor.h >+++ b/Source/WebKit/chromium/public/WebCompositor.h >@@ -43,7 +43,7 @@ class WebThread; > // > // This class currently temporarily inherits from WebCompositorInputHandler > // while we migrate downstream code to use WebCompositorInputHandler directly. >-class WebCompositor : public WebCompositorInputHandler { >+class WEBKIT_EXPORT WebCompositor : public WebCompositorInputHandler { > public: > // Initializes the compositor. Threaded compositing is enabled by passing in > // a non-null WebThread. No compositor classes or methods should be used >diff --git a/Source/WebKit/chromium/public/platform/WebURLError.h b/Source/WebKit/chromium/public/platform/WebURLError.h >index 862dbeaa3b3c0f28e2694f8d8b6fb18a2d1e850f..4f2a41eb14f31befd8362813eed35367eed692f0 100644 >--- a/Source/WebKit/chromium/public/platform/WebURLError.h >+++ b/Source/WebKit/chromium/public/platform/WebURLError.h >@@ -31,6 +31,7 @@ > #ifndef WebURLError_h > #define WebURLError_h > >+#include "WebCommon.h" > #include "WebString.h" > #include "WebURL.h" > >@@ -40,7 +41,7 @@ namespace WebCore { class ResourceError; } > > namespace WebKit { > >-struct WebURLError { >+struct WEBKIT_EXPORT WebURLError { > // A namespace for "reason" to support various layers generating > // resource errors. WebKit does not care about the value of this > // string as it will just be passed via callbacks to the consumer. >diff --git a/Source/WebKit/chromium/src/EditorClientImpl.h b/Source/WebKit/chromium/src/EditorClientImpl.h >index b167b6c2d466a4df2ee0ab3e249fe40c0932f186..7010b95c858a202f1da4975861b3df90bf1f9bcd 100644 >--- a/Source/WebKit/chromium/src/EditorClientImpl.h >+++ b/Source/WebKit/chromium/src/EditorClientImpl.h >@@ -34,6 +34,7 @@ > #include "EditorClient.h" > #include "TextCheckerClient.h" > #include "Timer.h" >+#include "platform/WebCommon.h" > #include <wtf/Deque.h> > > namespace WebCore { >@@ -45,7 +46,7 @@ class SpellChecker; > namespace WebKit { > class WebViewImpl; > >-class EditorClientImpl : public WebCore::EditorClient, public WebCore::TextCheckerClient { >+class WEBKIT_EXPORT EditorClientImpl : public WebCore::EditorClient, public WebCore::TextCheckerClient { > public: > EditorClientImpl(WebViewImpl* webView); > >diff --git a/Source/WebKit/chromium/src/GraphicsContext3DPrivate.h b/Source/WebKit/chromium/src/GraphicsContext3DPrivate.h >index be9db4287db6efa3285fccb854fea3483ad15b6c..9a9967feda001d06b39bd18a46e38421f582ec5b 100644 >--- a/Source/WebKit/chromium/src/GraphicsContext3DPrivate.h >+++ b/Source/WebKit/chromium/src/GraphicsContext3DPrivate.h >@@ -28,6 +28,7 @@ > > #include "Extensions3DChromium.h" > #include "GraphicsContext3D.h" >+#include "platform/WebCommon.h" > #include <wtf/HashSet.h> > #include <wtf/OwnArrayPtr.h> > #include <wtf/OwnPtr.h> >@@ -52,7 +53,7 @@ class GraphicsContext3DSwapBuffersCompleteCallbackAdapter; > class GraphicsErrorMessageCallbackAdapter; > class GraphicsContext3DMemoryAllocationChangedCallbackAdapter; > >-class GraphicsContext3DPrivate { >+class WEBKIT_EXPORT GraphicsContext3DPrivate { > public: > // Callers must make the context current before using it AND check that the context was created successfully > // via ContextLost before using the context in any way. Once made current on a thread, the context cannot >diff --git a/Source/WebKit/chromium/src/LocalizedStrings.cpp b/Source/WebKit/chromium/src/LocalizedStrings.cpp >index 917180b667e04f71ee6f7aedbd16d37206cfe1c2..e5541d4f02e00521a416b985d33cb65d51cfbcee 100644 >--- a/Source/WebKit/chromium/src/LocalizedStrings.cpp >+++ b/Source/WebKit/chromium/src/LocalizedStrings.cpp >@@ -223,12 +223,12 @@ String unknownFileSizeText() > > // The following two functions are not declared in LocalizedStrings.h. > // They are used by the menu for the HTML keygen tag. >-String keygenMenuHighGradeKeySize() >+WTF_EXPORT String keygenMenuHighGradeKeySize() > { > return query(WebLocalizedString::KeygenMenuHighGradeKeySize); > } > >-String keygenMenuMediumGradeKeySize() >+WTF_EXPORT String keygenMenuMediumGradeKeySize() > { > return query(WebLocalizedString::KeygenMenuMediumGradeKeySize); > } >diff --git a/Source/WebKit/chromium/src/WebCompositorImpl.h b/Source/WebKit/chromium/src/WebCompositorImpl.h >index 34c6bd0fdc6764db3aded2e2e839536834faa37e..cc276547b57a23a9c3e02d9dc2b708553b8ead8f 100644 >--- a/Source/WebKit/chromium/src/WebCompositorImpl.h >+++ b/Source/WebKit/chromium/src/WebCompositorImpl.h >@@ -40,7 +40,7 @@ namespace WebKit { > > class WebThread; > >-class WebCompositorImpl : public WebCompositor { >+class WEBKIT_EXPORT WebCompositorImpl : public WebCompositor { > WTF_MAKE_NONCOPYABLE(WebCompositorImpl); > public: > static bool initialized(); >diff --git a/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.h b/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.h >index a2f13025d9f17bfd18c144f9317d82a6ea109ec5..688c65cb44ebba632059f2151a5ba2a4b3fbeac3 100644 >--- a/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.h >+++ b/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.h >@@ -29,6 +29,7 @@ > #include "WebCompositor.h" > #include "WebCompositorInputHandler.h" > #include "cc/CCInputHandler.h" >+#include "platform/WebCommon.h" > #include <wtf/HashSet.h> > #include <wtf/Noncopyable.h> > #include <wtf/OwnPtr.h> >@@ -47,7 +48,7 @@ namespace WebKit { > class WebCompositorInputHandlerClient; > > // Temporarily subclassing from WebCompositor while downstream changes land. >-class WebCompositorInputHandlerImpl : public WebCompositor, public WebCore::CCInputHandler { >+class WEBKIT_EXPORT WebCompositorInputHandlerImpl : public WebCompositor, public WebCore::CCInputHandler { > WTF_MAKE_NONCOPYABLE(WebCompositorInputHandlerImpl); > public: > static PassOwnPtr<WebCompositorInputHandlerImpl> create(WebCore::CCInputHandlerClient*); >@@ -76,8 +77,8 @@ private: > #endif > bool m_scrollStarted; > >- static int s_nextAvailableIdentifier; >- static HashSet<WebCompositorInputHandlerImpl*>* s_compositors; >+ static WEBKIT_EXPORT int s_nextAvailableIdentifier; >+ static WEBKIT_EXPORT HashSet<WebCompositorInputHandlerImpl*>* s_compositors; > }; > > } >diff --git a/Source/WebKit/chromium/src/WebExternalTextureLayerImpl.h b/Source/WebKit/chromium/src/WebExternalTextureLayerImpl.h >index 7b73e7080dd6f1f0584c4c621df3a6ee34a75b5e..1b70940dbe7fd2bc0252bb100effab5155dfb1c1 100644 >--- a/Source/WebKit/chromium/src/WebExternalTextureLayerImpl.h >+++ b/Source/WebKit/chromium/src/WebExternalTextureLayerImpl.h >@@ -27,11 +27,12 @@ > #define WebExternalTextureLayerImpl_h > > #include "PluginLayerChromium.h" >+#include "platform/WebCommon.h" > #include <wtf/PassRefPtr.h> > > namespace WebKit { > >-class WebExternalTextureLayerImpl : public WebCore::PluginLayerChromium { >+class WEBKIT_EXPORT WebExternalTextureLayerImpl : public WebCore::PluginLayerChromium { > public: > static PassRefPtr<WebExternalTextureLayerImpl> create(); > >diff --git a/Source/WebKit/chromium/src/WebInputEventConversion.h b/Source/WebKit/chromium/src/WebInputEventConversion.h >index d47bda81492f1b019196ed6398b57a699f840310..4f35397bb2344ab5274feb43824780892b194dc8 100644 >--- a/Source/WebKit/chromium/src/WebInputEventConversion.h >+++ b/Source/WebKit/chromium/src/WebInputEventConversion.h >@@ -37,6 +37,7 @@ > #include "PlatformTouchEvent.h" > #include "PlatformWheelEvent.h" > #include "WebInputEvent.h" >+#include "platform/WebCommon.h" > > namespace WebCore { > class KeyboardEvent; >@@ -75,7 +76,7 @@ public: > }; > #endif > >-class PlatformKeyboardEventBuilder : public WebCore::PlatformKeyboardEvent { >+class WEBKIT_EXPORT PlatformKeyboardEventBuilder : public WebCore::PlatformKeyboardEvent { > public: > PlatformKeyboardEventBuilder(const WebKeyboardEvent&); > void setKeyType(Type); >diff --git a/Source/WebKit/chromium/src/WebViewImpl.h b/Source/WebKit/chromium/src/WebViewImpl.h >index 5577407de3b41129b05d34fec51d98b660782ecd..f85b92ca10a58e09401cac22c0cfcc04a71dba5a 100644 >--- a/Source/WebKit/chromium/src/WebViewImpl.h >+++ b/Source/WebKit/chromium/src/WebViewImpl.h >@@ -32,6 +32,7 @@ > #define WebViewImpl_h > > #include "WebNavigationPolicy.h" >+#include "platform/WebCommon.h" > #include "platform/WebLayer.h" > #include "platform/WebLayerTreeView.h" > #include "platform/WebLayerTreeViewClient.h" >@@ -96,7 +97,7 @@ class WebMouseWheelEvent; > class WebSettingsImpl; > class WebTouchEvent; > >-class WebViewImpl : public WebView, public WebLayerTreeViewClient, public RefCounted<WebViewImpl> { >+class WEBKIT_EXPORT WebViewImpl : public WebView, public WebLayerTreeViewClient, public RefCounted<WebViewImpl> { > public: > enum AutoZoomType { > DoubleTap, >diff --git a/Source/WebKit/chromium/src/painting/PaintAggregator.h b/Source/WebKit/chromium/src/painting/PaintAggregator.h >index f083e40175a91ae08635acb00c3a25fd973332b4..ca194aa748a937b3f22d82ae6e5aecd67cf75759 100644 >--- a/Source/WebKit/chromium/src/painting/PaintAggregator.h >+++ b/Source/WebKit/chromium/src/painting/PaintAggregator.h >@@ -33,13 +33,14 @@ > > #include "IntPoint.h" > #include "IntRect.h" >+#include "platform/WebCommon.h" > #include <wtf/Vector.h> > > namespace WebKit { > > // This class is responsible for aggregating multiple invalidation and scroll > // commands to produce a scroll and repaint sequence. >-class PaintAggregator { >+class WEBKIT_EXPORT PaintAggregator { > public: > // This structure describes an aggregation of invalidateRect and scrollRect > // calls. If |scrollRect| is non-empty, then that rect should be scrolled >diff --git a/Source/WebKit/chromium/tests/RunAllTests.cpp b/Source/WebKit/chromium/tests/RunAllTests.cpp >index dc05282571a7c688cdb208956c354e63a33a3c3c..4d81c4389c61c0dcea2c0a5fe9a7745920bc2bf6 100644 >--- a/Source/WebKit/chromium/tests/RunAllTests.cpp >+++ b/Source/WebKit/chromium/tests/RunAllTests.cpp >@@ -35,9 +35,7 @@ > #include "platform/WebKitPlatformSupport.h" > #include <webkit/support/webkit_support.h> > >-#if defined(WEBKIT_DLL_UNITTEST) > #include "WebUnitTests.h" >-#endif > > #include <gmock/gmock.h> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 80062
:
130908
|
130918
|
131197
|
131200
|
131245