| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |