Chromium Code Reviews| Index: ash/wm/window_state_util.h |
| diff --git a/ash/wm/window_state_util.h b/ash/wm/window_state_util.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..48d3cb6287ab5b4e9043d549c345644e394014c2 |
| --- /dev/null |
| +++ b/ash/wm/window_state_util.h |
| @@ -0,0 +1,19 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef ASH_WM_WINDOW_STATE_UTIL_H_ |
| +#define ASH_WM_WINDOW_STATE_UTIL_H_ |
| + |
| +namespace ash { |
| +namespace wm { |
| +class WindowState; |
| +class WindowStateDelegate; |
| + |
| +// Toggle the full screen from inside a WindowState::State handler. |
| +void ToggleFullScreen(WindowState* window_state, WindowStateDelegate* delegate); |
|
oshima
2014/04/25 20:14:59
you don't need to pass delegate. Just get it from
Mr4D (OOO till 08-26)
2014/04/25 21:00:49
Since it is there private (and it is good that it
|
| + |
| +} // namespace wm |
| +} // namespace ash |
| + |
| +#endif // ASH_WM_WINDOW_STATE_UTIL_H_ |