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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.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) 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 setEventListenerProperties(WebEventListenerClass, WebEventListenerPrope rties) override; 115 void setEventListenerProperties(WebEventListenerClass, WebEventListenerPrope rties) override;
116 WebEventListenerProperties eventListenerProperties(WebEventListenerClass) co nst override; 116 WebEventListenerProperties eventListenerProperties(WebEventListenerClass) co nst override;
117 void setHaveScrollEventHandlers(bool hasEventHandlers) override; 117 void setHasScrollEventHandlers(bool hasEventHandlers) override;
118 bool haveScrollEventHandlers() const override; 118 bool hasScrollEventHandlers() const override;
119 void setTouchAction(TouchAction) override; 119 void setTouchAction(TouchAction) override;
120 120
121 // Pass 0 as the GraphicsLayer to detatch the root layer. 121 // Pass 0 as the GraphicsLayer to detatch the root layer.
122 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ; 122 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ;
123 123
124 void didPaint(const PaintArtifact&) override; 124 void didPaint(const PaintArtifact&) override;
125 125
126 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFr ame* localRoot) override; 126 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFr ame* localRoot) override;
127 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFr ame* localRoot) override; 127 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFr ame* localRoot) override;
128 128
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 Cursor m_lastSetMouseCursorForTesting; 194 Cursor m_lastSetMouseCursorForTesting;
195 bool m_cursorOverridden; 195 bool m_cursorOverridden;
196 bool m_didRequestNonEmptyToolTip; 196 bool m_didRequestNonEmptyToolTip;
197 }; 197 };
198 198
199 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 199 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
200 200
201 } // namespace blink 201 } // namespace blink
202 202
203 #endif 203 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.idl ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698