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

Side by Side Diff: Source/devtools/front_end/console/ConsoleViewMessage.js

Issue 428563002: DevTools: separate style for error message bubble. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
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 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after
1103 this._showRepeatCountElement(); 1103 this._showRepeatCountElement();
1104 }, 1104 },
1105 1105
1106 _showRepeatCountElement: function() 1106 _showRepeatCountElement: function()
1107 { 1107 {
1108 if (!this._element) 1108 if (!this._element)
1109 return; 1109 return;
1110 1110
1111 if (!this._repeatCountElement) { 1111 if (!this._repeatCountElement) {
1112 this._repeatCountElement = document.createElement("span"); 1112 this._repeatCountElement = document.createElement("span");
1113 this._repeatCountElement.className = "bubble"; 1113 this._repeatCountElement.className = "console-message-repeat-count";
1114 1114
1115 this._element.insertBefore(this._repeatCountElement, this._element.f irstChild); 1115 this._element.insertBefore(this._repeatCountElement, this._element.f irstChild);
1116 this._element.classList.add("repeated-message"); 1116 this._element.classList.add("repeated-message");
1117 } 1117 }
1118 this._repeatCountElement.textContent = this._repeatCount; 1118 this._repeatCountElement.textContent = this._repeatCount;
1119 }, 1119 },
1120 1120
1121 /** 1121 /**
1122 * @return {string} 1122 * @return {string}
1123 */ 1123 */
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1258 { 1258 {
1259 if (!this._wrapperElement) { 1259 if (!this._wrapperElement) {
1260 WebInspector.ConsoleViewMessage.prototype.toMessageElement.call(this ); 1260 WebInspector.ConsoleViewMessage.prototype.toMessageElement.call(this );
1261 this._wrapperElement.classList.toggle("collapsed", this._collapsed); 1261 this._wrapperElement.classList.toggle("collapsed", this._collapsed);
1262 } 1262 }
1263 return this._wrapperElement; 1263 return this._wrapperElement;
1264 }, 1264 },
1265 1265
1266 __proto__: WebInspector.ConsoleViewMessage.prototype 1266 __proto__: WebInspector.ConsoleViewMessage.prototype
1267 } 1267 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/inspectorStyle.css » ('j') | Source/devtools/front_end/inspectorStyle.css » ('J')

Powered by Google App Engine
This is Rietveld 408576698