summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-23 01:40:25 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-23 01:40:25 +0000
commit48bdfbf85c790ee91ec8f31242aaec1164273221 (patch)
treec386762a4618828380515bb4fa702ffc715a4dd4
parenta3804f91d56afddae0df7e3e00770bfd4c529dab (diff)
downloadchromium_src-48bdfbf85c790ee91ec8f31242aaec1164273221.zip
chromium_src-48bdfbf85c790ee91ec8f31242aaec1164273221.tar.gz
chromium_src-48bdfbf85c790ee91ec8f31242aaec1164273221.tar.bz2
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
-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,