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

Unified Diff: views/controls/table/table_view.h

Issue 115665: Middle clicking on a bookmark from the bookmark manager now... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 7 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/views/bookmark_manager_view.cc ('k') | views/controls/table/table_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/table/table_view.h
===================================================================
--- views/controls/table/table_view.h (revision 16540)
+++ views/controls/table/table_view.h (working copy)
@@ -284,6 +284,9 @@
// Optional method invoked when the user double clicks on the table.
virtual void OnDoubleClick() {}
+ // Optional method invoked when the user middle clicks on the table.
+ virtual void OnMiddleClick() {}
+
// Optional method invoked when the user hits a key with the table in focus.
virtual void OnKeyDown(unsigned short virtual_keycode) {}
@@ -452,6 +455,9 @@
// Notification from the ListView that the used double clicked the table.
virtual void OnDoubleClick();
+ // Notification from the ListView that the user middle clicked the table.
+ virtual void OnMiddleClick();
+
// Subclasses can implement this method if they need to be notified of a key
// press event. Other wise, it appeals to table_view_observer_
virtual void OnKeyDown(unsigned short virtual_keycode);
« no previous file with comments | « chrome/browser/views/bookmark_manager_view.cc ('k') | views/controls/table/table_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698