Index: ash/shell.h |
diff --git a/ash/shell.h b/ash/shell.h |
index a1dcb76047e469a2736b781fe25a582a7f1f2919..799669e258e0c90bb19a81775292fe3ba9691555 100644 |
--- a/ash/shell.h |
+++ b/ash/shell.h |
@@ -46,6 +46,7 @@ class ActivationController; |
class AcceleratorFilter; |
class AppList; |
class DragDropController; |
+class FocusCycler; |
class InputMethodEventFilter; |
class RootWindowLayoutManager; |
class ShadowController; |
@@ -71,6 +72,11 @@ class ASH_EXPORT Shell { |
COMPACT_MODE |
}; |
+ 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); |
@@ -113,6 +119,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(); |
} |
@@ -188,6 +197,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_; |