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

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

Issue 10835016: Rename media gallery -> media galleries in pref/UI components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
Index: chrome/browser/resources/options2/media_galleries_list.js
diff --git a/chrome/browser/resources/options2/media_gallery_list.js b/chrome/browser/resources/options2/media_galleries_list.js
similarity index 79%
rename from chrome/browser/resources/options2/media_gallery_list.js
rename to chrome/browser/resources/options2/media_galleries_list.js
index 5f85755417fd56cdbbcda9d0bc1cfa05fbdfd978..417084be8c71c25b78fa05b5e512db32fd27c37c 100644
--- a/chrome/browser/resources/options2/media_gallery_list.js
+++ b/chrome/browser/resources/options2/media_galleries_list.js
@@ -10,15 +10,15 @@ cr.define('options', function() {
* @constructor
* @extends {DeletableItem}
*/
- function MediaGalleryListItem(galleryInfo) {
+ function MediaGalleriesListItem(galleryInfo) {
var el = cr.doc.createElement('div');
el.galleryInfo_ = galleryInfo;
- el.__proto__ = MediaGalleryListItem.prototype;
+ el.__proto__ = MediaGalleriesListItem.prototype;
el.decorate();
return el;
}
- MediaGalleryListItem.prototype = {
+ MediaGalleriesListItem.prototype = {
__proto__: DeletableItem.prototype,
decorate: function() {
@@ -31,9 +31,9 @@ cr.define('options', function() {
},
};
- var MediaGalleryList = cr.ui.define('list');
+ var MediaGalleriesList = cr.ui.define('list');
- MediaGalleryList.prototype = {
+ MediaGalleriesList.prototype = {
__proto__: DeletableItemList.prototype,
/** @inheritDoc */
@@ -44,7 +44,7 @@ cr.define('options', function() {
/** @inheritDoc */
createItem: function(galleryInfo) {
- return new MediaGalleryListItem(galleryInfo);
+ return new MediaGalleriesListItem(galleryInfo);
},
/** @inheritDoc */
@@ -54,6 +54,6 @@ cr.define('options', function() {
};
return {
- MediaGalleryList: MediaGalleryList
+ MediaGalleriesList: MediaGalleriesList
};
});

Powered by Google App Engine
This is Rietveld 408576698