Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 43 #include "platform/geometry/FloatSize.h" | 43 #include "platform/geometry/FloatSize.h" |
| 44 #include "platform/geometry/IntPoint.h" | 44 #include "platform/geometry/IntPoint.h" |
| 45 #include "platform/geometry/IntRect.h" | 45 #include "platform/geometry/IntRect.h" |
| 46 #include "platform/geometry/IntSize.h" | 46 #include "platform/geometry/IntSize.h" |
| 47 #include "wtf/CurrentTime.h" | 47 #include "wtf/CurrentTime.h" |
| 48 | 48 |
| 49 namespace { | 49 namespace { |
| 50 | 50 |
| 51 class SyntheticInspectorTouchPoint : public blink::PlatformTouchPoint { | 51 class SyntheticInspectorTouchPoint : public blink::PlatformTouchPoint { |
| 52 public: | 52 public: |
| 53 SyntheticInspectorTouchPoint(unsigned id, State state, const blink::IntPoint & screenPos, const blink::IntPoint& pos, int radiusX, int radiusY, double rotati onAngle, double force) | 53 SyntheticInspectorTouchPoint(int id, State state, const blink::IntPoint& scr eenPos, const blink::IntPoint& pos, int radiusX, int radiusY, double rotationAng le, double force) |
|
Rick Byers
2015/06/10 15:34:21
Good catch!
| |
| 54 { | 54 { |
| 55 m_id = id; | 55 m_id = id; |
| 56 m_screenPos = screenPos; | 56 m_screenPos = screenPos; |
| 57 m_pos = pos; | 57 m_pos = pos; |
| 58 m_state = state; | 58 m_state = state; |
| 59 m_radius = blink::FloatSize(radiusX, radiusY); | 59 m_radius = blink::FloatSize(radiusX, radiusY); |
| 60 m_rotationAngle = rotationAngle; | 60 m_rotationAngle = rotationAngle; |
| 61 m_force = force; | 61 m_force = force; |
| 62 } | 62 } |
| 63 }; | 63 }; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 183 } | 183 } |
| 184 | 184 |
| 185 DEFINE_TRACE(InspectorInputAgent) | 185 DEFINE_TRACE(InspectorInputAgent) |
| 186 { | 186 { |
| 187 visitor->trace(m_pageAgent); | 187 visitor->trace(m_pageAgent); |
| 188 InspectorBaseAgent::trace(visitor); | 188 InspectorBaseAgent::trace(visitor); |
| 189 } | 189 } |
| 190 | 190 |
| 191 } // namespace blink | 191 } // namespace blink |
| 192 | 192 |
| OLD | NEW |