On Mon, Dec 15, 2008 at 11:23 PM, joshthecoder <jroessl...@gmail.com> wrote: > What are the plans so far on how to port the Views UI layout layer to > linux?
I spent a couple of days last week porting views and it looks like it'll be quite the task. My method at the moment is to do it in a very hacky way for a few hours and then redo properly that which still makes sense in hindsight. #ifdefs should be kept to a minimum, but there's still a threshold at which it doesn't make sense to add another file. With chrome_canvas and chrome_font (actually in chrome/common/gfx, but needed to be done) I kept the header with #ifdefs and split the .cc files; doing binding at link time. For things like OSExchangeData which are very platform specific, one might split the header files too and use a forwarding header (#ifdef ... #include ... #else #include ... #endif). AGL --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-dev" group. To post to this group, send email to chromium-dev@googlegroups.com To unsubscribe from this group, send email to chromium-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/chromium-dev?hl=en -~----------~----~----~----~------~----~------~--~---