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

Unified Diff: chrome/browser/resources/options/options_focus_manager.js

Issue 410293004: Split OptionsPage into Page and PageManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed feedback Created 6 years, 5 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
Index: chrome/browser/resources/options/options_focus_manager.js
diff --git a/chrome/browser/resources/options/options_focus_manager.js b/chrome/browser/resources/options/options_focus_manager.js
index 972e1fea0db8764c2c07c3f7cc755d02ac0f7953..9fc3f21a99a8b1a1baa690925b388fb18f325b16 100644
--- a/chrome/browser/resources/options/options_focus_manager.js
+++ b/chrome/browser/resources/options/options_focus_manager.js
@@ -4,7 +4,7 @@
cr.define('options', function() {
var FocusManager = cr.ui.FocusManager;
- var OptionsPage = options.OptionsPage;
+ var PageManager = cr.ui.pageManager.PageManager;
function OptionsFocusManager() {
}
@@ -16,7 +16,7 @@ cr.define('options', function() {
/** @override */
getFocusParent: function() {
- var topPage = OptionsPage.getTopmostVisiblePage().pageDiv;
+ var topPage = PageManager.getTopmostVisiblePage().pageDiv;
// The default page and search page include a search field that is a
// sibling of the rest of the page instead of a child. Thus, use the

Powered by Google App Engine
This is Rietveld 408576698