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

Side by Side Diff: web/inc/logdog-stream-view/logdog-stream-view.html

Issue 2991253003: [logdog] Replace list view with query view. (Closed)
Patch Set: handle enter for submit Created 3 years, 4 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
« no previous file with comments | « web/inc/logdog-query-view/view.ts ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 Copyright 2016 The LUCI Authors. All rights reserved. 2 Copyright 2016 The LUCI Authors. All rights reserved.
3 Use of this source code is governed under the Apache License, Version 2.0 3 Use of this source code is governed under the Apache License, Version 2.0
4 that can be found in the LICENSE file. 4 that can be found in the LICENSE file.
5 --> 5 -->
6 6
7 <link rel="import" href="../bower_components/polymer/polymer.html"> 7 <link rel="import" href="../bower_components/polymer/polymer.html">
8 <link rel="import" href="../bower_components/google-signin/google-signin-aware.h tml"> 8 <link rel="import" href="../bower_components/google-signin/google-signin-aware.h tml">
9 <link rel="import" href="../bower_components/iron-icons/iron-icons.html"> 9 <link rel="import" href="../bower_components/iron-icons/iron-icons.html">
10 <link rel="import" href="../bower_components/iron-icons/av-icons.html"> 10 <link rel="import" href="../bower_components/iron-icons/av-icons.html">
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 detached: function() { 487 detached: function() {
488 this._view.detach(); 488 this._view.detach();
489 this.$.logContent.removeEventListener('wheel', 489 this.$.logContent.removeEventListener('wheel',
490 this._handleMouseWheel.bind(this)); 490 this._handleMouseWheel.bind(this));
491 }, 491 },
492 492
493 stop: function() { 493 stop: function() {
494 this._view.stop(); 494 this._view.stop();
495 }, 495 },
496 496
497 reset: function() {
498 this._view.reset();
499 },
500
497 _polymerAppendChild: function(e) { 501 _polymerAppendChild: function(e) {
498 Polymer.dom(this.root).appendChild(e); 502 Polymer.dom(this.root).appendChild(e);
499 }, 503 },
500 504
501 _handleMouseWheel: function(e) { 505 _handleMouseWheel: function(e) {
502 this._view.handleMouseWheel(e.deltaY >= 0); 506 this._view.handleMouseWheel(e.deltaY >= 0);
503 }, 507 },
504 508
505 _handleDownClick: function(e) { 509 _handleDownClick: function(e) {
506 this._view.handleDownClick(); 510 this._view.handleDownClick();
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 _updateSplitVisible: function(v) { 572 _updateSplitVisible: function(v) {
569 this.toggleClass("logFetchButtonVisible", v, this.$.logSplit); 573 this.toggleClass("logFetchButtonVisible", v, this.$.logSplit);
570 this.toggleClass("logFetchButtonVisible", v, this.$.logBottom); 574 this.toggleClass("logFetchButtonVisible", v, this.$.logBottom);
571 }, 575 },
572 576
573 _onSignin: function() { 577 _onSignin: function() {
574 this._view.handleSignin(); 578 this._view.handleSignin();
575 }, 579 },
576 }); 580 });
577 </script> 581 </script>
OLDNEW
« no previous file with comments | « web/inc/logdog-query-view/view.ts ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698