1 // Copyright (c) 2012 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 cr.define('extensions', function() {
8 * @extends {cr.ui.FocusManager}
10 function ExtensionFocusManager() {}
12 cr.addSingletonGetter(ExtensionFocusManager);
14 ExtensionFocusManager.prototype = {
15 __proto__: cr.ui.FocusManager.prototype,
18 getFocusParent: function() {
19 var overlay = extensions.ExtensionSettings.getCurrentOverlay();
20 return overlay || $('extension-settings');
25 ExtensionFocusManager: ExtensionFocusManager,