static WTF::RefCountedLeakCounter& cachedFrameCounter() { DEFINE_STATIC_LOCAL(WTF::RefCountedLeakCounter, counter, ("CachedFrame")); return counter; }
const Cursor& rowResizeCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::RowResize)); return c; }
const Cursor& northWestPanningCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::NorthWestPanning)); return c; }
const Cursor& southWestResizeCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::SouthWestResize)); return c; }
const Cursor& northWestSouthEastResizeCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::NorthWestSouthEastResize)); return c; }
const Cursor& notAllowedCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::NotAllowed)); return c; }
const Cursor& waitCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::Wait)); return c; }
const Cursor& handCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::Hand)); return c; }
const Cursor& moveCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::Move)); return c; }
const Cursor& pointerCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::Pointer)); return c; }
const Cursor& crossCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::Cross)); return c; }
// We aim to match IE here. // -IE uses a font based on the encoding as the default font for form controls. // -Gecko uses MS Shell Dlg (actually calls GetStockObject(DEFAULT_GUI_FONT), // which returns MS Shell Dlg) // -Safari uses Lucida Grande. // // FIXME: The only case where we know we don't match IE is for ANSI encodings. // IE uses MS Shell Dlg there, which we render incorrectly at certain pixel // sizes (e.g. 15px). So, for now we just use Arial. const String& RenderThemeChromiumSkia::defaultGUIFont() { DEFINE_STATIC_LOCAL(String, fontFace, ("Arial")); return fontFace; }
const String& Animation::initialAnimationName() { DEFINE_STATIC_LOCAL(String, initialValue, (ASCIILiteral("none"))); return initialValue; }
static ImageEventSender& loadEventSender() { DEFINE_STATIC_LOCAL(ImageEventSender, sender, (eventNames().loadEvent)); return sender; }
const Cursor& progressCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::Progress)); return c; }
const Cursor& verticalTextCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::VerticalText)); return c; }
const Cursor& noDropCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::NoDrop)); return c; }
const Cursor& cellCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::Cell)); return c; }
const Cursor& iBeamCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::IBeam)); return c; }
const Cursor& contextMenuCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::ContextMenu)); return c; }
const Cursor& helpCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::Help)); return c; }
const Cursor& aliasCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::Alias)); return c; }
const Cursor& eastWestResizeCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::EastWestResize)); return c; }
const Cursor& zoomOutCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::ZoomOut)); return c; }
const Cursor& columnResizeCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::ColumnResize)); return c; }
const Cursor& copyCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::Copy)); return c; }
const Cursor& middlePanningCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::MiddlePanning)); return c; }
const Cursor& noneCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::None)); return c; }
const Cursor& southEastPanningCursor() { DEFINE_STATIC_LOCAL(Cursor, c, (Cursor::SouthEastPanning)); return c; }
const AtomicString& SVGFESpecularLightingElement::kernelUnitLengthYIdentifier() { DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGKernelUnitLengthY")); return s_identifier; }