• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Views/

Lines Matching defs:Popover

26 WebInspector.Popover = function(delegate) {
40 this._element.className = WebInspector.Popover.StyleClassName;
41 this._canvasId = "popover-" + (WebInspector.Popover.canvasId++);
49 WebInspector.Popover.StyleClassName = "popover";
50 WebInspector.Popover.FadeOutClassName = "fade-out";
51 WebInspector.Popover.canvasId = 0;
52 WebInspector.Popover.CornerRadius = 5;
53 WebInspector.Popover.MinWidth = 40;
54 WebInspector.Popover.MinHeight = 40;
55 WebInspector.Popover.ShadowPadding = 5;
56 WebInspector.Popover.ContentPadding = 5;
57 WebInspector.Popover.AnchorSize = new WebInspector.Size(22, 11);
58 WebInspector.Popover.ShadowEdgeInsets = new WebInspector.EdgeInsets(WebInspector.Popover.ShadowPadding);
60 WebInspector.Popover.prototype = {
61 constructor: WebInspector.Popover,
77 return this._element.parentNode === document.body && !this._element.classList.contains(WebInspector.Popover.FadeOutClassName);
139 this._element.classList.add(WebInspector.Popover.FadeOutClassName);
156 this._element.classList.remove(WebInspector.Popover.FadeOutClassName);
180 this._element.classList.remove(WebInspector.Popover.FadeOutClassName);
202 containerFrame = containerFrame.inset(WebInspector.Popover.ShadowEdgeInsets);
246 anchorPoint = new WebInspector.Point(bestFrame.size.width - WebInspector.Popover.ShadowPadding, targetFrame.midY() - bestFrame.minY());
249 anchorPoint = new WebInspector.Point(WebInspector.Popover.ShadowPadding, targetFrame.midY() - bestFrame.minY());
252 anchorPoint = new WebInspector.Point(targetFrame.midX() - bestFrame.minX(), bestFrame.size.height - WebInspector.Popover.ShadowPadding);
255 anchorPoint = new WebInspector.Point(targetFrame.midX() - bestFrame.minX(), WebInspector.Popover.ShadowPadding);
270 if (this._preferredSize.width < WebInspector.Popover.MinWidth || this._preferredSize.height < WebInspector.Popover.MinHeight)
373 var arrowHeight = WebInspector.Popover.AnchorSize.height;
389 bounds = bounds.inset(WebInspector.Popover.ShadowEdgeInsets);
425 var width = preferredSize.width + (WebInspector.Popover.ShadowPadding * 2) + (WebInspector.Popover.ContentPadding * 2);
426 var height = preferredSize.height + (WebInspector.Popover.ShadowPadding * 2) + (WebInspector.Popover.ContentPadding * 2);
427 var arrowLength = WebInspector.Popover.AnchorSize.height;
432 x = targetFrame.origin.x - width + WebInspector.Popover.ShadowPadding;
437 x = targetFrame.origin.x + targetFrame.size.width - WebInspector.Popover.ShadowPadding;
443 y = targetFrame.origin.y - height + WebInspector.Popover.ShadowPadding;
448 y = targetFrame.origin.y + targetFrame.size.height - WebInspector.Popover.ShadowPadding;
467 width = bestFrame.size.width - (WebInspector.Popover.ShadowPadding * 2);
468 height = bestFrame.size.height - (WebInspector.Popover.ShadowPadding * 2);
489 var r = WebInspector.Popover.CornerRadius;
490 var arrowHalfLength = WebInspector.Popover.AnchorSize.width / 2;
541 WebInspector.Popover.prototype.__proto__ = WebInspector.Object.prototype;