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

Unified Diff: chrome/browser/gtk/status_icons/status_icon_gtk.cc

Issue 3189003: Added support for context menus to status icons. (Closed)
Patch Set: Final version. Created 10 years, 4 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/status_icons/status_icon_gtk.h ('k') | chrome/browser/status_icons/status_icon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/status_icons/status_icon_gtk.cc
diff --git a/chrome/browser/gtk/status_icons/status_icon_gtk.cc b/chrome/browser/gtk/status_icons/status_icon_gtk.cc
index 3dacfbc78215a79355235e28d71c967a21beab86..d6af0a79353ce8d664de868333bd1e2e8399e18f 100644
--- a/chrome/browser/gtk/status_icons/status_icon_gtk.cc
+++ b/chrome/browser/gtk/status_icons/status_icon_gtk.cc
@@ -40,6 +40,11 @@ void StatusIconGtk::SetToolTip(const string16& tool_tip) {
gtk_status_icon_set_tooltip(icon_, UTF16ToUTF8(tool_tip).c_str());
}
+void StatusIconGtk::ResetContextMenu(menus::MenuModel* menu) {
+ // TODO(atwilson): Add support for context menus for GTK
+ // (http://crbug.com.37375).
+}
+
void StatusIconGtk::OnClick(GtkWidget* widget) {
DispatchClickEvent();
}
« no previous file with comments | « chrome/browser/gtk/status_icons/status_icon_gtk.h ('k') | chrome/browser/status_icons/status_icon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698