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

Side by Side Diff: third_party/WebKit/Source/core/input/EventHandlingUtil.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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/input/EventHandlingUtil.h" 5 #include "core/input/EventHandlingUtil.h"
6 6
7 #include "core/frame/FrameView.h" 7 #include "core/frame/FrameView.h"
8 #include "core/frame/LocalFrame.h" 8 #include "core/frame/LocalFrame.h"
9 #include "core/layout/api/LayoutViewItem.h" 9 #include "core/layout/api/LayoutViewItem.h"
10 #include "core/paint/PaintLayer.h" 10 #include "core/paint/PaintLayer.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 } 109 }
110 110
111 MouseEventWithHitTestResults performMouseEventHitTest( 111 MouseEventWithHitTestResults performMouseEventHitTest(
112 LocalFrame* frame, 112 LocalFrame* frame,
113 const HitTestRequest& request, 113 const HitTestRequest& request,
114 const WebMouseEvent& mev) { 114 const WebMouseEvent& mev) {
115 DCHECK(frame); 115 DCHECK(frame);
116 DCHECK(frame->document()); 116 DCHECK(frame->document());
117 117
118 return frame->document()->performMouseEventHitTest( 118 return frame->document()->performMouseEventHitTest(
119 request, contentPointFromRootFrame( 119 request,
120 frame, flooredIntPoint(mev.positionInRootFrame())), 120 contentPointFromRootFrame(frame,
121 flooredIntPoint(mev.positionInRootFrame())),
121 mev); 122 mev);
122 } 123 }
123 124
124 } // namespace EventHandlingUtil 125 } // namespace EventHandlingUtil
125 } // namespace blink 126 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/input/GestureManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698