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

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

Issue 352983004: DevTools: add more jsdocs to NetworkPanel. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 5 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
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineView.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 this.element.style.width = newElementPosition.width + borderWidth * 2 + "px"; 225 this.element.style.width = newElementPosition.width + borderWidth * 2 + "px";
226 this.element.style.height = newElementPosition.height + borderWidth * 2 + "px"; 226 this.element.style.height = newElementPosition.height + borderWidth * 2 + "px";
227 }, 227 },
228 228
229 __proto__: WebInspector.View.prototype 229 __proto__: WebInspector.View.prototype
230 } 230 }
231 231
232 /** 232 /**
233 * @constructor 233 * @constructor
234 * @param {!Element} panelElement 234 * @param {!Element} panelElement
235 * @param {function(!Element, !Event):(!Element|!AnchorBox)|undefined} getAnchor 235 * @param {function(!Element, !Event):(!Element|!AnchorBox|undefined)} getAnchor
236 * @param {function(!Element, !WebInspector.Popover):undefined} showPopover 236 * @param {function(!Element, !WebInspector.Popover):undefined} showPopover
237 * @param {function()=} onHide 237 * @param {function()=} onHide
238 * @param {boolean=} disableOnClick 238 * @param {boolean=} disableOnClick
239 */ 239 */
240 WebInspector.PopoverHelper = function(panelElement, getAnchor, showPopover, onHi de, disableOnClick) 240 WebInspector.PopoverHelper = function(panelElement, getAnchor, showPopover, onHi de, disableOnClick)
241 { 241 {
242 this._panelElement = panelElement; 242 this._panelElement = panelElement;
243 this._getAnchor = getAnchor; 243 this._getAnchor = getAnchor;
244 this._showPopover = showPopover; 244 this._showPopover = showPopover;
245 this._onHide = onHide; 245 this._onHide = onHide;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 this._resetHoverTimer(); 389 this._resetHoverTimer();
390 } 390 }
391 } 391 }
392 } 392 }
393 393
394 /** @enum {string} */ 394 /** @enum {string} */
395 WebInspector.Popover.Orientation = { 395 WebInspector.Popover.Orientation = {
396 Top: "top", 396 Top: "top",
397 Bottom: "bottom" 397 Bottom: "bottom"
398 } 398 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineView.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698