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

Side by Side Diff: appengine/chromium_status/static/js/profiling/viewer_app.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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * The ProfilingApp encapsulates the application's global state, 6 * The ProfilingApp encapsulates the application's global state,
7 * and controls its subviews. 7 * and controls its subviews.
8 * 8 *
9 * @constructor 9 * @constructor
10 */ 10 */
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 * @param {boolean} visible 239 * @param {boolean} visible
240 */ 240 */
241 ProfilingApp.prototype.ShowView = function(viewName, visible) { 241 ProfilingApp.prototype.ShowView = function(viewName, visible) {
242 var element = document.getElementById(viewName + "_container"); 242 var element = document.getElementById(viewName + "_container");
243 if (!element) { 243 if (!element) {
244 throw "Couldn't find " + viewName; 244 throw "Couldn't find " + viewName;
245 } 245 }
246 DomUtil.DisplayNode(element, visible); 246 DomUtil.DisplayNode(element, visible);
247 this.liveViews_[viewName].OnShow(visible); 247 this.liveViews_[viewName].OnShow(visible);
248 }; 248 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698