From 48bdfbf85c790ee91ec8f31242aaec1164273221 Mon Sep 17 00:00:00 2001 From: "jhawkins@chromium.org" Date: Tue, 23 Jun 2009 01:40:25 +0000 Subject: Remove TOOLKI_VIEWS cruft from tab_contents_view_gtk.cc now that it has its own TabContentsView implementation. BUG=14469 TEST=none Review URL: http://codereview.chromium.org/146010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19002 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/tab_contents/tab_contents_view_gtk.cc | 4 ---- 1 file changed, 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(event.os_event->state)); -#endif } void TabContentsViewGtk::Observe(NotificationType type, -- cgit v1.1