| OLD | NEW |
| (Empty) |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WebCompositorImpl_h | |
| 6 #define WebCompositorImpl_h | |
| 7 | |
| 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositor.h" | |
| 9 | |
| 10 namespace cc { | |
| 11 class Thread; | |
| 12 } | |
| 13 | |
| 14 namespace WebKit { | |
| 15 | |
| 16 class WebThread; | |
| 17 | |
| 18 class WebCompositorImpl : public WebCompositor { | |
| 19 public: | |
| 20 static bool initialized(); | |
| 21 | |
| 22 static void initialize(WebThread* implThread); | |
| 23 static bool isThreadingEnabled(); | |
| 24 static void shutdown(); | |
| 25 | |
| 26 private: | |
| 27 static bool s_initialized; | |
| 28 static cc::Thread* s_mainThread; | |
| 29 static cc::Thread* s_implThread; | |
| 30 }; | |
| 31 | |
| 32 } | |
| 33 | |
| 34 #endif // WebCompositorImpl_h | |
| OLD | NEW |