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 23 matching lines...) Expand all Loading... |
34 #include "IDBFactoryBackendProxy.h" | 34 #include "IDBFactoryBackendProxy.h" |
35 #include "RuntimeEnabledFeatures.h" | 35 #include "RuntimeEnabledFeatures.h" |
36 #include "WebMediaPlayerClientImpl.h" | 36 #include "WebMediaPlayerClientImpl.h" |
37 #include "bindings/v8/V8Binding.h" | 37 #include "bindings/v8/V8Binding.h" |
38 #include "bindings/v8/V8Initializer.h" | 38 #include "bindings/v8/V8Initializer.h" |
39 #include "bindings/v8/V8RecursionScope.h" | 39 #include "bindings/v8/V8RecursionScope.h" |
40 #include "core/Init.h" | 40 #include "core/Init.h" |
41 #include "core/dom/Microtask.h" | 41 #include "core/dom/Microtask.h" |
42 #include "core/page/Page.h" | 42 #include "core/page/Page.h" |
43 #include "core/page/Settings.h" | 43 #include "core/page/Settings.h" |
| 44 #include "core/workers/WorkerGlobalScopeProxy.h" |
44 #include "platform/LayoutTestSupport.h" | 45 #include "platform/LayoutTestSupport.h" |
45 #include "platform/Logging.h" | 46 #include "platform/Logging.h" |
46 #include "core/platform/graphics/ImageDecodingStore.h" | 47 #include "platform/graphics/ImageDecodingStore.h" |
47 #include "core/workers/WorkerGlobalScopeProxy.h" | |
48 #include "platform/graphics/media/MediaPlayer.h" | 48 #include "platform/graphics/media/MediaPlayer.h" |
| 49 #include "public/platform/Platform.h" |
| 50 #include "public/platform/WebPrerenderingSupport.h" |
| 51 #include "public/platform/WebThread.h" |
49 #include "wtf/Assertions.h" | 52 #include "wtf/Assertions.h" |
50 #include "wtf/CryptographicallyRandomNumber.h" | 53 #include "wtf/CryptographicallyRandomNumber.h" |
51 #include "wtf/MainThread.h" | 54 #include "wtf/MainThread.h" |
52 #include "wtf/UnusedParam.h" | 55 #include "wtf/UnusedParam.h" |
53 #include "wtf/WTF.h" | 56 #include "wtf/WTF.h" |
54 #include "wtf/text/AtomicString.h" | 57 #include "wtf/text/AtomicString.h" |
55 #include "wtf/text/TextEncoding.h" | 58 #include "wtf/text/TextEncoding.h" |
56 #include "public/platform/Platform.h" | |
57 #include "public/platform/WebPrerenderingSupport.h" | |
58 #include "public/platform/WebThread.h" | |
59 #include <v8.h> | 59 #include <v8.h> |
60 | 60 |
61 namespace blink { | 61 namespace blink { |
62 | 62 |
63 namespace { | 63 namespace { |
64 | 64 |
65 class EndOfTaskRunner : public WebThread::TaskObserver { | 65 class EndOfTaskRunner : public WebThread::TaskObserver { |
66 public: | 66 public: |
67 virtual void willProcessTask() { } | 67 virtual void willProcessTask() { } |
68 virtual void didProcessTask() | 68 virtual void didProcessTask() |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 UNUSED_PARAM(name); | 221 UNUSED_PARAM(name); |
222 #endif // !LOG_DISABLED | 222 #endif // !LOG_DISABLED |
223 } | 223 } |
224 | 224 |
225 void resetPluginCache(bool reloadPages) | 225 void resetPluginCache(bool reloadPages) |
226 { | 226 { |
227 WebCore::Page::refreshPlugins(reloadPages); | 227 WebCore::Page::refreshPlugins(reloadPages); |
228 } | 228 } |
229 | 229 |
230 } // namespace blink | 230 } // namespace blink |
OLD | NEW |