Lines Matching refs:visible

78     // Find the currently visible root-level page.
82 if (page.visible && !page.parentPage) {
124 page.visible = name == pageName ||
149 * according to which subpage is topmost and visible.
197 * @param {OptionPage} rootPage The currently visible root-level page.
208 overlay.visible = true;
214 * Returns whether or not an overlay is visible.
215 * @return {boolean} True if an overlay is visible.
223 * @return {boolean} True if the visible overlay should be closed.
232 * Returns the currently visible overlay, or null if no page is visible.
233 * @return {OptionPage} The visible overlay.
238 if (page.visible)
245 * Closes the visible overlay. Updates the history state after closing the
253 overlay.visible = false;
259 * Hides the visible overlay. Does not affect the history state.
265 overlay.visible = false;
269 * Returns the topmost visible page (overlays excluded).
270 * @return {OptionPage} The topmost visible page aside any overlay.
277 if (page.visible &&
286 * Returns the topmost visible page, or null if no page is visible.
287 * @return {OptionPage} The topmost visible page.
290 // Check overlays first since they're top-most if visible.
301 topPage.visible = false;
313 topPage.visible = false;
504 * Freezes/unfreezes the scroll position of visible pages based on the current
599 // If an overlay is visible, that defines the tab loop.
602 // If a subpage is visible, use its parent as the tab loop constraint.
795 setManagedBannerVisibility: function(visible) {
796 this.managed = visible;
797 if (this.visible) {
805 * it triggers the managed banner to be visible. The banner can be enforced
835 get visible() {
844 set visible(visible) {
845 if ((this.visible && visible) || (!this.visible && !visible))
848 this.setContainerVisibility_(visible);
849 if (visible) {
866 if (visible) {
874 // (e.g., if an ancestor is made visible after a child).
877 cr.dispatchPropertyChange(this, 'visible', visible, !visible);
882 * @param {boolean} visible Whether the container should be visible or not.
885 setContainerVisibility_: function(visible) {
896 if (!container || container.hidden != visible)
899 if (visible) {