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

Side by Side Diff: webkit/support/webkit_support.cc

Issue 5222955109842944: Add plumbing for platform based Device Motion testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
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 #include "webkit/support/webkit_support.h" 5 #include "webkit/support/webkit_support.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 688
689 // Logging 689 // Logging
690 void EnableWebCoreLogChannels(const std::string& channels) { 690 void EnableWebCoreLogChannels(const std::string& channels) {
691 webkit_glue::EnableWebCoreLogChannels(channels); 691 webkit_glue::EnableWebCoreLogChannels(channels);
692 } 692 }
693 693
694 void SetGamepadData(const WebKit::WebGamepads& pads) { 694 void SetGamepadData(const WebKit::WebGamepads& pads) {
695 test_environment->webkit_platform_support()->setGamepadData(pads); 695 test_environment->webkit_platform_support()->setGamepadData(pads);
696 } 696 }
697 697
698 void SetDeviceMotionData(const WebKit::WebDeviceMotionData& data) {
699 test_environment->webkit_platform_support()->setDeviceMotionData(data);
700 }
701
698 } // namespace webkit_support 702 } // namespace webkit_support
OLDNEW
« webkit/support/test_webkit_platform_support.cc ('K') | « webkit/support/webkit_support.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698