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 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "core/inspector/InspectorInputAgent.h" | 32 #include "core/inspector/InspectorInputAgent.h" |
33 | 33 |
34 #include "core/inspector/InspectorClient.h" | 34 #include "core/inspector/InspectorClient.h" |
35 #include "core/page/Chrome.h" | 35 #include "core/page/Chrome.h" |
36 #include "core/page/EventHandler.h" | 36 #include "core/page/EventHandler.h" |
37 #include "core/page/Frame.h" | 37 #include "core/page/Frame.h" |
38 #include "core/page/FrameView.h" | 38 #include "core/page/FrameView.h" |
39 #include "core/page/Page.h" | 39 #include "core/page/Page.h" |
40 #include "core/platform/PlatformKeyboardEvent.h" | |
41 #include "core/platform/PlatformMouseEvent.h" | |
42 #include "core/platform/PlatformTouchEvent.h" | |
43 #include "core/platform/PlatformTouchPoint.h" | |
44 #include "platform/JSONValues.h" | 40 #include "platform/JSONValues.h" |
| 41 #include "platform/PlatformKeyboardEvent.h" |
| 42 #include "platform/PlatformMouseEvent.h" |
| 43 #include "platform/PlatformTouchEvent.h" |
| 44 #include "platform/PlatformTouchPoint.h" |
45 #include "platform/geometry/IntPoint.h" | 45 #include "platform/geometry/IntPoint.h" |
46 #include "platform/geometry/IntRect.h" | 46 #include "platform/geometry/IntRect.h" |
47 #include "platform/geometry/IntSize.h" | 47 #include "platform/geometry/IntSize.h" |
48 #include "wtf/CurrentTime.h" | 48 #include "wtf/CurrentTime.h" |
49 #include "wtf/text/WTFString.h" | 49 #include "wtf/text/WTFString.h" |
50 | 50 |
51 namespace { | 51 namespace { |
52 | 52 |
53 class SyntheticInspectorTouchPoint : public WebCore::PlatformTouchPoint { | 53 class SyntheticInspectorTouchPoint : public WebCore::PlatformTouchPoint { |
54 public: | 54 public: |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 handler->handleTouchEvent(event); | 273 handler->handleTouchEvent(event); |
274 } | 274 } |
275 | 275 |
276 void InspectorInputAgent::dispatchGestureEvent(ErrorString*, const String& type,
int x, int y, const double* timestamp, const int* deltaX, const int* deltaY, co
nst double* scale) | 276 void InspectorInputAgent::dispatchGestureEvent(ErrorString*, const String& type,
int x, int y, const double* timestamp, const int* deltaX, const int* deltaY, co
nst double* scale) |
277 { | 277 { |
278 // Handled on the browser level. | 278 // Handled on the browser level. |
279 } | 279 } |
280 | 280 |
281 } // namespace WebCore | 281 } // namespace WebCore |
282 | 282 |
OLD | NEW |