| Index: chrome/browser/gtk/constrained_window_gtk.h
|
| diff --git a/chrome/browser/gtk/constrained_window_gtk.h b/chrome/browser/gtk/constrained_window_gtk.h
|
| index 2312cb3395bdd59728e883a4569916f882480e40..4c0a44305b03b387de1b322b8b3bacfecd8bffbc 100644
|
| --- a/chrome/browser/gtk/constrained_window_gtk.h
|
| +++ b/chrome/browser/gtk/constrained_window_gtk.h
|
| @@ -15,7 +15,6 @@
|
|
|
| class TabContents;
|
| class TabContentsViewGtk;
|
| -typedef struct _GtkWidget GtkWidget;
|
|
|
| class ConstrainedWindowGtkDelegate {
|
| public:
|
| @@ -56,12 +55,9 @@ class ConstrainedWindowGtk : public ConstrainedWindow {
|
| ConstrainedWindowGtk(TabContents* owner,
|
| ConstrainedWindowGtkDelegate* delegate);
|
|
|
| - // Connects the ESC accelerator to the window.
|
| - void ConnectAccelerators();
|
| -
|
| - // Handles an ESC accelerator being pressed.
|
| - CHROMEG_CALLBACK_3(ConstrainedWindowGtk, gboolean, OnEscape, GtkAccelGroup*,
|
| - GObject*, guint, GdkModifierType);
|
| + // Handler for Escape.
|
| + CHROMEGTK_CALLBACK_1(ConstrainedWindowGtk, gboolean, OnKeyPress,
|
| + GdkEventKey*);
|
|
|
| // The TabContents that owns and constrains this ConstrainedWindow.
|
| TabContents* owner_;
|
| @@ -75,8 +71,6 @@ class ConstrainedWindowGtk : public ConstrainedWindow {
|
| // Stores if |ShowConstrainedWindow()| has been called.
|
| bool visible_;
|
|
|
| - GtkAccelGroup* accel_group_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowGtk);
|
| };
|
|
|
|
|