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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 583663003: Vibration API : migrate to device/vibration using mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove debug logging Created 6 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "cc/blink/web_compositor_support_impl.h" 11 #include "cc/blink/web_compositor_support_impl.h"
12 #include "content/child/blink_platform_impl.h" 12 #include "content/child/blink_platform_impl.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "content/renderer/webpublicsuffixlist_impl.h" 14 #include "content/renderer/webpublicsuffixlist_impl.h"
15 #include "device/vibration/vibration_manager.mojom.h"
15 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" 16 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
16 #include "third_party/WebKit/public/platform/WebIDBFactory.h" 17 #include "third_party/WebKit/public/platform/WebIDBFactory.h"
17 #include "third_party/WebKit/public/platform/WebScreenOrientationType.h" 18 #include "third_party/WebKit/public/platform/WebScreenOrientationType.h"
18 19
19 namespace base { 20 namespace base {
20 class MessageLoopProxy; 21 class MessageLoopProxy;
21 } 22 }
22 23
23 namespace cc { 24 namespace cc {
24 class ContextProvider; 25 class ContextProvider;
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; 234 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_;
234 235
235 cc_blink::WebCompositorSupportImpl compositor_support_; 236 cc_blink::WebCompositorSupportImpl compositor_support_;
236 237
237 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; 238 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_;
238 239
239 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_; 240 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_;
240 241
241 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; 242 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_;
242 243
244 // Handle to the Vibration mojo service.
245 device::VibrationManagerPtr vibration_manager_;
246
243 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); 247 DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl);
244 }; 248 };
245 249
246 } // namespace content 250 } // namespace content
247 251
248 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 252 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698