| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 WTFLogChannel LogPlugins = { WTFLogChannelOff }; | 60 WTFLogChannel LogPlugins = { WTFLogChannelOff }; |
| 61 WTFLogChannel LogArchives = { WTFLogChannelOff }; | 61 WTFLogChannel LogArchives = { WTFLogChannelOff }; |
| 62 WTFLogChannel LogProgress = { WTFLogChannelOff }; | 62 WTFLogChannel LogProgress = { WTFLogChannelOff }; |
| 63 | 63 |
| 64 WTFLogChannel LogFileAPI = { WTFLogChannelOff }; | 64 WTFLogChannel LogFileAPI = { WTFLogChannelOff }; |
| 65 | 65 |
| 66 WTFLogChannel LogWebAudio = { WTFLogChannelOff }; | 66 WTFLogChannel LogWebAudio = { WTFLogChannelOff }; |
| 67 WTFLogChannel LogCompositing = { WTFLogChannelOff }; | 67 WTFLogChannel LogCompositing = { WTFLogChannelOff }; |
| 68 WTFLogChannel LogGamepad = { WTFLogChannelOff }; | 68 WTFLogChannel LogGamepad = { WTFLogChannelOff }; |
| 69 | 69 |
| 70 WTFLogChannel LogScriptedAnimationController = { WTFLogChannelOff }; |
| 70 | 71 |
| 71 WTFLogChannel* getChannelFromName(const String& channelName) | 72 WTFLogChannel* getChannelFromName(const String& channelName) |
| 72 { | 73 { |
| 73 if (!(channelName.length() >= 2)) | 74 if (!(channelName.length() >= 2)) |
| 74 return 0; | 75 return 0; |
| 75 | 76 |
| 76 if (equalIgnoringCase(channelName, String("BackForward"))) | 77 if (equalIgnoringCase(channelName, String("BackForward"))) |
| 77 return &LogBackForward; | 78 return &LogBackForward; |
| 78 | 79 |
| 79 if (equalIgnoringCase(channelName, String("Editing"))) | 80 if (equalIgnoringCase(channelName, String("Editing"))) |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 142 |
| 142 if (equalIgnoringCase(channelName, String("WebAudio"))) | 143 if (equalIgnoringCase(channelName, String("WebAudio"))) |
| 143 return &LogWebAudio; | 144 return &LogWebAudio; |
| 144 | 145 |
| 145 if (equalIgnoringCase(channelName, String("Compositing"))) | 146 if (equalIgnoringCase(channelName, String("Compositing"))) |
| 146 return &LogCompositing; | 147 return &LogCompositing; |
| 147 | 148 |
| 148 if (equalIgnoringCase(channelName, String("Gamepad"))) | 149 if (equalIgnoringCase(channelName, String("Gamepad"))) |
| 149 return &LogGamepad; | 150 return &LogGamepad; |
| 150 | 151 |
| 152 if (equalIgnoringCase(channelName, String("ScriptedAnimationController"))) |
| 153 return &LogScriptedAnimationController; |
| 154 |
| 151 return 0; | 155 return 0; |
| 152 } | 156 } |
| 153 | 157 |
| 154 } | 158 } |
| 155 | 159 |
| 156 #endif // !LOG_DISABLED | 160 #endif // !LOG_DISABLED |
| OLD | NEW |