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

Unified Diff: chrome/browser/resources/print_preview/print_preview.js

Issue 400013003: Prevent focus from leaving Print Preview overlay controls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/print_preview/print_preview.js
diff --git a/chrome/browser/resources/print_preview/print_preview.js b/chrome/browser/resources/print_preview/print_preview.js
index 9fe9806edb088bdb2f2c819482ff1cb475e081f6..cd8c4867335023351375bf422428c612f982642c 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -7,6 +7,7 @@
var localStrings = new LocalStrings(templateData);
<include src="component.js"/>
+<include src="print_preview_focus_manager.js"/>
cr.define('print_preview', function() {
'use strict';
@@ -255,6 +256,7 @@ cr.define('print_preview', function() {
this.setIsEnabled_(false);
}
this.nativeLayer_.startGetInitialSettings();
+ print_preview.PrintPreviewFocusManager.getInstance().initialize();
cr.ui.FocusOutlineManager.forDocument(document);
},

Powered by Google App Engine
This is Rietveld 408576698