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

Side by Side Diff: Source/devtools/front_end/resources/ResourcesPanel.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) 2007, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Joseph Pecoraro 3 * Copyright (C) 2009 Joseph Pecoraro
4 * Copyright (C) 2013 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2013 Samsung Electronics. 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 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 contextMenu.appendApplicableItems(this._resource); 1206 contextMenu.appendApplicableItems(this._resource);
1207 contextMenu.show(); 1207 contextMenu.show();
1208 }, 1208 },
1209 1209
1210 /** 1210 /**
1211 * @param {string} x 1211 * @param {string} x
1212 */ 1212 */
1213 _setBubbleText: function(x) 1213 _setBubbleText: function(x)
1214 { 1214 {
1215 if (!this._bubbleElement) 1215 if (!this._bubbleElement)
1216 this._bubbleElement = this._statusElement.createChild("div", "bubble "); 1216 this._bubbleElement = this._statusElement.createChild("div", "consol e-message-repeat-count");
1217 this._bubbleElement.textContent = x; 1217 this._bubbleElement.textContent = x;
1218 }, 1218 },
1219 1219
1220 _resetBubble: function() 1220 _resetBubble: function()
1221 { 1221 {
1222 if (this._bubbleElement) { 1222 if (this._bubbleElement) {
1223 this._bubbleElement.textContent = ""; 1223 this._bubbleElement.textContent = "";
1224 this._bubbleElement.classList.remove("warning"); 1224 this._bubbleElement.classList.remove("warning");
1225 this._bubbleElement.classList.remove("error"); 1225 this._bubbleElement.classList.remove("error");
1226 } 1226 }
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
2104 } 2104 }
2105 2105
2106 WebInspector.StorageCategoryView.prototype = { 2106 WebInspector.StorageCategoryView.prototype = {
2107 setText: function(text) 2107 setText: function(text)
2108 { 2108 {
2109 this._emptyView.text = text; 2109 this._emptyView.text = text;
2110 }, 2110 },
2111 2111
2112 __proto__: WebInspector.VBox.prototype 2112 __proto__: WebInspector.VBox.prototype
2113 } 2113 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698