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

Side by Side Diff: tracing/tracing/ui/timeline_view.html

Issue 2390373003: Change all == to === and != to !== in trace viewer. (Closed)
Patch Set: Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2013 The Chromium Authors. All rights reserved. 3 Copyright (c) 2013 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <link rel="import" href="/tracing/base/settings.html"> 8 <link rel="import" href="/tracing/base/settings.html">
9 <link rel="import" href="/tracing/base/utils.html"> 9 <link rel="import" href="/tracing/base/utils.html">
10 <link rel="import" href="/tracing/core/scripting_controller.html"> 10 <link rel="import" href="/tracing/core/scripting_controller.html">
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 Polymer.dom(this.titleEl_).textContent = text; 363 Polymer.dom(this.titleEl_).textContent = text;
364 }, 364 },
365 365
366 get model() { 366 get model() {
367 if (this.trackView_) 367 if (this.trackView_)
368 return this.trackView_.model; 368 return this.trackView_.model;
369 return undefined; 369 return undefined;
370 }, 370 },
371 371
372 set model(model) { 372 set model(model) {
373 var modelInstanceChanged = model != this.model; 373 var modelInstanceChanged = model !== this.model;
374 var modelValid = model && !model.bounds.isEmpty; 374 var modelValid = model && !model.bounds.isEmpty;
375 375
376 var importWarningsEl = Polymer.dom(this.root).querySelector( 376 var importWarningsEl = Polymer.dom(this.root).querySelector(
377 '#import-warnings'); 377 '#import-warnings');
378 Polymer.dom(importWarningsEl).textContent = ''; 378 Polymer.dom(importWarningsEl).textContent = '';
379 379
380 // Remove old trackView if the model has completely changed. 380 // Remove old trackView if the model has completely changed.
381 if (modelInstanceChanged) { 381 if (modelInstanceChanged) {
382 if (this.railScoreSpan_) 382 if (this.railScoreSpan_)
383 this.railScoreSpan_.model = undefined; 383 this.railScoreSpan_.model = undefined;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 toggleHighlightVSync_: function() { 532 toggleHighlightVSync_: function() {
533 this.highlightVSyncCheckbox_.checked = 533 this.highlightVSyncCheckbox_.checked =
534 !this.highlightVSyncCheckbox_.checked; 534 !this.highlightVSyncCheckbox_.checked;
535 }, 535 },
536 536
537 setFindCtlText: function(string) { 537 setFindCtlText: function(string) {
538 this.findCtl_.setText(string); 538 this.findCtl_.setText(string);
539 } 539 }
540 }); 540 });
541 </script> 541 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698