Commit 219fee81 authored by Matthew Porter's avatar Matthew Porter Committed by Commit Bot

Removed dead function

Removed SetImageFromVectorIcon as that function is no  longer used.
Also removed a not needed function off the #include statements

Bug: 1056948
Change-Id: I4bb8a3146455d45bee24ef911aed7d3bb4f60cfe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2133549
Commit-Queue: Matthew Porter <matt.porter@microsoft.com>
Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756495}
parent d852ccda
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <memory> #include <memory>
#include "ui/gfx/color_palette.h"
#include "ui/gfx/color_utils.h" #include "ui/gfx/color_utils.h"
#include "ui/gfx/paint_vector_icon.h" #include "ui/gfx/paint_vector_icon.h"
#include "ui/gfx/vector_icon_types.h" #include "ui/gfx/vector_icon_types.h"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <memory> #include <memory>
#include "third_party/skia/include/core/SkColor.h" #include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/color_palette.h"
#include "ui/views/views_export.h" #include "ui/views/views_export.h"
namespace gfx { namespace gfx {
...@@ -68,14 +67,8 @@ VIEWS_EXPORT void SetImageFromVectorIconWithColor(ImageButton* button, ...@@ -68,14 +67,8 @@ VIEWS_EXPORT void SetImageFromVectorIconWithColor(ImageButton* button,
int dip_size, int dip_size,
SkColor icon_color); SkColor icon_color);
// As above, but sets the toggled images for a toggled image button. // As above, but sets the toggled images for a toggled image button
VIEWS_EXPORT void SetToggledImageFromVectorIcon( // with a given icon color instead of deriving from a text color.
ToggleImageButton* button,
const gfx::VectorIcon& icon,
int dip_size,
SkColor related_text_color = gfx::kGoogleGrey900);
// As above, but with a given icon color instead of deriving from a text color.
VIEWS_EXPORT void SetToggledImageFromVectorIconWithColor( VIEWS_EXPORT void SetToggledImageFromVectorIconWithColor(
ToggleImageButton* button, ToggleImageButton* button,
const gfx::VectorIcon& icon, const gfx::VectorIcon& icon,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment