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

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

Issue 1895303007: Non passive touch end or touch cancel listeners should not block scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 setEventListenerProperties(WebEventListenerClass, WebEventListe nerProperties) = 0; 199 virtual void setEventListenerProperties(WebEventListenerClass, WebEventListe nerProperties) = 0;
200 virtual WebEventListenerProperties eventListenerProperties(WebEventListenerC lass) const = 0; 200 virtual WebEventListenerProperties eventListenerProperties(WebEventListenerC lass) const = 0;
201 virtual void setHaveScrollEventHandlers(bool) = 0; 201 virtual void setHasScrollEventHandlers(bool) = 0;
202 virtual bool haveScrollEventHandlers() const = 0; 202 virtual bool hasScrollEventHandlers() const = 0;
203 203
204 virtual void setTouchAction(TouchAction) = 0; 204 virtual void setTouchAction(TouchAction) = 0;
205 205
206 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() . 206 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() .
207 virtual bool hasOpenedPopup() const = 0; 207 virtual bool hasOpenedPopup() const = 0;
208 virtual PopupMenu* openPopupMenu(LocalFrame&, HTMLSelectElement&) = 0; 208 virtual PopupMenu* openPopupMenu(LocalFrame&, HTMLSelectElement&) = 0;
209 virtual DOMWindow* pagePopupWindowForTesting() const = 0; 209 virtual DOMWindow* pagePopupWindowForTesting() const = 0;
210 210
211 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) { } 211 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) { }
212 virtual String acceptLanguages() = 0; 212 virtual String acceptLanguages() = 0;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 278
279 LayoutPoint m_lastToolTipPoint; 279 LayoutPoint m_lastToolTipPoint;
280 String m_lastToolTipText; 280 String m_lastToolTipText;
281 281
282 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 282 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
283 }; 283 };
284 284
285 } // namespace blink 285 } // namespace blink
286 286
287 #endif // ChromeClient_h 287 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698