| Index: ash/shell.h
|
| diff --git a/ash/shell.h b/ash/shell.h
|
| index 16add64ab50f47014fc13803f5be4f8f8518fe7a..8283881afaf1fd4f2b0f5449fffdf2312547662c 100644
|
| --- a/ash/shell.h
|
| +++ b/ash/shell.h
|
| @@ -47,6 +47,7 @@ class ActivationController;
|
| class AcceleratorFilter;
|
| class AppList;
|
| class DragDropController;
|
| +class FocusCycler;
|
| class InputMethodEventFilter;
|
| class RootWindowLayoutManager;
|
| class ShadowController;
|
| @@ -73,6 +74,11 @@ class ASH_EXPORT Shell {
|
| MODE_OVERLAPPING,
|
| };
|
|
|
| + enum Direction {
|
| + FORWARD,
|
| + BACKWARD
|
| + };
|
| +
|
| // A shell must be explicitly created so that it can call |Init()| with the
|
| // delegate set. |delegate| can be NULL (if not required for initialization).
|
| static Shell* CreateInstance(ShellDelegate* delegate);
|
| @@ -115,6 +121,9 @@ class ASH_EXPORT Shell {
|
| views::NonClientFrameView* CreateDefaultNonClientFrameView(
|
| views::Widget* widget);
|
|
|
| + // Rotate focus through containers that can recieve focus.
|
| + void RotateFocus(Direction direction);
|
| +
|
| AcceleratorController* accelerator_controller() {
|
| return accelerator_controller_.get();
|
| }
|
| @@ -190,6 +199,7 @@ class ASH_EXPORT Shell {
|
| scoped_ptr<PowerButtonController> power_button_controller_;
|
| scoped_ptr<VideoDetector> video_detector_;
|
| scoped_ptr<WindowCycleController> window_cycle_controller_;
|
| + scoped_ptr<internal::FocusCycler> focus_cycler_;
|
|
|
| // An event filter that pre-handles all key events to send them to an IME.
|
| scoped_ptr<internal::InputMethodEventFilter> input_method_filter_;
|
|
|