Index: sky/shell/ui/platform_impl.cc |
diff --git a/sky/shell/ui/platform_impl.cc b/sky/shell/ui/platform_impl.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dca0039fd3c9ae519dad810816db5f92768d19c4 |
--- /dev/null |
+++ b/sky/shell/ui/platform_impl.cc |
@@ -0,0 +1,26 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "sky/shell/ui/platform_impl.h" |
+ |
+namespace sky { |
+namespace shell { |
+ |
+PlatformImpl::PlatformImpl() |
+ : main_thread_task_runner_(base::MessageLoop::current()->task_runner()) { |
+} |
+ |
+PlatformImpl::~PlatformImpl() { |
+} |
+ |
+blink::WebString PlatformImpl::defaultLocale() { |
+ return blink::WebString::fromUTF8("en-US"); |
+} |
+ |
+base::SingleThreadTaskRunner* PlatformImpl::mainThreadTaskRunner() { |
+ return main_thread_task_runner_.get(); |
+} |
+ |
+} // namespace shell |
+} // namespace sky |