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

Unified Diff: tools/cc-frame-viewer/src/layer_impl_view.js

Issue 12287014: [cc-frame-viewer] Show layers and levels of detail (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/cc-frame-viewer/src/layer_impl_view.css ('k') | tools/cc-frame-viewer/src/layer_impl_view_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
});
« no previous file with comments | « tools/cc-frame-viewer/src/layer_impl_view.css ('k') | tools/cc-frame-viewer/src/layer_impl_view_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698