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

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

Issue 2539283002: Remove PlatformGestureEvent in favour of using WebGestureEvent (Closed)
Patch Set: 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 namespace blink { 46 namespace blink {
47 47
48 class Color; 48 class Color;
49 class LocalFrame; 49 class LocalFrame;
50 class InspectorCSSAgent; 50 class InspectorCSSAgent;
51 class LayoutEditor; 51 class LayoutEditor;
52 class Node; 52 class Node;
53 class Page; 53 class Page;
54 class PageOverlay; 54 class PageOverlay;
55 class PlatformGestureEvent;
56 class PlatformMouseEvent; 55 class PlatformMouseEvent;
57 class PlatformTouchEvent; 56 class PlatformTouchEvent;
57 class WebGestureEvent;
58 class WebLocalFrameImpl; 58 class WebLocalFrameImpl;
59 59
60 namespace protocol { 60 namespace protocol {
61 class Value; 61 class Value;
62 } 62 }
63 63
64 class InspectorOverlay final 64 class InspectorOverlay final
65 : public GarbageCollectedFinalized<InspectorOverlay>, 65 : public GarbageCollectedFinalized<InspectorOverlay>,
66 public InspectorDOMAgent::Client, 66 public InspectorDOMAgent::Client,
67 public InspectorOverlayHost::Listener { 67 public InspectorOverlayHost::Listener {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 void evaluateInOverlay(const String& method, const String& argument); 135 void evaluateInOverlay(const String& method, const String& argument);
136 void evaluateInOverlay(const String& method, 136 void evaluateInOverlay(const String& method,
137 std::unique_ptr<protocol::Value> argument); 137 std::unique_ptr<protocol::Value> argument);
138 void onTimer(TimerBase*); 138 void onTimer(TimerBase*);
139 void rebuildOverlayPage(); 139 void rebuildOverlayPage();
140 void invalidate(); 140 void invalidate();
141 void scheduleUpdate(); 141 void scheduleUpdate();
142 void clearInternal(); 142 void clearInternal();
143 143
144 bool handleMousePress(); 144 bool handleMousePress();
145 bool handleGestureEvent(const PlatformGestureEvent&); 145 bool handleGestureEvent(const WebGestureEvent&);
146 bool handleTouchEvent(const PlatformTouchEvent&); 146 bool handleTouchEvent(const PlatformTouchEvent&);
147 bool handleMouseMove(const PlatformMouseEvent&); 147 bool handleMouseMove(const PlatformMouseEvent&);
148 bool shouldSearchForNode(); 148 bool shouldSearchForNode();
149 void inspect(Node*); 149 void inspect(Node*);
150 void initializeLayoutEditorIfNeeded(Node*); 150 void initializeLayoutEditorIfNeeded(Node*);
151 151
152 Member<WebLocalFrameImpl> m_frameImpl; 152 Member<WebLocalFrameImpl> m_frameImpl;
153 String m_pausedInDebuggerMessage; 153 String m_pausedInDebuggerMessage;
154 Member<Node> m_highlightNode; 154 Member<Node> m_highlightNode;
155 Member<Node> m_eventTargetNode; 155 Member<Node> m_eventTargetNode;
(...skipping 17 matching lines...) Expand all
173 Member<LayoutEditor> m_layoutEditor; 173 Member<LayoutEditor> m_layoutEditor;
174 std::unique_ptr<PageOverlay> m_pageOverlay; 174 std::unique_ptr<PageOverlay> m_pageOverlay;
175 Member<Node> m_hoveredNodeForInspectMode; 175 Member<Node> m_hoveredNodeForInspectMode;
176 InspectorDOMAgent::SearchMode m_inspectMode; 176 InspectorDOMAgent::SearchMode m_inspectMode;
177 std::unique_ptr<InspectorHighlightConfig> m_inspectModeHighlightConfig; 177 std::unique_ptr<InspectorHighlightConfig> m_inspectModeHighlightConfig;
178 }; 178 };
179 179
180 } // namespace blink 180 } // namespace blink
181 181
182 #endif // InspectorOverlay_h 182 #endif // InspectorOverlay_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698