Index: chrome/browser/ui/panels/panel_browser_window_gtk.h |
diff --git a/chrome/browser/ui/panels/panel_browser_window_gtk.h b/chrome/browser/ui/panels/panel_browser_window_gtk.h |
index 324fb40c4e7fcee9a81c95db0589ca06c7957bd9..6951db9aff9b8cbf39fdc4dbfd33d77599218e74 100644 |
--- a/chrome/browser/ui/panels/panel_browser_window_gtk.h |
+++ b/chrome/browser/ui/panels/panel_browser_window_gtk.h |
@@ -56,9 +56,6 @@ class PanelBrowserWindowGtk : public BrowserWindowGtk, |
virtual void DrawPopupFrame(cairo_t* cr, GtkWidget* widget, |
GdkEventExpose* event) OVERRIDE; |
virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; |
- // 'focus-in-event' handler. |
- virtual void HandleFocusIn(GtkWidget* widget, |
- GdkEventFocus* event) OVERRIDE; |
// Overridden from NativePanel: |
virtual void ShowPanel() OVERRIDE; |
@@ -137,15 +134,6 @@ class PanelBrowserWindowGtk : public BrowserWindowGtk, |
// Indicates that the panel is currently drawing attention. |
bool is_drawing_attention_; |
- // Disable ExpansionState changes on mouse click for a short duration. |
- // This is needed in case the window gains focus as result of mouseDown while |
- // being already expanded and drawing attention - in this case, we don't |
- // want to minimize it on subsequent mouseUp. |
- // We use time interval because the window may gain focus in various ways |
- // (via keyboard for example) which are not distinguishable at this point. |
- // Apparently this disable interval is not affecting the user in other cases. |
- base::Time disableMinimizeUntilTime_; |
- |
// Used to animate the bounds change. |
scoped_ptr<PanelBoundsAnimation> bounds_animator_; |
gfx::Rect animation_start_bounds_; |