Chromium Code Reviews| Index: ash/wm/maximize_bubble_controller.h |
| diff --git a/ash/wm/maximize_bubble_controller.h b/ash/wm/maximize_bubble_controller.h |
| index ab9083d1179f75665859ed3ba3f05fc671c30cb9..bdd108ec9dd0f2d562d02491a749faa92de7edda 100644 |
| --- a/ash/wm/maximize_bubble_controller.h |
| +++ b/ash/wm/maximize_bubble_controller.h |
| @@ -6,6 +6,7 @@ |
| #define ASH_WM_MAXIMIZE_BUBBLE_CONTROLLER_H_ |
| #include "ash/ash_export.h" |
| +#include "ash/wm/workspace/maximize_bubble_frame_state.h" |
| #include "ash/wm/workspace/snap_types.h" |
| #include "base/memory/scoped_ptr.h" |
| @@ -31,7 +32,7 @@ class ASH_EXPORT MaximizeBubbleController { |
| class Bubble; |
| MaximizeBubbleController(FrameMaximizeButton* frame_maximize_button, |
| - bool is_maximized, |
| + MaximizeBubbleFrameState maximize_type, |
| int appearance_delay_ms); |
| // Called from the outside to destroy the interface to the UI visuals. |
| // The visuals will then delete when possible (maybe asynchronously). |
| @@ -61,7 +62,7 @@ class ASH_EXPORT MaximizeBubbleController { |
| } |
| // The status of the associated window: Maximized or normal. |
| - bool is_maximized() const { return is_maximized_; } |
| + MaximizeBubbleFrameState maximize_type() const { return maximize_type_; } |
| // A unit test function to return buttons of the sub menu. |state| can be |
| // either SNAP_LEFT, SNAP_RIGHT or SNAP_MINIMIZE. |
| @@ -84,7 +85,7 @@ class ASH_EXPORT MaximizeBubbleController { |
| Bubble* bubble_; |
| // If true the owning window is maximized. |
|
sky
2012/08/29 17:29:20
Update description.
Mr4D (OOO till 08-26)
2012/08/29 18:57:34
Done.
|
| - const bool is_maximized_; |
| + const MaximizeBubbleFrameState maximize_type_; |
| // The timer for the delayed creation of the menu. |
| scoped_ptr<base::Timer> timer_; |