| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 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 SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ | |
| 6 #define SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ | |
| 7 | |
| 8 #include "base/message_loop/message_loop.h" | |
| 9 #include "sky/engine/public/platform/Platform.h" | |
| 10 | |
| 11 namespace mojo { | |
| 12 class ApplicationImpl; | |
| 13 } | |
| 14 | |
| 15 namespace sky { | |
| 16 | |
| 17 class PlatformImpl : public blink::Platform { | |
| 18 public: | |
| 19 explicit PlatformImpl(); | |
| 20 ~PlatformImpl() override; | |
| 21 | |
| 22 // blink::Platform methods: | |
| 23 blink::WebString defaultLocale() override; | |
| 24 base::SingleThreadTaskRunner* mainThreadTaskRunner() override; | |
| 25 | |
| 26 private: | |
| 27 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; | |
| 28 | |
| 29 DISALLOW_COPY_AND_ASSIGN(PlatformImpl); | |
| 30 }; | |
| 31 | |
| 32 } // namespace sky | |
| 33 | |
| 34 #endif // SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ | |
| OLD | NEW |