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

Unified Diff: third_party/WebKit/Source/core/events/EventDispatcher.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
Index: third_party/WebKit/Source/core/events/EventDispatcher.cpp
diff --git a/third_party/WebKit/Source/core/events/EventDispatcher.cpp b/third_party/WebKit/Source/core/events/EventDispatcher.cpp
index 22142397199c5cb1f796769bfa8205bca0ad9f8c..984479913e820c08c658537020c087887b11bf8c 100644
--- a/third_party/WebKit/Source/core/events/EventDispatcher.cpp
+++ b/third_party/WebKit/Source/core/events/EventDispatcher.cpp
@@ -97,20 +97,23 @@ void EventDispatcher::dispatchSimulatedClick(
nodesDispatchingSimulatedClicks.insert(&node);
if (mouseEventOptions == SendMouseOverUpDownEvents)
- EventDispatcher(node, MouseEvent::create(EventTypeNames::mouseover,
- node.document().domWindow(),
- underlyingEvent, creationScope))
+ EventDispatcher(node,
+ MouseEvent::create(EventTypeNames::mouseover,
+ node.document().domWindow(),
+ underlyingEvent, creationScope))
.dispatch();
if (mouseEventOptions != SendNoEvents) {
- EventDispatcher(node, MouseEvent::create(EventTypeNames::mousedown,
- node.document().domWindow(),
- underlyingEvent, creationScope))
+ EventDispatcher(node,
+ MouseEvent::create(EventTypeNames::mousedown,
+ node.document().domWindow(),
+ underlyingEvent, creationScope))
.dispatch();
node.setActive(true);
- EventDispatcher(node, MouseEvent::create(EventTypeNames::mouseup,
- node.document().domWindow(),
- underlyingEvent, creationScope))
+ EventDispatcher(
+ node,
+ MouseEvent::create(EventTypeNames::mouseup, node.document().domWindow(),
+ underlyingEvent, creationScope))
.dispatch();
}
// Some elements (e.g. the color picker) may set active state to true before
@@ -118,9 +121,10 @@ void EventDispatcher::dispatchSimulatedClick(
node.setActive(false);
// always send click
- EventDispatcher(node, MouseEvent::create(EventTypeNames::click,
- node.document().domWindow(),
- underlyingEvent, creationScope))
+ EventDispatcher(
+ node,
+ MouseEvent::create(EventTypeNames::click, node.document().domWindow(),
+ underlyingEvent, creationScope))
.dispatch();
nodesDispatchingSimulatedClicks.erase(&node);

Powered by Google App Engine
This is Rietveld 408576698