Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Unified Diff: ash/shell.h

Issue 9295049: Allow focus to be sent between browser window and launcher/status window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix special index Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« ash/focus_cycler.cc ('K') | « ash/focus_cycler.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index a1dcb76047e469a2736b781fe25a582a7f1f2919..0041937567c58e4ed5b75a342e409a4bc823ed69 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -36,6 +36,7 @@ namespace ash {
class AcceleratorController;
class Launcher;
+class FocusCycler;
class PowerButtonController;
class ShellDelegate;
class VideoDetector;
@@ -113,6 +114,9 @@ class ASH_EXPORT Shell {
views::NonClientFrameView* CreateDefaultNonClientFrameView(
views::Widget* widget);
+ // Rotate focus through containers that can recieve focus.
+ void RotateFocus(bool forwards);
+
AcceleratorController* accelerator_controller() {
return accelerator_controller_.get();
}
@@ -188,6 +192,7 @@ class ASH_EXPORT Shell {
scoped_ptr<PowerButtonController> power_button_controller_;
scoped_ptr<VideoDetector> video_detector_;
scoped_ptr<WindowCycleController> window_cycle_controller_;
+ scoped_ptr<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_;
« ash/focus_cycler.cc ('K') | « ash/focus_cycler.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698