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

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

Issue 2174863003: DevTools: traverse widget hierarchy to reveal views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 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
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 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 document.addEventListener("focus", WebInspector._focusChanged.bind(WebInspec tor), true); 1271 document.addEventListener("focus", WebInspector._focusChanged.bind(WebInspec tor), true);
1272 document.addEventListener("blur", WebInspector._documentBlurred.bind(WebInsp ector, document), true); 1272 document.addEventListener("blur", WebInspector._documentBlurred.bind(WebInsp ector, document), true);
1273 1273
1274 if (!WebInspector.themeSupport) 1274 if (!WebInspector.themeSupport)
1275 WebInspector.themeSupport = new WebInspector.ThemeSupport(themeSetting); 1275 WebInspector.themeSupport = new WebInspector.ThemeSupport(themeSetting);
1276 WebInspector.themeSupport.applyTheme(document); 1276 WebInspector.themeSupport.applyTheme(document);
1277 1277
1278 var body = /** @type {!Element} */ (document.body); 1278 var body = /** @type {!Element} */ (document.body);
1279 WebInspector.appendStyle(body, "ui/inspectorStyle.css"); 1279 WebInspector.appendStyle(body, "ui/inspectorStyle.css");
1280 WebInspector.appendStyle(body, "ui/popover.css"); 1280 WebInspector.appendStyle(body, "ui/popover.css");
1281 WebInspector.appendStyle(body, "ui/sidebarPane.css");
1282
1283 } 1281 }
1284 1282
1285 /** 1283 /**
1286 * @param {string} name 1284 * @param {string} name
1287 * @return {string} 1285 * @return {string}
1288 */ 1286 */
1289 WebInspector.beautifyFunctionName = function(name) 1287 WebInspector.beautifyFunctionName = function(name)
1290 { 1288 {
1291 return name || WebInspector.UIString("(anonymous function)"); 1289 return name || WebInspector.UIString("(anonymous function)");
1292 } 1290 }
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
1995 * @param {string} title 1993 * @param {string} title
1996 * @return {!Element} 1994 * @return {!Element}
1997 */ 1995 */
1998 WebInspector.linkifyDocumentationURLAsNode = function(article, title) 1996 WebInspector.linkifyDocumentationURLAsNode = function(article, title)
1999 { 1997 {
2000 return WebInspector.linkifyURLAsNode("https://developers.google.com/web/tool s/chrome-devtools/" + article, title, undefined, true); 1998 return WebInspector.linkifyURLAsNode("https://developers.google.com/web/tool s/chrome-devtools/" + article, title, undefined, true);
2001 } 1999 }
2002 2000
2003 /** @type {!WebInspector.ThemeSupport} */ 2001 /** @type {!WebInspector.ThemeSupport} */
2004 WebInspector.themeSupport; 2002 WebInspector.themeSupport;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698