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 3 // found in the LICENSE file. 4 5 #include "ui/views/test/slider_test_api.h" 6 7 #include "ui/views/controls/slider.h" 8 9 namespace views { 10 namespace test { 11 SliderTestApi(Slider * slider)12SliderTestApi::SliderTestApi(Slider* slider) : slider_(slider) { 13 } 14 ~SliderTestApi()15SliderTestApi::~SliderTestApi() { 16 } 17 SetListener(SliderListener * listener)18void SliderTestApi::SetListener(SliderListener* listener) { 19 slider_->set_listener(listener); 20 } 21 22 } // namespace test 23 } // namespace views 24