Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: Source/core/inspector/InspectorInputAgent.cpp

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 28 matching lines...) Expand all
39 #include "core/page/Page.h" 39 #include "core/page/Page.h"
40 #include "platform/JSONValues.h" 40 #include "platform/JSONValues.h"
41 #include "platform/PlatformKeyboardEvent.h" 41 #include "platform/PlatformKeyboardEvent.h"
42 #include "platform/PlatformMouseEvent.h" 42 #include "platform/PlatformMouseEvent.h"
43 #include "platform/PlatformTouchEvent.h" 43 #include "platform/PlatformTouchEvent.h"
44 #include "platform/PlatformTouchPoint.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"
50 49
51 namespace { 50 namespace {
52 51
53 class SyntheticInspectorTouchPoint : public WebCore::PlatformTouchPoint { 52 class SyntheticInspectorTouchPoint : public WebCore::PlatformTouchPoint {
54 public: 53 public:
55 SyntheticInspectorTouchPoint(unsigned id, State state, const WebCore::IntPoi nt& screenPos, const WebCore::IntPoint& pos, int radiusX, int radiusY, double ro tationAngle, double force) 54 SyntheticInspectorTouchPoint(unsigned id, State state, const WebCore::IntPoi nt& screenPos, const WebCore::IntPoint& pos, int radiusX, int radiusY, double ro tationAngle, double force)
56 { 55 {
57 m_id = id; 56 m_id = id;
58 m_screenPos = screenPos; 57 m_screenPos = screenPos;
59 m_pos = pos; 58 m_pos = pos;
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 m_page->mainFrame()->eventHandler().handleTouchEvent(event); 271 m_page->mainFrame()->eventHandler().handleTouchEvent(event);
273 } 272 }
274 273
275 void InspectorInputAgent::dispatchGestureEvent(ErrorString*, const String& type, int x, int y, const double* timestamp, const int* deltaX, const int* deltaY, co nst double* scale) 274 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 { 275 {
277 // Handled on the browser level. 276 // Handled on the browser level.
278 } 277 }
279 278
280 } // namespace WebCore 279 } // namespace WebCore
281 280
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.cpp ('k') | Source/core/inspector/InspectorLayerTreeAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698