1 // Copyright 2018 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 "third_party/blink/renderer/platform/graphics/touch_action_rect.h" 6 7 #include "cc/base/region.h" 8 #include "third_party/blink/renderer/platform/wtf/text/wtf_string.h" 9 10 namespace blink { 11 ToString() const12String TouchActionRect::ToString() const { 13 return rect.ToString() + " " + cc::TouchActionToString(allowed_touch_action); 14 } 15 operator <<(std::ostream & os,const TouchActionRect & hit_test_rect)16std::ostream& operator<<(std::ostream& os, 17 const TouchActionRect& hit_test_rect) { 18 return os << hit_test_rect.ToString(); 19 } 20 21 } // namespace blink 22