Automated Commit: Committing new LKGM version 7479.0.0 for chromeos.
[chromium-blink-merge.git] / ui / views / test / slider_test_api.cc
blob243fa5552896d2273fd3dc4120c3e6becf821b0c
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.
5 #include "ui/views/test/slider_test_api.h"
7 #include "ui/views/controls/slider.h"
9 namespace views {
10 namespace test {
12 SliderTestApi::SliderTestApi(Slider* slider) : slider_(slider) {
15 SliderTestApi::~SliderTestApi() {
18 void SliderTestApi::SetListener(SliderListener* listener) {
19 slider_->set_listener(listener);
22 } // namespace test
23 } // namespace views