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

Side by Side Diff: third_party/WebKit/Source/core/page/ChromeClient.h

Issue 1884863003: Non passive touch end or touch cancel listeners should not block scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 189
190 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFrame* localRoot) { } 190 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFrame* localRoot) { }
191 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFrame* localRoot) { } 191 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFrame* localRoot) { }
192 192
193 virtual void enterFullScreenForElement(Element*) { } 193 virtual void enterFullScreenForElement(Element*) { }
194 virtual void exitFullScreenForElement(Element*) { } 194 virtual void exitFullScreenForElement(Element*) { }
195 195
196 virtual void clearCompositedSelection() { } 196 virtual void clearCompositedSelection() { }
197 virtual void updateCompositedSelection(const CompositedSelection&) { } 197 virtual void updateCompositedSelection(const CompositedSelection&) { }
198 198
199 virtual void setHaveTouchEventListeners(bool) = 0;
tdresser 2016/04/13 16:52:35 setHas
dtapuska 2016/04/13 18:00:15 Done.
199 virtual void setEventListenerProperties(WebEventListenerClass, WebEventListe nerProperties) = 0; 200 virtual void setEventListenerProperties(WebEventListenerClass, WebEventListe nerProperties) = 0;
200 virtual WebEventListenerProperties eventListenerProperties(WebEventListenerC lass) const = 0; 201 virtual WebEventListenerProperties eventListenerProperties(WebEventListenerC lass) const = 0;
201 virtual void setHaveScrollEventHandlers(bool) = 0; 202 virtual void setHaveScrollEventHandlers(bool) = 0;
202 virtual bool haveScrollEventHandlers() const = 0; 203 virtual bool haveScrollEventHandlers() const = 0;
203 204
204 virtual void setTouchAction(TouchAction) = 0; 205 virtual void setTouchAction(TouchAction) = 0;
205 206
206 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() . 207 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() .
207 virtual bool hasOpenedPopup() const = 0; 208 virtual bool hasOpenedPopup() const = 0;
208 virtual PopupMenu* openPopupMenu(LocalFrame&, HTMLSelectElement&) = 0; 209 virtual PopupMenu* openPopupMenu(LocalFrame&, HTMLSelectElement&) = 0;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 279
279 LayoutPoint m_lastToolTipPoint; 280 LayoutPoint m_lastToolTipPoint;
280 String m_lastToolTipText; 281 String m_lastToolTipText;
281 282
282 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 283 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
283 }; 284 };
284 285
285 } // namespace blink 286 } // namespace blink
286 287
287 #endif // ChromeClient_h 288 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698