 
 /* Code for drawing the urlbar curve */
 private class CurveView: UIView {
+    private lazy var leftCurvePath: UIBezierPath = {
+        var leftArc = UIBezierPath(arcCenter: CGPoint(x: 5, y: 5), radius: CGFloat(5), startAngle: CGFloat(-M_PI), endAngle: CGFloat(-M_PI_2), clockwise: true)
+        leftArc.addLineToPoint(CGPoint(x: 0, y: 0))
+        leftArc.addLineToPoint(CGPoint(x: 0, y: 5))
+        leftArc.closePath()
+        return leftArc
+    }()
+
     override init(frame: CGRect) {
         super.init(frame: frame)
         commonInit()


        tabsButton.titleLabel?.snp_makeConstraints { make in
            make.size.equalTo(URLBarViewUX.TabsButtonHeight)
        }
    }


    // Used to temporarily store the cloned button so we can respond to layout changes during animation
    private weak var clonedTabsButton: InsetButton?

    private var rightBarConstraint: Constraint?
    private let defaultRightOffset: CGFloat = URLBarViewUX.URLBarCurveOffset - URLBarViewUX.URLBarCurveBounceBuffer

    var isEditing: Bool {
        return locationView.active
    }
