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