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

Unified Diff: third_party/WebKit/Source/web/InspectorOverlay.h

Issue 2818883002: [DevTools] Swallow mouse up in inspect mode (Closed)
Patch Set: better Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/InspectorOverlay.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/InspectorOverlay.h
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.h b/third_party/WebKit/Source/web/InspectorOverlay.h
index 16788471c2748b422f2595407c75736f888b1480..6cc0a65135893c29a84184d732aba2f407628b6b 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.h
+++ b/third_party/WebKit/Source/web/InspectorOverlay.h
@@ -131,7 +131,8 @@ class InspectorOverlay final
void ScheduleUpdate();
void ClearInternal();
- bool HandleMousePress();
+ bool HandleMouseDown();
+ bool HandleMouseUp();
bool HandleGestureEvent(const WebGestureEvent&);
bool HandleTouchEvent(const WebTouchEvent&);
bool HandleMouseMove(const WebMouseEvent&);
@@ -160,6 +161,7 @@ class InspectorOverlay final
Member<InspectorDOMAgent> dom_agent_;
std::unique_ptr<PageOverlay> page_overlay_;
Member<Node> hovered_node_for_inspect_mode_;
+ bool swallow_next_mouse_up_;
InspectorDOMAgent::SearchMode inspect_mode_;
std::unique_ptr<InspectorHighlightConfig> inspect_mode_highlight_config_;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/InspectorOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698