Index: chrome/browser/resources/options/browser_options.js |
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js |
index ff7ea878fff7e0a5a2919796abae8a6b654c90c8..eda517b26396e7a3098c762b17c98f6d1b588502 100644 |
--- a/chrome/browser/resources/options/browser_options.js |
+++ b/chrome/browser/resources/options/browser_options.js |
@@ -79,6 +79,12 @@ cr.define('options', function() { |
Page.prototype.initializePage.call(this); |
var self = this; |
+ if (window.top != window) { |
+ // The options page is not in its own window. |
+ document.body.classList.add('uber-frame'); |
+ PageManager.horizontalOffset = 155; |
+ } |
+ |
// Ensure that navigation events are unblocked on uber page. A reload of |
// the settings page while an overlay is open would otherwise leave uber |
// page in a blocked state, where tab switching is not possible. |