| 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 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1121 { | 1121 { |
| 1122 m_webView->numberOfWheelEventHandlersChanged(numberOfWheelHandlers); | 1122 m_webView->numberOfWheelEventHandlersChanged(numberOfWheelHandlers); |
| 1123 } | 1123 } |
| 1124 | 1124 |
| 1125 bool ChromeClientImpl::shouldAutoscrollForDragAndDrop(WebCore::RenderBox*) const | 1125 bool ChromeClientImpl::shouldAutoscrollForDragAndDrop(WebCore::RenderBox*) const |
| 1126 { | 1126 { |
| 1127 return true; | 1127 return true; |
| 1128 } | 1128 } |
| 1129 | 1129 |
| 1130 | 1130 |
| 1131 #if ENABLE(TOUCH_EVENTS) | |
| 1132 void ChromeClientImpl::needTouchEvents(bool needsTouchEvents) | 1131 void ChromeClientImpl::needTouchEvents(bool needsTouchEvents) |
| 1133 { | 1132 { |
| 1134 m_webView->hasTouchEventHandlers(needsTouchEvents); | 1133 m_webView->hasTouchEventHandlers(needsTouchEvents); |
| 1135 } | 1134 } |
| 1136 #endif // ENABLE(TOUCH_EVENTS) | |
| 1137 | 1135 |
| 1138 bool ChromeClientImpl::requestPointerLock() | 1136 bool ChromeClientImpl::requestPointerLock() |
| 1139 { | 1137 { |
| 1140 return m_webView->requestPointerLock(); | 1138 return m_webView->requestPointerLock(); |
| 1141 } | 1139 } |
| 1142 | 1140 |
| 1143 void ChromeClientImpl::requestPointerUnlock() | 1141 void ChromeClientImpl::requestPointerUnlock() |
| 1144 { | 1142 { |
| 1145 return m_webView->requestPointerUnlock(); | 1143 return m_webView->requestPointerUnlock(); |
| 1146 } | 1144 } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1184 { | 1182 { |
| 1185 } | 1183 } |
| 1186 | 1184 |
| 1187 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche
me, const String& baseURL, const String& url, const String& title) | 1185 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche
me, const String& baseURL, const String& url, const String& title) |
| 1188 { | 1186 { |
| 1189 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); | 1187 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); |
| 1190 } | 1188 } |
| 1191 #endif | 1189 #endif |
| 1192 | 1190 |
| 1193 } // namespace WebKit | 1191 } // namespace WebKit |
| OLD | NEW |