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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void setToolTip(const String& tooltipText, TextDirection) override; 105 void setToolTip(const String& tooltipText, TextDirection) override;
106 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o verride; 106 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o verride;
107 void printDelegate(LocalFrame*) override; 107 void printDelegate(LocalFrame*) override;
108 void annotatedRegionsChanged() override; 108 void annotatedRegionsChanged() override;
109 ColorChooser* openColorChooser(LocalFrame*, ColorChooserClient*, const Color &) override; 109 ColorChooser* openColorChooser(LocalFrame*, ColorChooserClient*, const Color &) override;
110 DateTimeChooser* openDateTimeChooser(DateTimeChooserClient*, const DateTimeC hooserParameters&) override; 110 DateTimeChooser* openDateTimeChooser(DateTimeChooserClient*, const DateTimeC hooserParameters&) override;
111 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override; 111 void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) override;
112 void enumerateChosenDirectory(FileChooser*) override; 112 void enumerateChosenDirectory(FileChooser*) override;
113 void setCursor(const Cursor&, LocalFrame* localRoot) override; 113 void setCursor(const Cursor&, LocalFrame* localRoot) override;
114 Cursor lastSetCursorForTesting() const override; 114 Cursor lastSetCursorForTesting() const override;
115 void setHaveTouchEventListeners(bool) override;
tdresser 2016/04/13 16:52:35 setHas
dtapuska 2016/04/13 18:00:15 Done.
115 void setEventListenerProperties(WebEventListenerClass, WebEventListenerPrope rties) override; 116 void setEventListenerProperties(WebEventListenerClass, WebEventListenerPrope rties) override;
116 WebEventListenerProperties eventListenerProperties(WebEventListenerClass) co nst override; 117 WebEventListenerProperties eventListenerProperties(WebEventListenerClass) co nst override;
117 void setHaveScrollEventHandlers(bool hasEventHandlers) override; 118 void setHaveScrollEventHandlers(bool hasEventHandlers) override;
118 bool haveScrollEventHandlers() const override; 119 bool haveScrollEventHandlers() const override;
119 void setTouchAction(TouchAction) override; 120 void setTouchAction(TouchAction) override;
120 121
121 // Pass 0 as the GraphicsLayer to detatch the root layer. 122 // Pass 0 as the GraphicsLayer to detatch the root layer.
122 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ; 123 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ;
123 124
124 void didPaint(const PaintArtifact&) override; 125 void didPaint(const PaintArtifact&) override;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 Cursor m_lastSetMouseCursorForTesting; 195 Cursor m_lastSetMouseCursorForTesting;
195 bool m_cursorOverridden; 196 bool m_cursorOverridden;
196 bool m_didRequestNonEmptyToolTip; 197 bool m_didRequestNonEmptyToolTip;
197 }; 198 };
198 199
199 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 200 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
200 201
201 } // namespace blink 202 } // namespace blink
202 203
203 #endif 204 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698