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

Side by Side Diff: content/child/blink_platform_impl.h

Issue 2460723003: Enable connection to Mojo services from Blink (Closed)
Patch Set: Fix build Created 4 years, 1 month 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
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 CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 : NON_EXPORTED_BASE(public blink::Platform) { 53 : NON_EXPORTED_BASE(public blink::Platform) {
54 public: 54 public:
55 BlinkPlatformImpl(); 55 BlinkPlatformImpl();
56 explicit BlinkPlatformImpl( 56 explicit BlinkPlatformImpl(
57 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner); 57 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner);
58 ~BlinkPlatformImpl() override; 58 ~BlinkPlatformImpl() override;
59 59
60 // Platform methods (partial implementation): 60 // Platform methods (partial implementation):
61 blink::WebThemeEngine* themeEngine() override; 61 blink::WebThemeEngine* themeEngine() override;
62 blink::WebFallbackThemeEngine* fallbackThemeEngine() override; 62 blink::WebFallbackThemeEngine* fallbackThemeEngine() override;
63 service_manager::Connector* serviceConnector() override;
63 blink::Platform::FileHandle databaseOpenFile( 64 blink::Platform::FileHandle databaseOpenFile(
64 const blink::WebString& vfs_file_name, 65 const blink::WebString& vfs_file_name,
65 int desired_flags) override; 66 int desired_flags) override;
66 int databaseDeleteFile(const blink::WebString& vfs_file_name, 67 int databaseDeleteFile(const blink::WebString& vfs_file_name,
67 bool sync_dir) override; 68 bool sync_dir) override;
68 long databaseGetFileAttributes( 69 long databaseGetFileAttributes(
69 const blink::WebString& vfs_file_name) override; 70 const blink::WebString& vfs_file_name) override;
70 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override; 71 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override;
71 long long databaseGetSpaceAvailableForOrigin( 72 long long databaseGetSpaceAvailableForOrigin(
72 const blink::WebSecurityOrigin& origin) override; 73 const blink::WebSecurityOrigin& origin) override;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 143 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
143 scoped_refptr<PushDispatcher> push_dispatcher_; 144 scoped_refptr<PushDispatcher> push_dispatcher_;
144 std::unique_ptr<BackgroundSyncProvider> main_thread_sync_provider_; 145 std::unique_ptr<BackgroundSyncProvider> main_thread_sync_provider_;
145 146
146 blink::scheduler::WebThreadBase* compositor_thread_; 147 blink::scheduler::WebThreadBase* compositor_thread_;
147 }; 148 };
148 149
149 } // namespace content 150 } // namespace content
150 151
151 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 152 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698