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

Side by Side Diff: chrome/browser/chromeos/system/input_device_settings_impl_x11.cc

Issue 2110833003: MD Settings: Add mouse settings, update pointer settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@PointersFake
Patch Set: Created 4 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 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 #include "chrome/browser/chromeos/system/input_device_settings.h" 5 #include "chrome/browser/chromeos/system/input_device_settings.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 359
360 // static 360 // static
361 void InputDeviceSettings::SetSettingsForTesting( 361 void InputDeviceSettings::SetSettingsForTesting(
362 FakeInputDeviceSettings* test_settings) { 362 FakeInputDeviceSettings* test_settings) {
363 if (g_test_instance == test_settings) 363 if (g_test_instance == test_settings)
364 return; 364 return;
365 delete g_test_instance; 365 delete g_test_instance;
366 g_test_instance = test_settings; 366 g_test_instance = test_settings;
367 } 367 }
368 368
369 // static
370 bool InputDeviceSettings::DidSetSettingsForTesting() {
371 return g_test_instance;
372 }
373
369 } // namespace system 374 } // namespace system
370 } // namespace chromeos 375 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698