Index: ash/wm/workspace/frame_maximize_button.cc |
=================================================================== |
--- ash/wm/workspace/frame_maximize_button.cc (revision 151488) |
+++ ash/wm/workspace/frame_maximize_button.cc (working copy) |
@@ -32,9 +32,6 @@ |
// Delay before forcing an update of the snap location. |
const int kUpdateDelayMS = 400; |
-// The delay of the bubble appearance. |
-const int kBubbleAppearanceDelayMS = 200; |
- |
} |
// EscapeEventFilter is installed on the RootWindow to track when the escape key |
@@ -110,8 +107,7 @@ |
is_snap_enabled_(false), |
exceeded_drag_threshold_(false), |
window_(NULL), |
- snap_type_(SNAP_NONE), |
- bubble_appearance_delay_ms_(kBubbleAppearanceDelayMS) { |
+ snap_type_(SNAP_NONE) { |
// TODO(sky): nuke this. It's temporary while we don't have good images. |
SetImageAlignment(ALIGN_LEFT, ALIGN_BOTTOM); |
} |
@@ -206,8 +202,7 @@ |
} |
maximizer_.reset(new MaximizeBubbleController( |
this, |
- frame_->GetWidget()->IsMaximized(), |
- bubble_appearance_delay_ms_)); |
+ frame_->GetWidget()->IsMaximized())); |
} |
} |
@@ -290,8 +285,7 @@ |
if (!maximizer_.get()) { |
maximizer_.reset(new MaximizeBubbleController( |
this, |
- frame_->GetWidget()->IsMaximized(), |
- bubble_appearance_delay_ms_)); |
+ frame_->GetWidget()->IsMaximized())); |
} else { |
// If the menu did not show up yet, we delay it even a bit more. |
maximizer_->DelayCreation(); |