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

Side by Side Diff: third_party/WebKit/Source/core/input/EventHandler.cpp

Issue 2818083002: Rewrite references to "wtf/" to "platform/wtf/" in the rest of core/. (Closed)
Patch Set: Rebase. 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
5 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) 5 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies)
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 #include "core/style/ComputedStyle.h" 87 #include "core/style/ComputedStyle.h"
88 #include "core/style/CursorData.h" 88 #include "core/style/CursorData.h"
89 #include "platform/RuntimeEnabledFeatures.h" 89 #include "platform/RuntimeEnabledFeatures.h"
90 #include "platform/WindowsKeyboardCodes.h" 90 #include "platform/WindowsKeyboardCodes.h"
91 #include "platform/geometry/FloatPoint.h" 91 #include "platform/geometry/FloatPoint.h"
92 #include "platform/graphics/Image.h" 92 #include "platform/graphics/Image.h"
93 #include "platform/heap/Handle.h" 93 #include "platform/heap/Handle.h"
94 #include "platform/instrumentation/tracing/TraceEvent.h" 94 #include "platform/instrumentation/tracing/TraceEvent.h"
95 #include "platform/scroll/ScrollAnimatorBase.h" 95 #include "platform/scroll/ScrollAnimatorBase.h"
96 #include "platform/scroll/Scrollbar.h" 96 #include "platform/scroll/Scrollbar.h"
97 #include "platform/wtf/Assertions.h"
98 #include "platform/wtf/CurrentTime.h"
99 #include "platform/wtf/PtrUtil.h"
100 #include "platform/wtf/StdLibExtras.h"
97 #include "public/platform/WebInputEvent.h" 101 #include "public/platform/WebInputEvent.h"
98 #include "public/platform/WebMouseWheelEvent.h" 102 #include "public/platform/WebMouseWheelEvent.h"
99 #include "wtf/Assertions.h"
100 #include "wtf/CurrentTime.h"
101 #include "wtf/PtrUtil.h"
102 #include "wtf/StdLibExtras.h"
103 103
104 namespace blink { 104 namespace blink {
105 105
106 namespace { 106 namespace {
107 107
108 // Refetch the event target node if it is removed or currently is the shadow 108 // Refetch the event target node if it is removed or currently is the shadow
109 // node inside an <input> element. If a mouse event handler changes the input 109 // node inside an <input> element. If a mouse event handler changes the input
110 // element type to one that has a FrameViewBase associated, we'd like to 110 // element type to one that has a FrameViewBase associated, we'd like to
111 // EventHandler::handleMousePressEvent to pass the event to the FrameViewBase 111 // EventHandler::handleMousePressEvent to pass the event to the FrameViewBase
112 // and thus the event target node can't still be the shadow node. 112 // and thus the event target node can't still be the shadow node.
(...skipping 1998 matching lines...) Expand 10 before | Expand all | Expand 10 after
2111 MouseEventWithHitTestResults& mev, 2111 MouseEventWithHitTestResults& mev,
2112 LocalFrame* subframe) { 2112 LocalFrame* subframe) {
2113 WebInputEventResult result = 2113 WebInputEventResult result =
2114 subframe->GetEventHandler().HandleMouseReleaseEvent(mev.Event()); 2114 subframe->GetEventHandler().HandleMouseReleaseEvent(mev.Event());
2115 if (result != WebInputEventResult::kNotHandled) 2115 if (result != WebInputEventResult::kNotHandled)
2116 return result; 2116 return result;
2117 return WebInputEventResult::kHandledSystem; 2117 return WebInputEventResult::kHandledSystem;
2118 } 2118 }
2119 2119
2120 } // namespace blink 2120 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.h ('k') | third_party/WebKit/Source/core/input/GestureManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698