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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/common/CSSShadowModel.js

Issue 2469113002: DevTools: clang format all the source + clang config landed. (Closed)
Patch Set: for landing Created 4 years, 1 month 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 /** 4 /**
5 * @unrestricted 5 * @unrestricted
6 */ 6 */
7 WebInspector.CSSShadowModel = class { 7 WebInspector.CSSShadowModel = class {
8 /** 8 /**
9 * @param {boolean} isBoxShadow 9 * @param {boolean} isBoxShadow
10 */ 10 */
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 } 314 }
315 }; 315 };
316 316
317 /** @type {!RegExp} */ 317 /** @type {!RegExp} */
318 WebInspector.CSSLength.Regex = (function() { 318 WebInspector.CSSLength.Regex = (function() {
319 var number = '([+-]?(?:[0-9]*[.])?[0-9]+(?:[eE][+-]?[0-9]+)?)'; 319 var number = '([+-]?(?:[0-9]*[.])?[0-9]+(?:[eE][+-]?[0-9]+)?)';
320 var unit = '(ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmax|vmin|vw)'; 320 var unit = '(ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmax|vmin|vw)';
321 var zero = '[+-]?(?:0*[.])?0+(?:[eE][+-]?[0-9]+)?'; 321 var zero = '[+-]?(?:0*[.])?0+(?:[eE][+-]?[0-9]+)?';
322 return new RegExp(number + unit + '|' + zero, 'gi'); 322 return new RegExp(number + unit + '|' + zero, 'gi');
323 })(); 323 })();
324
325
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698