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

Side by Side Diff: ui/views/controls/button/vector_icon_button_delegate.h

Issue 2744463002: Add VectorIconButton functionality to ImageButton. (Closed)
Patch Set: check details Created 3 years, 9 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
OLDNEW
(Empty)
1 // Copyright 2016 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_BUTTON_VECTOR_ICON_DELEGATE_BUTTON_H_
6 #define UI_VIEWS_CONTROLS_BUTTON_VECTOR_ICON_DELEGATE_BUTTON_H_
7
8 #include "third_party/skia/include/core/SkColor.h"
9 #include "ui/views/controls/button/button.h"
10 #include "ui/views/views_export.h"
11
12 namespace views {
13
14 // A ButtonListener that also provides a color to use for drawing an icon.
15 class VIEWS_EXPORT VectorIconButtonDelegate : public ButtonListener {
16 public:
17 virtual SkColor GetVectorIconBaseColor() const;
18
19 protected:
20 ~VectorIconButtonDelegate() override {}
21 };
22
23 } // namespace views
24
25 #endif // UI_VIEWS_CONTROLS_BUTTON_VECTOR_ICON_BUTTON_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/controls/button/vector_icon_button.cc ('k') | ui/views/controls/button/vector_icon_button_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698