| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "public/web/Sky.h" | 32 #include "public/web/Sky.h" |
| 33 | 33 |
| 34 #include "base/message_loop/message_loop.h" | 34 #include "base/message_loop/message_loop.h" |
| 35 #include "base/rand_util.h" | 35 #include "base/rand_util.h" |
| 36 #include "bindings/core/v8/V8Binding.h" | 36 #include "bindings/core/v8/V8Binding.h" |
| 37 #include "bindings/core/v8/V8GCController.h" | 37 #include "bindings/core/v8/V8GCController.h" |
| 38 #include "bindings/core/v8/V8Initializer.h" | 38 #include "bindings/core/v8/V8Initializer.h" |
| 39 #include "core/Init.h" | |
| 40 #include "core/animation/AnimationClock.h" | 39 #include "core/animation/AnimationClock.h" |
| 41 #include "core/dom/Microtask.h" | 40 #include "core/dom/Microtask.h" |
| 42 #include "core/frame/Settings.h" | 41 #include "core/frame/Settings.h" |
| 42 #include "core/Init.h" |
| 43 #include "core/page/Page.h" | 43 #include "core/page/Page.h" |
| 44 #include "gin/public/v8_platform.h" | 44 #include "gin/public/v8_platform.h" |
| 45 #include "mojo/common/message_pump_mojo.h" | 45 #include "mojo/common/message_pump_mojo.h" |
| 46 #include "platform/graphics/ImageDecodingStore.h" |
| 46 #include "platform/LayoutTestSupport.h" | 47 #include "platform/LayoutTestSupport.h" |
| 47 #include "platform/Logging.h" | 48 #include "platform/Logging.h" |
| 48 #include "platform/RuntimeEnabledFeatures.h" | 49 #include "platform/RuntimeEnabledFeatures.h" |
| 49 #include "platform/graphics/ImageDecodingStore.h" | |
| 50 #include "public/platform/Platform.h" | 50 #include "public/platform/Platform.h" |
| 51 #include "v8/include/v8.h" |
| 51 #include "wtf/Assertions.h" | 52 #include "wtf/Assertions.h" |
| 52 #include "wtf/CryptographicallyRandomNumber.h" | 53 #include "wtf/CryptographicallyRandomNumber.h" |
| 53 #include "wtf/MainThread.h" | 54 #include "wtf/MainThread.h" |
| 54 #include "wtf/WTF.h" | |
| 55 #include "wtf/text/AtomicString.h" | 55 #include "wtf/text/AtomicString.h" |
| 56 #include "wtf/text/TextEncoding.h" | 56 #include "wtf/text/TextEncoding.h" |
| 57 #include <v8.h> | 57 #include "wtf/WTF.h" |
| 58 | 58 |
| 59 namespace blink { | 59 namespace blink { |
| 60 | 60 |
| 61 namespace { | 61 namespace { |
| 62 | 62 |
| 63 void willProcessTask() | 63 void willProcessTask() |
| 64 { | 64 { |
| 65 AnimationClock::notifyTaskStart(); | 65 AnimationClock::notifyTaskStart(); |
| 66 } | 66 } |
| 67 | 67 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 void enableLogChannel(const char* name) | 212 void enableLogChannel(const char* name) |
| 213 { | 213 { |
| 214 #if !LOG_DISABLED | 214 #if !LOG_DISABLED |
| 215 WTFLogChannel* channel = getChannelFromName(name); | 215 WTFLogChannel* channel = getChannelFromName(name); |
| 216 if (channel) | 216 if (channel) |
| 217 channel->state = WTFLogChannelOn; | 217 channel->state = WTFLogChannelOn; |
| 218 #endif // !LOG_DISABLED | 218 #endif // !LOG_DISABLED |
| 219 } | 219 } |
| 220 | 220 |
| 221 } // namespace blink | 221 } // namespace blink |
| OLD | NEW |