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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 namespace WebKit { | 63 namespace WebKit { |
64 | 64 |
65 namespace { | 65 namespace { |
66 | 66 |
67 class EndOfTaskRunner : public WebThread::TaskObserver { | 67 class EndOfTaskRunner : public WebThread::TaskObserver { |
68 public: | 68 public: |
69 virtual void willProcessTask() { } | 69 virtual void willProcessTask() { } |
70 virtual void didProcessTask() | 70 virtual void didProcessTask() |
71 { | 71 { |
72 #if ENABLE(CUSTOM_ELEMENTS) | |
73 WebCore::CustomElementRegistry::deliverAllLifecycleCallbacks(); | 72 WebCore::CustomElementRegistry::deliverAllLifecycleCallbacks(); |
74 #endif | |
75 WebCore::MutationObserver::deliverAllMutations(); | 73 WebCore::MutationObserver::deliverAllMutations(); |
76 } | 74 } |
77 }; | 75 }; |
78 | 76 |
79 } // namespace | 77 } // namespace |
80 | 78 |
81 static WebThread::TaskObserver* s_endOfTaskRunner = 0; | 79 static WebThread::TaskObserver* s_endOfTaskRunner = 0; |
82 | 80 |
83 // Make sure we are not re-initialized in the same address space. | 81 // Make sure we are not re-initialized in the same address space. |
84 // Doing so may cause hard to reproduce crashes. | 82 // Doing so may cause hard to reproduce crashes. |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 UNUSED_PARAM(name); | 197 UNUSED_PARAM(name); |
200 #endif // !LOG_DISABLED | 198 #endif // !LOG_DISABLED |
201 } | 199 } |
202 | 200 |
203 void resetPluginCache(bool reloadPages) | 201 void resetPluginCache(bool reloadPages) |
204 { | 202 { |
205 WebCore::Page::refreshPlugins(reloadPages); | 203 WebCore::Page::refreshPlugins(reloadPages); |
206 } | 204 } |
207 | 205 |
208 } // namespace WebKit | 206 } // namespace WebKit |
OLD | NEW |