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_COLOR_CHOOSER_COLOR_CHOOSER_LISTENER_H_
6#define UI_VIEWS_COLOR_CHOOSER_COLOR_CHOOSER_LISTENER_H_
7
8#include "third_party/skia/include/core/SkColor.h"
9#include "ui/views/views_export.h"
10
11namespace views {
12
13// An interface implemented by a Listener object wishing to know about the
14// the results from the color chooser dialog.
15class VIEWS_EXPORT ColorChooserListener {
16 public:
17  virtual void OnColorChosen(SkColor color) = 0;
18  virtual void OnColorChooserDialogClosed() = 0;
19
20 protected:
21  virtual ~ColorChooserListener() {}
22};
23
24}  // namespace views
25
26#endif  // UI_VIEWS_COLOR_CHOOSER_COLOR_CHOOSER_LISTENER_H_
27