| Index: ash/wm/maximize_mode/maximize_mode_window_state.h | 
| diff --git a/ash/wm/maximize_mode/maximize_mode_window_state.h b/ash/wm/maximize_mode/maximize_mode_window_state.h | 
| index 4ab3d5a2712149ba11213ba2c69f1a9c0c6cc658..e1e9d41516ed8b0ecd6e5863d4bfa9aa18935e30 100644 | 
| --- a/ash/wm/maximize_mode/maximize_mode_window_state.h | 
| +++ b/ash/wm/maximize_mode/maximize_mode_window_state.h | 
| @@ -62,6 +62,14 @@ class MaximizeModeWindowState : public wm::WindowState::State { | 
| wm::WindowStateType GetMaximizedOrCenteredWindowType( | 
| wm::WindowState* window_state); | 
|  | 
| +  // If |target_state| is LEFT/RIGHT_SNAPPED and the window can be snapped, | 
| +  // return |target_state|. Otherwise depending on the capabilities of the | 
| +  // window we either return |WINDOW_STATE_TYPE_MAXIMIZED| or | 
| +  // |WINDOW_STATE_TYPE_NORMAL|. | 
| +  wm::WindowStateType GetSnappedWindowStateType( | 
| +      wm::WindowState* window_state, | 
| +      wm::WindowStateType target_state); | 
| + | 
| // Updates the bounds to the maximum possible bounds according to the current | 
| // window state. If |animated| is set we animate the change. | 
| void UpdateBounds(wm::WindowState* window_state, bool animated); | 
|  |