Source/WebKit/chromium/src/ContextMenuClientImpl.cpp
static bool isASingleWord(const String& text)
{
    TextBreakIterator* it = wordBreakIterator(text.characters(), text.length());
    return it && textBreakNext(it) == static_cast<int>(text.length());
}
// Helper function to determine whether text is a single word.
Helper function to determine whether text is a single word.
Helper function to determine whether text is a single word .
static bool isASingleWord(const String& text)
{
    TextBreakIterator* it = wordBreakIterator(text.characters(), text.length());
    return it && textBreakNext(it) == static_cast<int>(text.length());
}
static bool isASingleWord ( const String & text ) { TextBreakIterator * it = wordBreakIterator ( text . characters ( ) , text . length ( ) ) ; return it && textBreakNext ( it ) == static_cast < int > ( text . length ( ) ) ; }
Helper function to determine whether text is a single word.
Helper function to determine whether text is a single word .