After some research and SVN history browsing I found out that ChromiumCanvas is no more. Instead, use the gfx::Canvas class. Your header files should look somewhat like this (for the example to compile):
#include "app/gfx/canvas.h" #include "views/view.h" #include "views/controls/label.h" #include "views/window/window.h" #include "views/window/window_delegate.h" Hope that helps a little. On Jul 25, 8:34 pm, Juan Baez <[email protected]> wrote: > Where you able to figure this out Kruncher? If so, could you provide > me with some feedback as to how you resolved the problem? I am sort of > trying to do something similar myself. > > On Jul 20, 2:41 am, Kruncher <[email protected]> wrote: > > > > > Yes, I tried adding thatprojectbut it didn't seem to help. > > > On 19 July, 20:49, Thiago Farina <[email protected]> wrote: > > > > Did you added the commonprojectto your solution? > > > > On Jul 19, 12:40 pm, Kruncher <[email protected]> wrote: > > > > > For the purposes of practice I am trying to create an empty Win32 Exe > > > >projectthat uses the demonstration code from: > > > > >http://dev.chromium.org/developers/design-documents/chromeviews > > > > > To do this I have created a new solution and an emptyproject. I have > > > > then added the demonstration code, and in theprojectsettings added > > > > the additional include/lib directories (which I copied from an Exe > > > >projectfrom the Chromium trunk). > > > > > However, when I try to build theproject, I get the following > > > > compilation error: > > > > > 1>c:\chromium\src\quick_test\quick_test\views\main_window.cc(4) : > > > > fatal error C1083: Cannot open include file: 'chrome/common/gfx/ > > > > chrome_canvas.h': No such file or directory > > > > > What steps are required to create a new solution/projectof this > > > > nature? I would really like to use the views API that Chromium has to > > > > offer. > > > > > Many thanks, > > > > Lea Hayes --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
