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

Side by Side Diff: mojo/services/html_viewer/blink_platform_impl.h

Issue 393983004: Move mojo/examples/html_viewer to mojo/services/html_viewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nuke 'examples' namespace Created 6 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 | Annotate | Revision Log
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 MOJO_EXAMPLE_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 5 #ifndef MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
6 #define MOJO_EXAMPLE_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 6 #define MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
7 7
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/threading/thread_local_storage.h" 9 #include "base/threading/thread_local_storage.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
11 #include "mojo/examples/html_viewer/webmimeregistry_impl.h" 11 #include "mojo/services/html_viewer/webmimeregistry_impl.h"
12 #include "mojo/examples/html_viewer/webthemeengine_impl.h" 12 #include "mojo/services/html_viewer/webthemeengine_impl.h"
13 #include "mojo/services/public/interfaces/network/network_service.mojom.h" 13 #include "mojo/services/public/interfaces/network/network_service.mojom.h"
14 #include "third_party/WebKit/public/platform/Platform.h" 14 #include "third_party/WebKit/public/platform/Platform.h"
15 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h" 15 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h"
16 16
17 namespace mojo { 17 namespace mojo {
18 class ApplicationImpl; 18 class ApplicationImpl;
19 19
20 namespace examples {
21
22 class BlinkPlatformImpl : public blink::Platform { 20 class BlinkPlatformImpl : public blink::Platform {
23 public: 21 public:
24 explicit BlinkPlatformImpl(ApplicationImpl* app); 22 explicit BlinkPlatformImpl(ApplicationImpl* app);
25 virtual ~BlinkPlatformImpl(); 23 virtual ~BlinkPlatformImpl();
26 24
27 // blink::Platform methods: 25 // blink::Platform methods:
28 virtual blink::WebMimeRegistry* mimeRegistry(); 26 virtual blink::WebMimeRegistry* mimeRegistry();
29 virtual blink::WebThemeEngine* themeEngine(); 27 virtual blink::WebThemeEngine* themeEngine();
30 virtual blink::WebString defaultLocale(); 28 virtual blink::WebString defaultLocale();
31 virtual double currentTime(); 29 virtual double currentTime();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void (*shared_timer_func_)(); 66 void (*shared_timer_func_)();
69 double shared_timer_fire_time_; 67 double shared_timer_fire_time_;
70 bool shared_timer_fire_time_was_set_while_suspended_; 68 bool shared_timer_fire_time_was_set_while_suspended_;
71 int shared_timer_suspended_; // counter 69 int shared_timer_suspended_; // counter
72 base::ThreadLocalStorage::Slot current_thread_slot_; 70 base::ThreadLocalStorage::Slot current_thread_slot_;
73 WebThemeEngineImpl theme_engine_; 71 WebThemeEngineImpl theme_engine_;
74 WebMimeRegistryImpl mime_registry_; 72 WebMimeRegistryImpl mime_registry_;
75 blink::WebScrollbarBehavior scrollbar_behavior_; 73 blink::WebScrollbarBehavior scrollbar_behavior_;
76 }; 74 };
77 75
78 } // namespace examples
79 } // namespace mojo 76 } // namespace mojo
80 77
81 #endif // MOJO_EXAMPLE_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 78 #endif // MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/html_viewer/blink_input_events_type_converters.cc ('k') | mojo/services/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698