Chromium Code Reviews| Index: ash/wm/default_state.h |
| diff --git a/ash/wm/default_state.h b/ash/wm/default_state.h |
| index 72e1f74fb71bce2b7434fce9b86b196111e0b4bb..c362ede0a10c1b4d1b776d7ec704ac3c5e835880 100644 |
| --- a/ash/wm/default_state.h |
| +++ b/ash/wm/default_state.h |
| @@ -17,9 +17,17 @@ class DefaultState : public WindowState::State { |
| virtual ~DefaultState(); |
| // WindowState::State overrides: |
| - virtual void OnWMEvent(WindowState* window_state, |
| - WMEvent event) OVERRIDE; |
| + virtual void OnWMEvent(WindowState* window_state, WMEvent event) OVERRIDE; |
| + |
| private: |
| + // Process a stete dependent events, such as TOGGLE_MAXIMZIED, |
|
pkotwicz
2014/02/12 22:27:27
"a stete" -> "state"
TOGGLE_MAXIMZIED -> TOGGLE_MA
oshima
2014/02/13 14:52:34
Done.
|
| + // TOGGLE_FULLSCREEN. |
| + static bool ProcessCompoundEvents(WindowState* window_state, WMEvent event); |
| + |
| + // Update the window bounds according to the current and previous show type. |
|
pkotwicz
2014/02/12 22:27:27
How about: "Animate to new window bounds based on
oshima
2014/02/13 14:52:34
Done.
|
| + static void UpdateBoundsFromShowType(wm::WindowState* window_state, |
| + wm::WindowShowType old_show_type); |
| + |
| DISALLOW_COPY_AND_ASSIGN(DefaultState); |
| }; |