1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Helper class for help page, that controls focus transition between
6 // elements on the help page and overlays.
7 cr.define('help', function() {
8 function HelpFocusManager() {
11 cr.addSingletonGetter(HelpFocusManager);
13 HelpFocusManager.prototype = {
14 __proto__: cr.ui.FocusManager.prototype,
16 getFocusParent: function() {
17 var page = help.HelpPage.getTopmostVisiblePage();
25 HelpFocusManager: HelpFocusManager,