| Index: chrome/browser/gtk/browser_titlebar.h
|
| diff --git a/chrome/browser/gtk/browser_titlebar.h b/chrome/browser/gtk/browser_titlebar.h
|
| index c937f8577132d66e4778559adc1b11bd1a71d4f5..b4916256034c1f145d0d0848774b458b549fe515 100644
|
| --- a/chrome/browser/gtk/browser_titlebar.h
|
| +++ b/chrome/browser/gtk/browser_titlebar.h
|
| @@ -34,6 +34,11 @@ class BrowserTitlebar : public MenuGtk::Delegate {
|
| // tall titlebar and the min/max/close buttons.
|
| void UpdateCustomFrame(bool use_custom_frame);
|
|
|
| + // On Windows, right clicking in the titlebar background brings up the system
|
| + // menu. There's no such thing on linux, so we just show the menu items we
|
| + // add to the menu.
|
| + void ShowContextMenu();
|
| +
|
| private:
|
| // Build the titlebar, the space above the tab
|
| // strip, and (maybe) the min, max, close buttons. |container| is the gtk
|
| @@ -51,11 +56,6 @@ class BrowserTitlebar : public MenuGtk::Delegate {
|
| static gboolean OnExpose(GtkWidget* widget, GdkEventExpose* e,
|
| BrowserTitlebar* window);
|
|
|
| - // Callback for when the titlebar (include the background of the tab strip)
|
| - // needs to be redrawn.
|
| - static gboolean OnMouseButtonPress(GtkWidget* widget, GdkEventButton* e,
|
| - BrowserTitlebar* window);
|
| -
|
| // Callback for changes to window state. This includes
|
| // maximizing/restoring/minimizing the window.
|
| static gboolean OnWindowStateChanged(GtkWindow* window,
|
| @@ -67,10 +67,6 @@ class BrowserTitlebar : public MenuGtk::Delegate {
|
|
|
| // -- Context Menu -----------------------------------------------------------
|
|
|
| - // On Windows, right clicking in the titlebar background brings up the system
|
| - // menu. There's no such thing on linux, so we just show the menu items we
|
| - // add to the menu.
|
| - void ShowContextMenu();
|
| // MenuGtk::Delegate implementation:
|
| virtual bool IsCommandEnabled(int command_id) const;
|
| virtual bool IsItemChecked(int command_id) const;
|
|
|