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

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

Issue 2238423002: [DevTools] Generate all files in inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2240663003
Patch Set: Created 4 years, 4 months 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 24 matching lines...) Expand all
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698