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

Unified Diff: chrome/browser/gtk/back_forward_button_gtk.h

Issue 131071: Implement window open disposition for (some) navigation buttons.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: bool->int Created 11 years, 6 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 | « no previous file | chrome/browser/gtk/back_forward_button_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/back_forward_button_gtk.h
===================================================================
--- chrome/browser/gtk/back_forward_button_gtk.h (revision 18718)
+++ chrome/browser/gtk/back_forward_button_gtk.h (working copy)
@@ -36,6 +36,10 @@
GdkEventButton* event,
BackForwardButtonGtk* toolbar);
+ static gboolean OnButtonRelease(GtkWidget* button,
+ GdkEventButton* event,
+ BackForwardButtonGtk* toolbar);
+
// If there is a timer to show the dropdown menu, and the mouse has moved
// sufficiently down the screen, cancel the timer and immediately show the
// menu.
@@ -57,6 +61,9 @@
// Whether this button is a forward button.
bool is_forward_;
+ // The event state from the last button release.
+ int last_release_event_flags_;
+
// The dropdown menu delegate.
scoped_ptr<BackForwardMenuModelGtk> menu_model_;
« no previous file with comments | « no previous file | chrome/browser/gtk/back_forward_button_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698