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

Side by Side Diff: Source/devtools/front_end/ui/Toolbar.js

Issue 1311693004: [DevTools] UI for blocked URLs. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: typo Created 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 { 743 {
744 WebInspector.ToolbarItem.call(this, createElementWithClass("div", "toolbar-d ivider")); 744 WebInspector.ToolbarItem.call(this, createElementWithClass("div", "toolbar-d ivider"));
745 } 745 }
746 746
747 WebInspector.ToolbarSeparator.prototype = { 747 WebInspector.ToolbarSeparator.prototype = {
748 __proto__: WebInspector.ToolbarItem.prototype 748 __proto__: WebInspector.ToolbarItem.prototype
749 } 749 }
750 750
751 /** 751 /**
752 * @constructor 752 * @constructor
753 * @extends {WebInspector.ToolbarItem}
754 */
755 WebInspector.ToolbarSpace = function()
756 {
757 WebInspector.ToolbarItem.call(this, createElementWithClass("div", "toolbar-s pace"));
758 }
759
760 WebInspector.ToolbarSpace.prototype = {
761 __proto__: WebInspector.ToolbarItem.prototype
762 }
763
764 /**
765 * @constructor
753 * @extends {WebInspector.ToolbarButtonBase} 766 * @extends {WebInspector.ToolbarButtonBase}
754 * @param {string} title 767 * @param {string} title
755 * @param {string} className 768 * @param {string} className
756 * @param {string} text 769 * @param {string} text
757 * @param {number=} states 770 * @param {number=} states
758 */ 771 */
759 WebInspector.ToolbarTextButton = function(title, className, text, states) 772 WebInspector.ToolbarTextButton = function(title, className, text, states)
760 { 773 {
761 WebInspector.ToolbarButtonBase.call(this, title, className, states); 774 WebInspector.ToolbarButtonBase.call(this, title, className, states);
762 775
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 for (var i = 0; i < items.length; ++i) { 1030 for (var i = 0; i < items.length; ++i) {
1018 var item = items[i]; 1031 var item = items[i];
1019 if (item) 1032 if (item)
1020 this.appendToolbarItem(item); 1033 this.appendToolbarItem(item);
1021 } 1034 }
1022 } 1035 }
1023 }, 1036 },
1024 1037
1025 __proto__: WebInspector.Toolbar.prototype 1038 __proto__: WebInspector.Toolbar.prototype
1026 } 1039 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698