Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(601)

Unified Diff: sky/shell/ui/platform_impl.h

Issue 873923003: sky/shell should link with sky/engine (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: moar deps Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/shell/ui/engine.cc ('k') | sky/shell/ui/platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/ui/platform_impl.h
diff --git a/sky/shell/ui/platform_impl.h b/sky/shell/ui/platform_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..5a62d0e8f217b72680e1b6f041cf76c7c5ff9ed4
--- /dev/null
+++ b/sky/shell/ui/platform_impl.h
@@ -0,0 +1,32 @@
+// 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.
+
+#ifndef SKY_SHELL_UI_PLATFORM_IMPL_H_
+#define SKY_SHELL_UI_PLATFORM_IMPL_H_
+
+#include "base/message_loop/message_loop.h"
+#include "sky/engine/public/platform/Platform.h"
+
+namespace sky {
+namespace shell {
+
+class PlatformImpl : public blink::Platform {
+ public:
+ PlatformImpl();
+ ~PlatformImpl() override;
+
+ // blink::Platform:
+ blink::WebString defaultLocale() override;
+ base::SingleThreadTaskRunner* mainThreadTaskRunner() override;
+
+ private:
+ scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
+
+ DISALLOW_COPY_AND_ASSIGN(PlatformImpl);
+};
+
+} // namespace shell
+} // namespace sky
+
+#endif // SKY_SHELL_UI_PLATFORM_IMPL_H_
« no previous file with comments | « sky/shell/ui/engine.cc ('k') | sky/shell/ui/platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698