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

Unified Diff: Source/core/dom/SimulatedClickOptions.h

Issue 1285793004: isTrusted is incorrect for events generated by Element.click() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change bool on SimulatedMouseEvent to the enum class introduced everywhere else Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/events/EventDispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/SimulatedClickOptions.h
diff --git a/Source/core/dom/SimulatedClickOptions.h b/Source/core/dom/SimulatedClickOptions.h
index e1bb73b738922dd7f3a9ea44cc8e7fdd872ad618..81ddbe03f11bf4dd50b6afcb8a92dd5fcbc0ee71 100644
--- a/Source/core/dom/SimulatedClickOptions.h
+++ b/Source/core/dom/SimulatedClickOptions.h
@@ -29,6 +29,11 @@ enum SimulatedClickMouseEventOptions {
SendMouseOverUpDownEvents
};
+enum class SimulatedClickCreationScope {
+ FromScript,
+ FromUserAgent
+};
+
} // namespace blink
#endif // SimulatedClickOptions_h
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/events/EventDispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698