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

Unified Diff: Source/WebCore/page/EventHandler.cpp

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/page/ContextMenuController.cpp ('k') | Source/WebCore/page/Settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/page/EventHandler.cpp
diff --git a/Source/WebCore/page/EventHandler.cpp b/Source/WebCore/page/EventHandler.cpp
index c953cb013ec53e8cb874dc995562df0e7f4a18a3..416463f7cfe1657d8557047d4516c53a9e62916b 100644
--- a/Source/WebCore/page/EventHandler.cpp
+++ b/Source/WebCore/page/EventHandler.cpp
@@ -3529,11 +3529,7 @@ bool EventHandler::isKeyboardOptionTab(KeyboardEvent* event)
bool EventHandler::eventInvertsTabsToLinksClientCallResult(KeyboardEvent* event)
{
-#if PLATFORM(MAC) || PLATFORM(QT)
- return EventHandler::isKeyboardOptionTab(event);
-#else
return false;
-#endif
}
bool EventHandler::tabsToLinks(KeyboardEvent* event) const
@@ -3554,14 +3550,6 @@ void EventHandler::defaultTextInputEventHandler(TextEvent* event)
event->setDefaultHandled();
}
-#if PLATFORM(QT)
-// Qt handles the space event in platform-specific WebKit code.
-// Eventually it would be good to eliminate that and use the code here instead.
-void EventHandler::defaultSpaceEventHandler(KeyboardEvent*)
-{
-}
-#else
-
void EventHandler::defaultSpaceEventHandler(KeyboardEvent* event)
{
ASSERT(event->type() == eventNames().keypressEvent);
@@ -3583,8 +3571,6 @@ void EventHandler::defaultSpaceEventHandler(KeyboardEvent* event)
event->setDefaultHandled();
}
-#endif
-
void EventHandler::defaultBackspaceEventHandler(KeyboardEvent* event)
{
ASSERT(event->type() == eventNames().keydownEvent);
« no previous file with comments | « Source/WebCore/page/ContextMenuController.cpp ('k') | Source/WebCore/page/Settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698