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 6841dfc2168f8fb411fbaa7d37a2d4dfe754f87f..bcf28a71f0c7bcde99b19353972c5a6eb58a774b 100644 |
--- a/chrome/browser/ui/panels/panel_browser_window_gtk.h |
+++ b/chrome/browser/ui/panels/panel_browser_window_gtk.h |
@@ -57,9 +57,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; |
@@ -138,15 +135,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_; |