It really can not be inlined, otherwise, the compiler(clang) will report: Overridden method must have "virtual" keyword. Please refer to http://www.chromium.org/developers/coding-style/chromium-style-checker-errors#TOC-Virtual-Method-Out-of-lining, for more details.