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

Side by Side Diff: chrome/browser/resources/options/content_settings_exceptions_area.js

Issue 12560002: Change var blah_blah -> blahBlah. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 cr.define('options.contentSettings', function() { 5 cr.define('options.contentSettings', function() {
6 /** @const */ var ControlledSettingIndicator = 6 /** @const */ var ControlledSettingIndicator =
7 options.ControlledSettingIndicator; 7 options.ControlledSettingIndicator;
8 /** @const */ var InlineEditableItemList = options.InlineEditableItemList; 8 /** @const */ var InlineEditableItemList = options.InlineEditableItemList;
9 /** @const */ var InlineEditableItem = options.InlineEditableItem; 9 /** @const */ var InlineEditableItem = options.InlineEditableItem;
10 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel; 10 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel;
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 header.textContent = loadTimeData.getString(type + '_header'); 615 header.textContent = loadTimeData.getString(type + '_header');
616 616
617 var divs = this.pageDiv.querySelectorAll('div[contentType]'); 617 var divs = this.pageDiv.querySelectorAll('div[contentType]');
618 for (var i = 0; i < divs.length; i++) { 618 for (var i = 0; i < divs.length; i++) {
619 if (divs[i].getAttribute('contentType') == type) 619 if (divs[i].getAttribute('contentType') == type)
620 divs[i].hidden = false; 620 divs[i].hidden = false;
621 else 621 else
622 divs[i].hidden = true; 622 divs[i].hidden = true;
623 } 623 }
624 624
625 var media_header = this.pageDiv.querySelector('.media-header'); 625 var mediaHeader = this.pageDiv.querySelector('.media-header');
626 media_header.hidden = type != 'media-stream'; 626 mediaHeader.hidden = type != 'media-stream';
627 }, 627 },
628 628
629 /** 629 /**
630 * Called after the page has been shown. Show the content type for the 630 * Called after the page has been shown. Show the content type for the
631 * location's hash. 631 * location's hash.
632 */ 632 */
633 didShowPage: function() { 633 didShowPage: function() {
634 var hash = location.hash; 634 var hash = location.hash;
635 if (hash) 635 if (hash)
636 this.showList(hash.slice(1)); 636 this.showList(hash.slice(1));
(...skipping 21 matching lines...) Expand all
658 } 658 }
659 }; 659 };
660 660
661 return { 661 return {
662 ExceptionsListItem: ExceptionsListItem, 662 ExceptionsListItem: ExceptionsListItem,
663 ExceptionsAddRowListItem: ExceptionsAddRowListItem, 663 ExceptionsAddRowListItem: ExceptionsAddRowListItem,
664 ExceptionsList: ExceptionsList, 664 ExceptionsList: ExceptionsList,
665 ContentSettingsExceptionsArea: ContentSettingsExceptionsArea, 665 ContentSettingsExceptionsArea: ContentSettingsExceptionsArea,
666 }; 666 };
667 }); 667 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698