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

Unified Diff: chrome/browser/resources/history/history_focus_manager.js

Issue 2830983005: Remove old webui History page on desktop and mobile (Closed)
Patch Set: merge Created 3 years, 7 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
« no previous file with comments | « chrome/browser/resources/history/history.js ('k') | chrome/browser/resources/history/history_mobile.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/history/history_focus_manager.js
diff --git a/chrome/browser/resources/history/history_focus_manager.js b/chrome/browser/resources/history/history_focus_manager.js
deleted file mode 100644
index 610107c418bdaee6e2178947d572bb22435b8f75..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/history/history_focus_manager.js
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-var FocusManager = cr.ui.FocusManager;
-
-/**
- * A history-specific FocusManager implementation, which ensures that elements
- * "background" pages (i.e., those in a dialog that is not the topmost overlay)
- * do not receive focus.
- * @constructor
- * @extends {cr.ui.FocusManager}
- */
-function HistoryFocusManager() {
-}
-
-cr.addSingletonGetter(HistoryFocusManager);
-
-HistoryFocusManager.prototype = {
- __proto__: FocusManager.prototype,
-
- /** @override */
- getFocusParent: function() {
- return document.querySelector('#overlay .showing') ||
- document.querySelector('cr-menu:not([hidden])') ||
- $('history-page');
- },
-};
« no previous file with comments | « chrome/browser/resources/history/history.js ('k') | chrome/browser/resources/history/history_mobile.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698