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

Unified Diff: chrome/browser/gtk/tabs/tab_strip_gtk.cc

Issue 99194: Close the hovered tab on middle mouse click in the Linux tabstrip. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | « chrome/browser/gtk/tabs/tab_gtk.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/tabs/tab_strip_gtk.cc
===================================================================
--- chrome/browser/gtk/tabs/tab_strip_gtk.cc (revision 14861)
+++ chrome/browser/gtk/tabs/tab_strip_gtk.cc (working copy)
@@ -1217,10 +1217,6 @@
// static
gboolean TabStripGtk::OnMouseRelease(GtkWidget* widget, GdkEventButton* event,
TabStripGtk* tabstrip) {
- // TODO(jhawkins): Handle middle click.
- if (event->button == 2)
- return TRUE;
-
gfx::Point point(event->x, event->y);
if (tabstrip->hover_index_ != -1) {
tabstrip->GetTabAt(tabstrip->hover_index_)->OnMouseRelease(event);
« no previous file with comments | « chrome/browser/gtk/tabs/tab_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698