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

Side by Side Diff: ui/views/color_chooser/color_chooser_listener.h

Issue 10442020: Initial implementation of ColorChooser for Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
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 #pragma once
8
9 #include "third_party/skia/include/core/SkColor.h"
10 #include "ui/views/views_export.h"
11
12 namespace views {
13
14 // An interface implemented by a Listener object wishing to know about the
15 // the results from the color chooser dialog.
16 class VIEWS_EXPORT ColorChooserListener {
17 public:
18 virtual void OnColorChosen(SkColor color) = 0;
19 virtual void OnColorChooserDialogClosed() = 0;
20
21 protected:
22 virtual ~ColorChooserListener() {}
23 };
24
25 } // namespace views
26
27 #endif // UI_VIEWS_COLOR_CHOOSER_COLOR_CHOOSER_LISTENER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/color_chooser_win.cc ('k') | ui/views/color_chooser/color_chooser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698