| 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 }; | |
| 71 | 70 |
| 72 WTFLogChannel* getChannelFromName(const String& channelName) | 71 WTFLogChannel* getChannelFromName(const String& channelName) |
| 73 { | 72 { |
| 74 if (!(channelName.length() >= 2)) | 73 if (!(channelName.length() >= 2)) |
| 75 return 0; | 74 return 0; |
| 76 | 75 |
| 77 if (equalIgnoringCase(channelName, String("BackForward"))) | 76 if (equalIgnoringCase(channelName, String("BackForward"))) |
| 78 return &LogBackForward; | 77 return &LogBackForward; |
| 79 | 78 |
| 80 if (equalIgnoringCase(channelName, String("Editing"))) | 79 if (equalIgnoringCase(channelName, String("Editing"))) |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 141 |
| 143 if (equalIgnoringCase(channelName, String("WebAudio"))) | 142 if (equalIgnoringCase(channelName, String("WebAudio"))) |
| 144 return &LogWebAudio; | 143 return &LogWebAudio; |
| 145 | 144 |
| 146 if (equalIgnoringCase(channelName, String("Compositing"))) | 145 if (equalIgnoringCase(channelName, String("Compositing"))) |
| 147 return &LogCompositing; | 146 return &LogCompositing; |
| 148 | 147 |
| 149 if (equalIgnoringCase(channelName, String("Gamepad"))) | 148 if (equalIgnoringCase(channelName, String("Gamepad"))) |
| 150 return &LogGamepad; | 149 return &LogGamepad; |
| 151 | 150 |
| 152 if (equalIgnoringCase(channelName, String("ScriptedAnimationController"))) | |
| 153 return &LogScriptedAnimationController; | |
| 154 | |
| 155 return 0; | 151 return 0; |
| 156 } | 152 } |
| 157 | 153 |
| 158 } | 154 } |
| 159 | 155 |
| 160 #endif // !LOG_DISABLED | 156 #endif // !LOG_DISABLED |
| OLD | NEW |