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

Side by Side Diff: third_party/WebKit/Source/web/InspectorOverlay.h

Issue 2539283002: Remove PlatformGestureEvent in favour of using WebGestureEvent (Closed)
Patch Set: Add missing copyright on new file Created 4 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include <memory> 43 #include <memory>
44 #include <v8-inspector.h> 44 #include <v8-inspector.h>
45 45
46 namespace blink { 46 namespace blink {
47 47
48 class Color; 48 class Color;
49 class LocalFrame; 49 class LocalFrame;
50 class Node; 50 class Node;
51 class Page; 51 class Page;
52 class PageOverlay; 52 class PageOverlay;
53 class PlatformGestureEvent;
54 class PlatformMouseEvent; 53 class PlatformMouseEvent;
55 class PlatformTouchEvent; 54 class PlatformTouchEvent;
55 class WebGestureEvent;
56 class WebLocalFrameImpl; 56 class WebLocalFrameImpl;
57 57
58 namespace protocol { 58 namespace protocol {
59 class Value; 59 class Value;
60 } 60 }
61 61
62 class InspectorOverlay final 62 class InspectorOverlay final
63 : public GarbageCollectedFinalized<InspectorOverlay>, 63 : public GarbageCollectedFinalized<InspectorOverlay>,
64 public InspectorDOMAgent::Client, 64 public InspectorDOMAgent::Client,
65 public InspectorOverlayHost::Listener { 65 public InspectorOverlayHost::Listener {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void evaluateInOverlay(const String& method, const String& argument); 124 void evaluateInOverlay(const String& method, const String& argument);
125 void evaluateInOverlay(const String& method, 125 void evaluateInOverlay(const String& method,
126 std::unique_ptr<protocol::Value> argument); 126 std::unique_ptr<protocol::Value> argument);
127 void onTimer(TimerBase*); 127 void onTimer(TimerBase*);
128 void rebuildOverlayPage(); 128 void rebuildOverlayPage();
129 void invalidate(); 129 void invalidate();
130 void scheduleUpdate(); 130 void scheduleUpdate();
131 void clearInternal(); 131 void clearInternal();
132 132
133 bool handleMousePress(); 133 bool handleMousePress();
134 bool handleGestureEvent(const PlatformGestureEvent&); 134 bool handleGestureEvent(const WebGestureEvent&);
135 bool handleTouchEvent(const PlatformTouchEvent&); 135 bool handleTouchEvent(const PlatformTouchEvent&);
136 bool handleMouseMove(const PlatformMouseEvent&); 136 bool handleMouseMove(const PlatformMouseEvent&);
137 bool shouldSearchForNode(); 137 bool shouldSearchForNode();
138 void inspect(Node*); 138 void inspect(Node*);
139 139
140 Member<WebLocalFrameImpl> m_frameImpl; 140 Member<WebLocalFrameImpl> m_frameImpl;
141 String m_pausedInDebuggerMessage; 141 String m_pausedInDebuggerMessage;
142 Member<Node> m_highlightNode; 142 Member<Node> m_highlightNode;
143 Member<Node> m_eventTargetNode; 143 Member<Node> m_eventTargetNode;
144 InspectorHighlightConfig m_nodeHighlightConfig; 144 InspectorHighlightConfig m_nodeHighlightConfig;
(...skipping 14 matching lines...) Expand all
159 Member<InspectorDOMAgent> m_domAgent; 159 Member<InspectorDOMAgent> m_domAgent;
160 std::unique_ptr<PageOverlay> m_pageOverlay; 160 std::unique_ptr<PageOverlay> m_pageOverlay;
161 Member<Node> m_hoveredNodeForInspectMode; 161 Member<Node> m_hoveredNodeForInspectMode;
162 InspectorDOMAgent::SearchMode m_inspectMode; 162 InspectorDOMAgent::SearchMode m_inspectMode;
163 std::unique_ptr<InspectorHighlightConfig> m_inspectModeHighlightConfig; 163 std::unique_ptr<InspectorHighlightConfig> m_inspectModeHighlightConfig;
164 }; 164 };
165 165
166 } // namespace blink 166 } // namespace blink
167 167
168 #endif // InspectorOverlay_h 168 #endif // InspectorOverlay_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/DevToolsEmulator.cpp ('k') | third_party/WebKit/Source/web/InspectorOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698