And for new readers on dev mailing list, chromium follows this code standard:http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
<http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml>A good read! -- Mohamed Mansour On Sun, Jun 21, 2009 at 9:05 PM, Ben Goodger (Google) <[email protected]>wrote: > > A couple of brief reminders: > > It's common to have an object implement an interface. Often times, the > order of function decls in the concrete class matches the order in the > interface class. This makes it very easy to know where to add new > method declarations. Also, the order in the .cc file matches the > header. Again, this makes it very easy to place new method > definitions. > > If you encounter this pattern, preserve it. A lot of work has been > done on the browser front end code over the past 9 months to clean up > this sort of thing, so don't regress it. Consider the codebase a > shared resource that has to last for many generations of programmers. > In short, be a tidy kiwi. > > Oh, and the style for pointers is Foo* bar not Foo *bar. > > -Ben > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
