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

Side by Side Diff: Source/devtools/front_end/network/NetworkLogView.js

Issue 1205403003: [DevTools] Get rid of timeling grid labels overlapping with sort option. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org>
4 * Copyright (C) 2011 Google Inc. All rights reserved. 4 * Copyright (C) 2011 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 return; 710 return;
711 } 711 }
712 712
713 var timelineOffset = this._dataGrid.columnOffset("timeline"); 713 var timelineOffset = this._dataGrid.columnOffset("timeline");
714 // Position timline grid location. 714 // Position timline grid location.
715 if (timelineOffset) 715 if (timelineOffset)
716 this._timelineGrid.element.style.left = timelineOffset + "px"; 716 this._timelineGrid.element.style.left = timelineOffset + "px";
717 717
718 var calculator = this.calculator(); 718 var calculator = this.calculator();
719 calculator.setDisplayWindow(this._timelineGrid.dividersElement.clientWid th); 719 calculator.setDisplayWindow(this._timelineGrid.dividersElement.clientWid th);
720 this._timelineGrid.updateDividers(calculator, 50); 720 this._timelineGrid.updateDividers(calculator, 75);
721 721
722 if (calculator.startAtZero) { 722 if (calculator.startAtZero) {
723 // If our current sorting method starts at zero, that means it shows all 723 // If our current sorting method starts at zero, that means it shows all
724 // requests starting at the same point, and so onLoad event and DOMC ontent 724 // requests starting at the same point, and so onLoad event and DOMC ontent
725 // event lines really wouldn't make much sense here, so don't render them. 725 // event lines really wouldn't make much sense here, so don't render them.
726 return; 726 return;
727 } 727 }
728 728
729 this._updateEventDividers(); 729 this._updateEventDividers();
730 }, 730 },
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
2022 return false; 2022 return false;
2023 return true; 2023 return true;
2024 } 2024 }
2025 2025
2026 WebInspector.NetworkLogView.EventTypes = { 2026 WebInspector.NetworkLogView.EventTypes = {
2027 RequestSelected: "RequestSelected", 2027 RequestSelected: "RequestSelected",
2028 SearchCountUpdated: "SearchCountUpdated", 2028 SearchCountUpdated: "SearchCountUpdated",
2029 SearchIndexUpdated: "SearchIndexUpdated", 2029 SearchIndexUpdated: "SearchIndexUpdated",
2030 UpdateRequest: "UpdateRequest" 2030 UpdateRequest: "UpdateRequest"
2031 }; 2031 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698