Index: tools/cc-frame-viewer/src/layer_impl_view.js |
diff --git a/tools/cc-frame-viewer/src/tile_view.js b/tools/cc-frame-viewer/src/layer_impl_view.js |
similarity index 63% |
copy from tools/cc-frame-viewer/src/tile_view.js |
copy to tools/cc-frame-viewer/src/layer_impl_view.js |
index 2dd4b68ed92575dd2454b6bd42be086bbd7728b4..4fd7a4ad2721838c1b638271db7b178f5690c77c 100644 |
--- a/tools/cc-frame-viewer/src/tile_view.js |
+++ b/tools/cc-frame-viewer/src/layer_impl_view.js |
@@ -5,28 +5,28 @@ |
'use strict'; |
base.require('ui'); |
-base.requireStylesheet('tile_view'); |
+base.requireStylesheet('layer_impl_view'); |
base.exportTo('ccfv', function() { |
- var TileView = ui.define('x-tile-view'); |
- TileView.prototype = { |
+ var LayerImplView = ui.define('x-layer-impl-view'); |
+ LayerImplView.prototype = { |
__proto__: HTMLUnknownElement.prototype, |
decorate: function() { |
- this.tile_ = undefined; |
+ this.layerImpl_ = undefined; |
}, |
- set tile(tile) { |
- this.tile_ = tile; |
+ set layerImpl(layerImpl) { |
+ this.layerImpl_ = layerImpl; |
this.updateChildren_(); |
}, |
updateChildren_: function() { |
this.textContent = ''; |
- if (!this.tile_) |
+ if (!this.layerImpl_) |
return; |
var simpleObj = {}; |
- this.tile_.dumpToSimpleObject(simpleObj); |
+ this.layerImpl_.dumpToSimpleObject(simpleObj); |
this.textContent = JSON.stringify( |
simpleObj, |
null, |
@@ -35,7 +35,7 @@ base.exportTo('ccfv', function() { |
}; |
return { |
- TileView: TileView |
+ LayerImplView: LayerImplView |
} |
}); |