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

Unified Diff: netlog_viewer/netlog_viewer/resizable_vertical_split_view.js

Issue 3011363002: Apply Chromium changes up to commit 0036296a1128ac9cbefeaff51c8df831ec421c36 (Closed)
Patch Set: address comments Created 3 years, 3 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
« no previous file with comments | « netlog_viewer/netlog_viewer/quic_view.js ('k') | netlog_viewer/netlog_viewer/sdch_view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: netlog_viewer/netlog_viewer/resizable_vertical_split_view.js
diff --git a/netlog_viewer/netlog_viewer/resizable_vertical_split_view.js b/netlog_viewer/netlog_viewer/resizable_vertical_split_view.js
index cb78bd813aa845e833ce2bbe65e47c104eb20bb9..49c69226f8ee2071fa397c2f121d6a8c314c6781 100644
--- a/netlog_viewer/netlog_viewer/resizable_vertical_split_view.js
+++ b/netlog_viewer/netlog_viewer/resizable_vertical_split_view.js
@@ -58,8 +58,8 @@ var ResizableVerticalSplitView = (function() {
node.addEventListener('touchstart', this.onTouchDragSizerStart_.bind(this));
window.addEventListener('touchmove', this.onTouchDragSizer_.bind(this));
window.addEventListener('touchend', this.onTouchDragSizerEnd_.bind(this));
- window.addEventListener('touchcancel',
- this.onTouchDragSizerEnd_.bind(this));
+ window.addEventListener(
+ 'touchcancel', this.onTouchDragSizerEnd_.bind(this));
}
ResizableVerticalSplitView.prototype = {
@@ -97,10 +97,10 @@ var ResizableVerticalSplitView = (function() {
// Position the boxes using calculated split points.
this.leftView_.setGeometry(left, top, leftboxWidth, height);
- this.sizerView_.setGeometry(this.leftView_.getRight(), top,
- sizerWidth, height);
- this.rightView_.setGeometry(this.sizerView_.getRight(), top,
- rightboxWidth, height);
+ this.sizerView_.setGeometry(
+ this.leftView_.getRight(), top, sizerWidth, height);
+ this.rightView_.setGeometry(
+ this.sizerView_.getRight(), top, rightboxWidth, height);
},
show: function(isVisible) {
@@ -182,8 +182,8 @@ var ResizableVerticalSplitView = (function() {
// Avoid shrinking the left box too much.
this.leftSplit_ = Math.max(this.leftSplit_, MIN_PANEL_WIDTH);
// Avoid shrinking the right box too much.
- this.leftSplit_ = Math.min(
- this.leftSplit_, this.getWidth() - MIN_PANEL_WIDTH);
+ this.leftSplit_ =
+ Math.min(this.leftSplit_, this.getWidth() - MIN_PANEL_WIDTH);
// Force a layout with the new |leftSplit_|.
this.setGeometry(
« no previous file with comments | « netlog_viewer/netlog_viewer/quic_view.js ('k') | netlog_viewer/netlog_viewer/sdch_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698