| Index: chrome/browser/gtk/browser_titlebar.h
|
| ===================================================================
|
| --- chrome/browser/gtk/browser_titlebar.h (revision 27516)
|
| +++ chrome/browser/gtk/browser_titlebar.h (working copy)
|
| @@ -95,6 +95,9 @@
|
| // change in the window.
|
| void UpdateTextColor();
|
|
|
| + // Show the menu that the user gets from left-clicking the favicon.
|
| + void ShowFaviconMenu(GdkEventButton* event);
|
| +
|
| // Callback for changes to window state. This includes
|
| // maximizing/restoring/minimizing the window.
|
| static gboolean OnWindowStateChanged(GtkWindow* window,
|
| @@ -108,6 +111,10 @@
|
| // Callback for min/max/close buttons.
|
| static void OnButtonClicked(GtkWidget* button, BrowserTitlebar* window);
|
|
|
| + // Callback for favicon.
|
| + static gboolean OnButtonPressed(GtkWidget* widget, GdkEventButton* event,
|
| + BrowserTitlebar* titlebar);
|
| +
|
| // -- Context Menu -----------------------------------------------------------
|
|
|
| // MenuGtk::Delegate implementation:
|
| @@ -166,6 +173,9 @@
|
| // The context menu.
|
| scoped_ptr<MenuGtk> context_menu_;
|
|
|
| + // The favicon menu.
|
| + scoped_ptr<MenuGtk> favicon_menu_;
|
| +
|
| // The throbber used when the window is in app mode or popup window mode.
|
| Throbber throbber_;
|
|
|
|
|