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

Side by Side Diff: content/browser/vibration/vibration_service.cc

Issue 16781002: Vibration API: plumbing from Blink to Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 6 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
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/browser/vibration/vibration_service.h"
6
7 #include "build/build_config.h"
8 #if defined(OS_ANDROID)
9 #include "content/browser/vibration/vibration_service_impl_android.h"
10 #endif
11
12 namespace content {
13
14 // static
15 VibrationService* VibrationService::Create() {
16 #if defined(OS_ANDROID)
bulach 2013/06/20 14:21:04 probably better to #if !defined(OS_ANDROID) the wh
Michael van Ouwerkerk 2013/06/20 17:34:09 Done.
17 return new VibrationServiceImplAndroid();
18 #endif
19 return 0;
20 }
21
22 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698