Chromium Code Reviews| Index: ui/views/animation/ink_drop_state.h |
| diff --git a/ui/views/animation/ink_drop_state.h b/ui/views/animation/ink_drop_state.h |
| index 2456455c5da0b62d60e62bbd8f73d07b4b947d3a..a69cf741bb43a67075e31fa89e2fa4b24b6fe452 100644 |
| --- a/ui/views/animation/ink_drop_state.h |
| +++ b/ui/views/animation/ink_drop_state.h |
| @@ -5,6 +5,7 @@ |
| #ifndef UI_VIEWS_ANIMATION_INK_DROP_STATE_H_ |
| #define UI_VIEWS_ANIMATION_INK_DROP_STATE_H_ |
| +#include <iosfwd> |
| #include <string> |
| #include "ui/views/views_export.h" |
| @@ -36,7 +37,12 @@ enum class InkDropState { |
| }; |
| // Returns a human readable string for |state|. Useful for logging. |
| -std::string ToString(InkDropState state); |
| +VIEWS_EXPORT std::string ToString(const InkDropState& state); |
|
sky
2016/05/04 23:43:42
And in this file.
bruthig
2016/05/04 23:51:48
Done.
|
| + |
| +// This is declared here for use in gtest-based unit tests but is defined in |
| +// the views_test_support target. Depend on that to use this in your unit test. |
| +// This should not be used in production code - call ToString() instead. |
| +void PrintTo(const InkDropState& ink_drop_state, ::std::ostream* os); |
| } // namespace views |