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

Side by Side Diff: sky/shell/ui/platform_impl.h

Issue 1237043002: Delete //sky/services/platform (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ 5 #ifndef SKY_SHELL_UI_PLATFORM_IMPL_H_
6 #define SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ 6 #define SKY_SHELL_UI_PLATFORM_IMPL_H_
7 7
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "sky/engine/public/platform/Platform.h" 9 #include "sky/engine/public/platform/Platform.h"
10 10
11 namespace mojo {
12 class ApplicationImpl;
13 }
14
15 namespace sky { 11 namespace sky {
12 namespace shell {
16 13
17 class PlatformImpl : public blink::Platform { 14 class PlatformImpl : public blink::Platform {
18 public: 15 public:
19 explicit PlatformImpl(); 16 explicit PlatformImpl();
20 ~PlatformImpl() override; 17 ~PlatformImpl() override;
21 18
22 // blink::Platform methods: 19 // blink::Platform methods:
23 blink::WebString defaultLocale() override; 20 blink::WebString defaultLocale() override;
24 base::SingleThreadTaskRunner* mainThreadTaskRunner() override; 21 base::SingleThreadTaskRunner* mainThreadTaskRunner() override;
25 22
26 private: 23 private:
27 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; 24 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
28 25
29 DISALLOW_COPY_AND_ASSIGN(PlatformImpl); 26 DISALLOW_COPY_AND_ASSIGN(PlatformImpl);
30 }; 27 };
31 28
29 } // namespace shell
32 } // namespace sky 30 } // namespace sky
33 31
34 #endif // SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ 32 #endif // SKY_SHELL_UI_PLATFORM_IMPL_H_
OLDNEW
« 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