cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / chrome / browser / resources / extensions / extension_focus_manager.js
blob377744caaeb0925b474ed5d303a9bf6a91a9534b
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() {
6 /**
7 * @constructor
8 * @extends {cr.ui.FocusManager}
9 */
10 function ExtensionFocusManager() {}
12 cr.addSingletonGetter(ExtensionFocusManager);
14 ExtensionFocusManager.prototype = {
15 __proto__: cr.ui.FocusManager.prototype,
17 /** @override */
18 getFocusParent: function() {
19 var overlay = extensions.ExtensionSettings.getCurrentOverlay();
20 return overlay || $('extension-settings');
24 return {
25 ExtensionFocusManager: ExtensionFocusManager,
27 });