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

Side by Side Diff: Source/WebCore/inspector/front-end/Object.js

Issue 9968120: Merge 112992 - Web Inspector: "Pause on start" doesn't change checked state in workers panel (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 stopPropagation: function() 126 stopPropagation: function()
127 { 127 {
128 this._stoppedPropagation = true; 128 this._stoppedPropagation = true;
129 }, 129 },
130 130
131 preventDefault: function() 131 preventDefault: function()
132 { 132 {
133 this.defaultPrevented = true; 133 this.defaultPrevented = true;
134 }, 134 },
135 135
136 consume: function() 136 /**
137 * @param {boolean=} preventDefault
138 */
139 consume: function(preventDefault)
137 { 140 {
138 this.stopPropagation(); 141 this.stopPropagation();
139 this.preventDefault(); 142 if (preventDefault)
143 this.preventDefault();
140 } 144 }
141 } 145 }
142 146
143 WebInspector.notifications = new WebInspector.Object(); 147 WebInspector.notifications = new WebInspector.Object();
OLDNEW
« no previous file with comments | « Source/WebCore/inspector/front-end/Drawer.js ('k') | Source/WebCore/inspector/front-end/ObjectPropertiesSection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698