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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/guest_mode_options_browsertest.js

Issue 2630583002: Add setting to isolate zoom changes by default. (Closed)
Patch Set: Use code review comments for questions instead of TODOs. Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 GEN_INCLUDE(['../options_browsertest_base.js']); 5 GEN_INCLUDE(['../options_browsertest_base.js']);
6 GEN('#include "chrome/browser/ui/webui/options/chromeos/' + 6 GEN('#include "chrome/browser/ui/webui/options/chromeos/' +
7 'guest_mode_options_browsertest.h"'); 7 'guest_mode_options_browsertest.h"');
8 8
9 /** 9 /**
10 * TestFixture for guest mode options WebUI testing. 10 * TestFixture for guest mode options WebUI testing.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 expectTrue($('timezone-value-select').disabled); 63 expectTrue($('timezone-value-select').disabled);
64 expectFalse($('resolve-timezone-by-geolocation').disabled); 64 expectFalse($('resolve-timezone-by-geolocation').disabled);
65 expectFalse($('use-24hour-clock').disabled); 65 expectFalse($('use-24hour-clock').disabled);
66 66
67 // Privacy section. 67 // Privacy section.
68 expectTrue(this.getControlForPref('search.suggest_enabled').disabled); 68 expectTrue(this.getControlForPref('search.suggest_enabled').disabled);
69 expectTrue($('networkPredictionOptions').disabled); 69 expectTrue($('networkPredictionOptions').disabled);
70 70
71 // Web content section. 71 // Web content section.
72 expectTrue($('defaultZoomFactor').disabled); 72 expectTrue($('defaultZoomFactor').disabled);
73 expectTrue($('defaultZoomScope').disabled);
73 74
74 // Downloads section. 75 // Downloads section.
75 expectTrue(this.getControlForPref('gdata.disabled').disabled); 76 expectTrue(this.getControlForPref('gdata.disabled').disabled);
76 77
77 // Content settings overlay. 78 // Content settings overlay.
78 expectTrue(this.getControlForPref('settings.privacy.drm_enabled').disabled); 79 expectTrue(this.getControlForPref('settings.privacy.drm_enabled').disabled);
79 expectTrue($('protected-content-exceptions').disabled); 80 expectTrue($('protected-content-exceptions').disabled);
80 }); 81 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698