summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/tab_contents/tab_contents_view_gtk.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_view_gtk.cc b/chrome/browser/tab_contents/tab_contents_view_gtk.cc
index 9b62e55..8229085 100644
--- a/chrome/browser/tab_contents/tab_contents_view_gtk.cc
+++ b/chrome/browser/tab_contents/tab_contents_view_gtk.cc
@@ -300,9 +300,6 @@ void TabContentsViewGtk::TakeFocus(bool reverse) {
void TabContentsViewGtk::HandleKeyboardEvent(
const NativeWebKeyboardEvent& event) {
-#if defined(TOOLKIT_VIEWS)
- NOTIMPLEMENTED();
-#else
// This may be an accelerator. Try to pass it on to our browser window
// to handle.
GtkWindow* window = GetTopLevelNativeWindow();
@@ -316,7 +313,6 @@ void TabContentsViewGtk::HandleKeyboardEvent(
DCHECK(browser_window);
browser_window->HandleAccelerator(event.os_event->keyval,
static_cast<GdkModifierType>(event.os_event->state));
-#endif
}
void TabContentsViewGtk::Observe(NotificationType type,