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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js

Issue 1899893003: [Devtools] JSONView implements Searchable interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 4 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
5 * Copyright (C) 2009 Joseph Pecoraro 5 * Copyright (C) 2009 Joseph Pecoraro
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 10 *
(...skipping 12 matching lines...) Expand all
23 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 23 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
24 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 24 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
25 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 25 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 26 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 WebInspector.highlightedSearchResultClassName = "highlighted-search-result"; 32 WebInspector.highlightedSearchResultClassName = "highlighted-search-result";
33 WebInspector.highlightedCurrentSearchResultClassName = "current-search-result";
33 34
34 /** 35 /**
35 * @param {!Element} element 36 * @param {!Element} element
36 * @param {?function(!MouseEvent): boolean} elementDragStart 37 * @param {?function(!MouseEvent): boolean} elementDragStart
37 * @param {function(!MouseEvent)} elementDrag 38 * @param {function(!MouseEvent)} elementDrag
38 * @param {?function(!MouseEvent)} elementDragEnd 39 * @param {?function(!MouseEvent)} elementDragEnd
39 * @param {string} cursor 40 * @param {string} cursor
40 * @param {?string=} hoverCursor 41 * @param {?string=} hoverCursor
41 * @param {number=} startDelay 42 * @param {number=} startDelay
42 */ 43 */
(...skipping 1787 matching lines...) Expand 10 before | Expand all | Expand 10 after
1830 [NetworkAgent.ResourcePriority.High, WebInspector.UIString("High")], 1831 [NetworkAgent.ResourcePriority.High, WebInspector.UIString("High")],
1831 [NetworkAgent.ResourcePriority.VeryHigh, WebInspector.UIString("High est")] 1832 [NetworkAgent.ResourcePriority.VeryHigh, WebInspector.UIString("High est")]
1832 ]); 1833 ]);
1833 WebInspector.uiLabelForPriority._priorityToUILabel = labelMap; 1834 WebInspector.uiLabelForPriority._priorityToUILabel = labelMap;
1834 } 1835 }
1835 return labelMap.get(priority) || WebInspector.UIString("Unknown"); 1836 return labelMap.get(priority) || WebInspector.UIString("Unknown");
1836 } 1837 }
1837 1838
1838 /** @type {!WebInspector.ThemeSupport} */ 1839 /** @type {!WebInspector.ThemeSupport} */
1839 WebInspector.themeSupport; 1840 WebInspector.themeSupport;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698