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

Side by Side Diff: Source/WebKit/chromium/src/ChromeClientImpl.cpp

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
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 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/ChromeClientImpl.h ('k') | Source/WebKit/chromium/src/PageWidgetDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698