- add sources.
[platform/framework/web/crosswalk.git] / src / ui / views / controls / combobox / combobox_listener.h
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
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_CONTROLS_COMBOBOX_COMBOBOX_LISTENER_H_
6 #define UI_VIEWS_CONTROLS_COMBOBOX_COMBOBOX_LISTENER_H_
7
8 namespace views {
9
10 class Combobox;
11
12 // An interface implemented by an object to let it know that the selected index
13 // has changed.
14 class ComboboxListener {
15  public:
16   virtual void OnSelectedIndexChanged(Combobox* combobox) = 0;
17
18  protected:
19   virtual ~ComboboxListener() {}
20 };
21
22 }  // namespace views
23
24 #endif  // UI_VIEWS_CONTROLS_COMBOBOX_COMBOBOX_LISTENER_H_