| 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 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1138 { | 1138 { |
| 1139 m_webView->numberOfWheelEventHandlersChanged(numberOfWheelHandlers); | 1139 m_webView->numberOfWheelEventHandlersChanged(numberOfWheelHandlers); |
| 1140 } | 1140 } |
| 1141 | 1141 |
| 1142 bool ChromeClientImpl::shouldAutoscrollForDragAndDrop(WebCore::RenderBox*) const | 1142 bool ChromeClientImpl::shouldAutoscrollForDragAndDrop(WebCore::RenderBox*) const |
| 1143 { | 1143 { |
| 1144 return true; | 1144 return true; |
| 1145 } | 1145 } |
| 1146 | 1146 |
| 1147 | 1147 |
| 1148 #if ENABLE(TOUCH_EVENTS) | |
| 1149 void ChromeClientImpl::needTouchEvents(bool needsTouchEvents) | 1148 void ChromeClientImpl::needTouchEvents(bool needsTouchEvents) |
| 1150 { | 1149 { |
| 1151 m_webView->hasTouchEventHandlers(needsTouchEvents); | 1150 m_webView->hasTouchEventHandlers(needsTouchEvents); |
| 1152 } | 1151 } |
| 1153 #endif // ENABLE(TOUCH_EVENTS) | |
| 1154 | 1152 |
| 1155 bool ChromeClientImpl::requestPointerLock() | 1153 bool ChromeClientImpl::requestPointerLock() |
| 1156 { | 1154 { |
| 1157 return m_webView->requestPointerLock(); | 1155 return m_webView->requestPointerLock(); |
| 1158 } | 1156 } |
| 1159 | 1157 |
| 1160 void ChromeClientImpl::requestPointerUnlock() | 1158 void ChromeClientImpl::requestPointerUnlock() |
| 1161 { | 1159 { |
| 1162 return m_webView->requestPointerUnlock(); | 1160 return m_webView->requestPointerUnlock(); |
| 1163 } | 1161 } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1201 { | 1199 { |
| 1202 } | 1200 } |
| 1203 | 1201 |
| 1204 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche
me, const String& baseURL, const String& url, const String& title) | 1202 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche
me, const String& baseURL, const String& url, const String& title) |
| 1205 { | 1203 { |
| 1206 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); | 1204 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); |
| 1207 } | 1205 } |
| 1208 #endif | 1206 #endif |
| 1209 | 1207 |
| 1210 } // namespace WebKit | 1208 } // namespace WebKit |
| OLD | NEW |