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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/button/vector_icon_button_delegate.h
diff --git a/ui/views/controls/button/vector_icon_button_delegate.h b/ui/views/controls/button/vector_icon_button_delegate.h
deleted file mode 100644
index e4cccaa6790506ac8d34b31718faa0bb77b4695b..0000000000000000000000000000000000000000
--- a/ui/views/controls/button/vector_icon_button_delegate.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_VIEWS_CONTROLS_BUTTON_VECTOR_ICON_DELEGATE_BUTTON_H_
-#define UI_VIEWS_CONTROLS_BUTTON_VECTOR_ICON_DELEGATE_BUTTON_H_
-
-#include "third_party/skia/include/core/SkColor.h"
-#include "ui/views/controls/button/button.h"
-#include "ui/views/views_export.h"
-
-namespace views {
-
-// A ButtonListener that also provides a color to use for drawing an icon.
-class VIEWS_EXPORT VectorIconButtonDelegate : public ButtonListener {
- public:
- virtual SkColor GetVectorIconBaseColor() const;
-
- protected:
- ~VectorIconButtonDelegate() override {}
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_CONTROLS_BUTTON_VECTOR_ICON_BUTTON_DELEGATE_H_
« 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