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

Unified Diff: chrome/browser/resources/options2/browser_options.js

Issue 10006028: Plugins page in BWSI session has unnecessary and misleading UI components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit fix Created 8 years, 8 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 | « no previous file | chrome/browser/resources/options2/chromeos/accounts_options.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options2/browser_options.js
diff --git a/chrome/browser/resources/options2/browser_options.js b/chrome/browser/resources/options2/browser_options.js
index 4de9bc29c880ecf6c7916c58eea4421c3a3c9ea7..d4262ca5229d8c85c94bdab70bb382f013daa95b 100644
--- a/chrome/browser/resources/options2/browser_options.js
+++ b/chrome/browser/resources/options2/browser_options.js
@@ -75,7 +75,7 @@ cr.define('options', function() {
this.updateAdvancedSettingsExpander_.bind(this));
if (cr.isChromeOS)
- AccountsOptions.applyGuestModeVisibility(document);
+ UIAccountTweaks.applyGuestModeVisibility(document);
// Sync (Sign in) section.
this.updateSyncState_(templateData.syncData);
@@ -222,7 +222,7 @@ cr.define('options', function() {
};
if (cr.isChromeOS) {
- if (!AccountsOptions.loggedInAsGuest()) {
+ if (!UIAccountTweaks.loggedInAsGuest()) {
$('account-picture-wrapper').onclick = function(event) {
OptionsPage.navigateToPage('changePicture');
};
@@ -327,7 +327,7 @@ cr.define('options', function() {
chrome.send('coreOptionsUserMetricsAction',
['Options_ShowPasswordManager']);
};
- if (cr.isChromeOS && AccountsOptions.loggedInAsGuest()) {
+ if (cr.isChromeOS && UIAccountTweaks.loggedInAsGuest()) {
// Disable and turn off Autofill in guest mode.
var autofillEnabled = $('autofill-enabled');
autofillEnabled.disabled = true;
@@ -771,7 +771,7 @@ cr.define('options', function() {
*/
maybeShowSessionRestoreDialog_: function() {
// Don't show this dialog in Guest mode.
- if (cr.isChromeOS && AccountsOptions.loggedInAsGuest())
+ if (cr.isChromeOS && UIAccountTweaks.loggedInAsGuest())
return false;
// If some of the needed preferences haven't been read yet, the
// corresponding member variable will be undefined and we won't display
« no previous file with comments | « no previous file | chrome/browser/resources/options2/chromeos/accounts_options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698