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 24 matching lines...) Expand all Loading... |
35 #include "core/inspector/InspectedFrames.h" | 35 #include "core/inspector/InspectedFrames.h" |
36 #include "core/page/ChromeClient.h" | 36 #include "core/page/ChromeClient.h" |
37 #include "core/page/Page.h" | 37 #include "core/page/Page.h" |
38 #include "platform/PlatformEvent.h" | 38 #include "platform/PlatformEvent.h" |
39 #include "platform/PlatformTouchEvent.h" | 39 #include "platform/PlatformTouchEvent.h" |
40 #include "platform/PlatformTouchPoint.h" | 40 #include "platform/PlatformTouchPoint.h" |
41 #include "platform/geometry/FloatSize.h" | 41 #include "platform/geometry/FloatSize.h" |
42 #include "platform/geometry/IntPoint.h" | 42 #include "platform/geometry/IntPoint.h" |
43 #include "platform/geometry/IntRect.h" | 43 #include "platform/geometry/IntRect.h" |
44 #include "platform/geometry/IntSize.h" | 44 #include "platform/geometry/IntSize.h" |
45 #include "platform/inspector_protocol/Values.h" | |
46 #include "wtf/CurrentTime.h" | 45 #include "wtf/CurrentTime.h" |
47 | 46 |
48 namespace { | 47 namespace { |
49 | 48 |
50 enum Modifiers { | 49 enum Modifiers { |
51 AltKey = 1 << 0, | 50 AltKey = 1 << 0, |
52 CtrlKey = 1 << 1, | 51 CtrlKey = 1 << 1, |
53 MetaKey = 1 << 2, | 52 MetaKey = 1 << 2, |
54 ShiftKey = 1 << 3 | 53 ShiftKey = 1 << 3 |
55 }; | 54 }; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 m_inspectedFrames->root()->eventHandler().handleTouchEvent(event); | 200 m_inspectedFrames->root()->eventHandler().handleTouchEvent(event); |
202 } | 201 } |
203 | 202 |
204 DEFINE_TRACE(InspectorInputAgent) | 203 DEFINE_TRACE(InspectorInputAgent) |
205 { | 204 { |
206 visitor->trace(m_inspectedFrames); | 205 visitor->trace(m_inspectedFrames); |
207 InspectorBaseAgent::trace(visitor); | 206 InspectorBaseAgent::trace(visitor); |
208 } | 207 } |
209 | 208 |
210 } // namespace blink | 209 } // namespace blink |
OLD | NEW |