Title: [148071] trunk/Source/WebCore
- Revision
- 148071
- Author
- [email protected]
- Date
- 2013-04-09 17:57:52 -0700 (Tue, 09 Apr 2013)
Log Message
Add logging channel for animations
https://bugs.webkit.org/show_bug.cgi?id=114325
Reviewed by Simon Fraser.
* platform/Logging.cpp: Add LogAnimations.
(WebCore::getChannelFromName): Return LogAnimations for "Animations".
* platform/Logging.h: Add LogAnimations.
* platform/mac/LoggingMac.mm:
(WebCore::initializeLoggingChannelsIfNecessary): Copy preference.
* platform/win/LoggingWin.cpp:
(WebCore::initializeLoggingChannelsIfNecessary): Copy preference.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (148070 => 148071)
--- trunk/Source/WebCore/ChangeLog 2013-04-10 00:32:39 UTC (rev 148070)
+++ trunk/Source/WebCore/ChangeLog 2013-04-10 00:57:52 UTC (rev 148071)
@@ -1,3 +1,18 @@
+2013-04-09 Dean Jackson <[email protected]>
+
+ Add logging channel for animations
+ https://bugs.webkit.org/show_bug.cgi?id=114325
+
+ Reviewed by Simon Fraser.
+
+ * platform/Logging.cpp: Add LogAnimations.
+ (WebCore::getChannelFromName): Return LogAnimations for "Animations".
+ * platform/Logging.h: Add LogAnimations.
+ * platform/mac/LoggingMac.mm:
+ (WebCore::initializeLoggingChannelsIfNecessary): Copy preference.
+ * platform/win/LoggingWin.cpp:
+ (WebCore::initializeLoggingChannelsIfNecessary): Copy preference.
+
2013-04-09 Dongwoo Joshua Im <[email protected]>
[CSS3] Parsing the property, text-justify.
Modified: trunk/Source/WebCore/platform/Logging.cpp (148070 => 148071)
--- trunk/Source/WebCore/platform/Logging.cpp 2013-04-10 00:32:39 UTC (rev 148070)
+++ trunk/Source/WebCore/platform/Logging.cpp 2013-04-10 00:57:52 UTC (rev 148071)
@@ -51,6 +51,7 @@
WTFLogChannel LogPlatformLeaks = { 0x00010000, "WebCoreLogLevel", WTFLogChannelOff };
WTFLogChannel LogResourceLoading = { 0x00020000, "WebCoreLogLevel", WTFLogChannelOff };
+WTFLogChannel LogAnimations = { 0x00040000, "WebCoreLogLevel", WTFLogChannelOff };
WTFLogChannel LogNetwork = { 0x00100000, "WebCoreLogLevel", WTFLogChannelOff };
WTFLogChannel LogFTP = { 0x00200000, "WebCoreLogLevel", WTFLogChannelOff };
@@ -116,6 +117,9 @@
if (equalIgnoringCase(channelName, String("ResourceLoading")))
return &LogResourceLoading;
+ if (equalIgnoringCase(channelName, String("Animations")))
+ return &LogAnimations;
+
if (equalIgnoringCase(channelName, String("Plugins")))
return &LogPlugins;
Modified: trunk/Source/WebCore/platform/Logging.h (148070 => 148071)
--- trunk/Source/WebCore/platform/Logging.h 2013-04-10 00:32:39 UTC (rev 148070)
+++ trunk/Source/WebCore/platform/Logging.h 2013-04-10 00:57:52 UTC (rev 148071)
@@ -52,6 +52,7 @@
extern WTFLogChannel LogPageCache;
extern WTFLogChannel LogPlatformLeaks;
extern WTFLogChannel LogResourceLoading;
+ extern WTFLogChannel LogAnimations;
extern WTFLogChannel LogNetwork;
extern WTFLogChannel LogFTP;
extern WTFLogChannel LogThreading;
Modified: trunk/Source/WebCore/platform/mac/LoggingMac.mm (148070 => 148071)
--- trunk/Source/WebCore/platform/mac/LoggingMac.mm 2013-04-10 00:32:39 UTC (rev 148070)
+++ trunk/Source/WebCore/platform/mac/LoggingMac.mm 2013-04-10 00:57:52 UTC (rev 148071)
@@ -67,6 +67,7 @@
initializeWithUserDefault(LogPageCache);
initializeWithUserDefault(LogPlatformLeaks);
initializeWithUserDefault(LogResourceLoading);
+ initializeWithUserDefault(LogAnimations);
initializeWithUserDefault(LogNetwork);
initializeWithUserDefault(LogFTP);
initializeWithUserDefault(LogThreading);
Modified: trunk/Source/WebCore/platform/win/LoggingWin.cpp (148070 => 148071)
--- trunk/Source/WebCore/platform/win/LoggingWin.cpp 2013-04-10 00:32:39 UTC (rev 148070)
+++ trunk/Source/WebCore/platform/win/LoggingWin.cpp 2013-04-10 00:57:52 UTC (rev 148071)
@@ -93,6 +93,7 @@
initializeWithUserDefault(LogPageCache);
initializeWithUserDefault(LogPlatformLeaks);
initializeWithUserDefault(LogResourceLoading);
+ initializeWithUserDefault(LogAnimations);
initializeWithUserDefault(LogNetwork);
initializeWithUserDefault(LogFTP);
initializeWithUserDefault(LogThreading);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes