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

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

Issue 155368: Fix double click item activation in right pane of bookmark manager.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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/bookmark_manager_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/bookmark_manager_gtk.h
===================================================================
--- chrome/browser/gtk/bookmark_manager_gtk.h (revision 20336)
+++ chrome/browser/gtk/bookmark_manager_gtk.h (working copy)
@@ -122,6 +122,10 @@
// separately depending on whether the path column is showing.
void SaveColumnConfiguration();
+ // Flush the saved mousedown. Should only be called when |delaying_mousedown_|
+ // is true.
+ void SendDelayedMousedown();
+
GtkTreeSelection* left_selection() {
return gtk_tree_view_get_selection(GTK_TREE_VIEW(left_tree_view_));
}
@@ -246,10 +250,13 @@
scoped_refptr<SelectFileDialog> select_file_dialog_;
- // These two variables used for the workaround for http://crbug.com/15240.
+ // These variables are used for the workaround for http://crbug.com/15240.
// The last mouse down we got. Only valid while |delaying_mousedown| is true.
GdkEventButton mousedown_event_;
bool delaying_mousedown_;
+ // This is true while we are propagating a delayed mousedown. It is used to
+ // tell the button press handler to ignore the event.
+ bool sending_delayed_mousedown_;
};
#endif // CHROME_BROWSER_GTK_BOOKMARK_MANAGER_GTK_H_
« no previous file with comments | « no previous file | chrome/browser/gtk/bookmark_manager_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698