OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 #include "ui/views/animation/ink_drop_animation_observer.h" |
| 6 |
| 7 #include <iostream> |
| 8 |
| 9 #include "base/logging.h" |
| 10 |
| 11 namespace views { |
| 12 |
| 13 std::ostream& operator<<( |
| 14 std::ostream& out, |
| 15 InkDropAnimationObserver::InkDropAnimationEndedReason reason) { |
| 16 switch (reason) { |
| 17 case InkDropAnimationObserver::SUCCESS: |
| 18 return out << "SUCCESS"; |
| 19 case InkDropAnimationObserver::PRE_EMPTED: |
| 20 return out << "PRE_EMPTED"; |
| 21 } |
| 22 NOTREACHED() |
| 23 << "Should never be reached but is necessary for some compilers."; |
| 24 return out << "UNKNOWN"; |
| 25 } |
| 26 |
| 27 } // namespace views |
OLD | NEW |