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

Unified Diff: trunk/src/tools/telemetry/telemetry/web_components/results_viewer.js

Issue 182333004: Revert 253521 "Introduce telemetry.web_components and a simple c..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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
Index: trunk/src/tools/telemetry/telemetry/web_components/results_viewer.js
===================================================================
--- trunk/src/tools/telemetry/telemetry/web_components/results_viewer.js (revision 253610)
+++ trunk/src/tools/telemetry/telemetry/web_components/results_viewer.js (working copy)
@@ -1,39 +0,0 @@
-// Copyright 2014 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';
-
-tvcm.require('tvcm.ui');
-
-tvcm.exportTo('telemetry.web_components', function() {
- /**
- * @constructor
- */
- var ResultsViewer = tvcm.ui.define('x-results-viewer');
-
- ResultsViewer.prototype = {
- __proto__: HTMLUnknownElement.prototype,
-
- decorate: function() {
- this.dataToView_ = undefined;
- },
-
- get dataToView() {
- return dataToView_;
- },
-
- set dataToView(dataToView) {
- this.dataToView_ = dataToView;
- this.updateContents_();
- },
-
- updateContents_: function() {
- this.textContent = JSON.stringify(this.dataToView_);
- }
- };
-
- return {
- ResultsViewer: ResultsViewer
- };
-});

Powered by Google App Engine
This is Rietveld 408576698