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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.h

Issue 2740133002: Mark sub-frame root layer non-fast scrollable when wheel handlers present. (Closed)
Patch Set: Add mainframe version of test for verification. Created 3 years, 9 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // The client keeps track of which touch/mousewheel event types have handlers, 139 // The client keeps track of which touch/mousewheel event types have handlers,
140 // and if they do, whether the handlers are passive and/or blocking. This 140 // and if they do, whether the handlers are passive and/or blocking. This
141 // allows the client to know which optimizations can be used for the 141 // allows the client to know which optimizations can be used for the
142 // associated event classes. 142 // associated event classes.
143 void setEventListenerProperties(LocalFrame*, 143 void setEventListenerProperties(LocalFrame*,
144 WebEventListenerClass, 144 WebEventListenerClass,
145 WebEventListenerProperties) override; 145 WebEventListenerProperties) override;
146 WebEventListenerProperties eventListenerProperties( 146 WebEventListenerProperties eventListenerProperties(
147 LocalFrame*, 147 LocalFrame*,
148 WebEventListenerClass) const override; 148 WebEventListenerClass) const override;
149 void updateTouchRectsForSubframeIfNecessary(LocalFrame*); 149 void updateEventRectsForSubframeIfNecessary(LocalFrame*);
150 // Informs client about the existence of handlers for scroll events so 150 // Informs client about the existence of handlers for scroll events so
151 // appropriate scroll optimizations can be chosen. 151 // appropriate scroll optimizations can be chosen.
152 void setHasScrollEventHandlers(LocalFrame*, bool hasEventHandlers) override; 152 void setHasScrollEventHandlers(LocalFrame*, bool hasEventHandlers) override;
153 void setTouchAction(LocalFrame*, TouchAction) override; 153 void setTouchAction(LocalFrame*, TouchAction) override;
154 154
155 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override; 155 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override;
156 156
157 void attachRootLayer(WebLayer*, LocalFrame* localRoot) override; 157 void attachRootLayer(WebLayer*, LocalFrame* localRoot) override;
158 158
159 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, 159 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 251
252 DEFINE_TYPE_CASTS(ChromeClientImpl, 252 DEFINE_TYPE_CASTS(ChromeClientImpl,
253 ChromeClient, 253 ChromeClient,
254 client, 254 client,
255 client->isChromeClientImpl(), 255 client->isChromeClientImpl(),
256 client.isChromeClientImpl()); 256 client.isChromeClientImpl());
257 257
258 } // namespace blink 258 } // namespace blink
259 259
260 #endif 260 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/ChromeClient.h ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698