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

Unified Diff: content/browser/devtools/protocol/input_handler.h

Issue 2868943004: Validate input from devtools channel to ensure that position is valid. (Closed)
Patch Set: Created 3 years, 7 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 | content/browser/devtools/protocol/input_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/input_handler.h
diff --git a/content/browser/devtools/protocol/input_handler.h b/content/browser/devtools/protocol/input_handler.h
index de96389d1e07de0a70cf01dedc203c9810b562ea..68c7690664ee4a68b2f1ec0dc076868102c39156 100644
--- a/content/browser/devtools/protocol/input_handler.h
+++ b/content/browser/devtools/protocol/input_handler.h
@@ -129,6 +129,7 @@ class InputHandler : public DevToolsDomainHandler,
SyntheticGesture::Result result);
void ClearPendingKeyAndMouseCallbacks();
+ bool PointIsWithinContents(gfx::PointF) const;
dgozman 2017/05/09 21:38:55 IIRC, chromium mandates parameter names.
dtapuska 2017/05/10 14:05:03 Done.
RenderFrameHostImpl* host_;
// Callbacks for calls to Input.dispatchKey/MouseEvent that have been sent to
« no previous file with comments | « no previous file | content/browser/devtools/protocol/input_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698