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

Side by Side Diff: appengine_apps/chromium_status/static/js/profiling/stats_view.js

Issue 778533003: Moved chromium_status to appengine/ (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 /**
6 * Factory function to create a View for seeing statistics about profiling
7 * events.
8 */
9 var CreateStatsView;
10
11 // -----------------------------------------------------------------------------
12 // Private implementation
13 // -----------------------------------------------------------------------------
14
15 (function() {
16
17 CreateStatsView = function(filters, entries) {
18 return new StatsView(filters, entries);
19 };
20
21 function StatsView(filters, entries) {
22 this.parent_ = document.getElementById("stats_container");
23 this.entries_ = entries;
24 this.filters_ = filters;
25 this.Draw();
26 }
27
28 StatsView.prototype.OnShow = function(visible) {
29 };
30
31 StatsView.prototype.Draw = function() {
32 this.parent_.innerHTML = "";
33 DomUtil.AddText(this.parent_, "TODO(maruel)");
34 };
35
36 })(); // Private implementation.
37
38 CreateStatsView.display_name = "Stats view";
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698