Changeset 148071 in webkit


Ignore:
Timestamp:
Apr 9, 2013 5:57:52 PM (11 years ago)
Author:
dino@apple.com
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.

Location:
trunk/Source/WebCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148070 r148071  
     12013-04-09  Dean Jackson  <dino@apple.com>
     2
     3        Add logging channel for animations
     4        https://bugs.webkit.org/show_bug.cgi?id=114325
     5
     6        Reviewed by Simon Fraser.
     7
     8        * platform/Logging.cpp: Add LogAnimations.
     9        (WebCore::getChannelFromName): Return LogAnimations for "Animations".
     10        * platform/Logging.h: Add LogAnimations.
     11        * platform/mac/LoggingMac.mm:
     12        (WebCore::initializeLoggingChannelsIfNecessary): Copy preference.
     13        * platform/win/LoggingWin.cpp:
     14        (WebCore::initializeLoggingChannelsIfNecessary): Copy preference.
     15
    1162013-04-09  Dongwoo Joshua Im  <dw.im@samsung.com>
    217
  • trunk/Source/WebCore/platform/Logging.cpp

    r127757 r148071  
    5252WTFLogChannel LogPlatformLeaks =     { 0x00010000, "WebCoreLogLevel", WTFLogChannelOff };
    5353WTFLogChannel LogResourceLoading =   { 0x00020000, "WebCoreLogLevel", WTFLogChannelOff };
     54WTFLogChannel LogAnimations =        { 0x00040000, "WebCoreLogLevel", WTFLogChannelOff };
    5455
    5556WTFLogChannel LogNetwork =           { 0x00100000, "WebCoreLogLevel", WTFLogChannelOff };
     
    117118        return &LogResourceLoading;
    118119
     120    if (equalIgnoringCase(channelName, String("Animations")))
     121        return &LogAnimations;
     122
    119123    if (equalIgnoringCase(channelName, String("Plugins")))
    120124        return &LogPlugins;
  • trunk/Source/WebCore/platform/Logging.h

    r137486 r148071  
    5353    extern WTFLogChannel LogPlatformLeaks;
    5454    extern WTFLogChannel LogResourceLoading;
     55    extern WTFLogChannel LogAnimations;
    5556    extern WTFLogChannel LogNetwork;
    5657    extern WTFLogChannel LogFTP;
  • trunk/Source/WebCore/platform/mac/LoggingMac.mm

    r137486 r148071  
    6868    initializeWithUserDefault(LogPlatformLeaks);
    6969    initializeWithUserDefault(LogResourceLoading);
     70    initializeWithUserDefault(LogAnimations);
    7071    initializeWithUserDefault(LogNetwork);
    7172    initializeWithUserDefault(LogFTP);
  • trunk/Source/WebCore/platform/win/LoggingWin.cpp

    r137486 r148071  
    9494    initializeWithUserDefault(LogPlatformLeaks);
    9595    initializeWithUserDefault(LogResourceLoading);
     96    initializeWithUserDefault(LogAnimations);
    9697    initializeWithUserDefault(LogNetwork);
    9798    initializeWithUserDefault(LogFTP);
Note: See TracChangeset for help on using the changeset viewer.