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