[webkit-dev] globals and guidelines

Cary Clark caryclark at google.com
Tue Dec 9 12:46:52 PST 2008


Global variables aren't discussed here:

  http://webkit.org/coding/coding-style.html

In sources, I see:
gX.. WebCore/rendering/RenderLayer.h:138:    static const
ScrollAlignment gAlignCenterIfNeeded;
s_x.. WebCore/rendering/RenderObject.h:964:    static bool s_affectsParentBlock;
AxBx.. WebCore/dom/RangeException.h:41:        static const int
RangeExceptionOffset = 200;

Is there one convention for const, and one for non-const? Or none at all?
Thanks
Cary


More information about the webkit-dev mailing list