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

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

Issue 15736032: Remove old cc-frame-viewer now that it is upstreamed into trace_viewer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: tools/cc-frame-viewer/src/layer_tree_impl_view.js
diff --git a/tools/cc-frame-viewer/src/layer_tree_impl_view.js b/tools/cc-frame-viewer/src/layer_tree_impl_view.js
deleted file mode 100644
index 1b625aaf1e7fda5651b617a869dd2068bfd3e024..0000000000000000000000000000000000000000
--- a/tools/cc-frame-viewer/src/layer_tree_impl_view.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-'use strict';
-
-base.require('ui');
-base.require('ui.list_and_associated_view');
-base.require('layer_impl_view');
-base.requireStylesheet('layer_tree_impl_view');
-base.exportTo('ccfv', function() {
- var LayerTreeImplView = ui.define('x-layer-tree-impl-view');
- LayerTreeImplView.prototype = {
- __proto__: HTMLUnknownElement.prototype,
-
- decorate: function() {
- this.layer_tree_impl_ = undefined;
- this.layerListEl_ = new ui.ListAndAssociatedView();
- this.layerListEl_.view = new ccfv.LayerImplView();
- this.layerListEl_.viewProperty = 'layerImpl';
- this.layerListEl_.listProperty = 'title';
-
- this.headerEl_ = ui.createSpan('')
- this.appendChild(this.headerEl_);
- this.appendChild(this.layerListEl_);
- },
-
- set header(text) {
- this.headerEl_.textContent = text;
- },
-
- set layerTreeImpl(layerTreeImpl) {
- this.layerTreeImpl_ = layerTreeImpl;
- this.updateChildren_();
- },
-
- updateChildren_: function() {
- this.layerListEl_.list = this.layerTreeImpl_.allLayers;
- }
- };
-
- return {
- LayerTreeImplView: LayerTreeImplView,
- }
-});
-
« no previous file with comments | « tools/cc-frame-viewer/src/layer_tree_impl_view.css ('k') | tools/cc-frame-viewer/src/layer_tree_impl_view_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698