[chromium-dev] HTTP POST via net package?

2009-06-08 Thread Daniel Cowx
How can I upload multipart form data (including a file) via HTTP POST? Is there something already written in the net package (or elsewhere) for this task? If so, can someone please point me to what class to use. Thanks, Daniel --~--~-~--~~~---~--~~ Chromium

[chromium-dev] Is there any way to change the default (i.e. default.dll) theme DLL?

2009-06-09 Thread Daniel Cowx
ResourceBundle::LoadThemeResources() always loads default.dll from DIR_THEMES. Other than overriding DIR_THEMES via the PathService, is there another way to change the name of the DLL? --~--~-~--~~~---~--~~ Chromium Developers mailing list:

[chromium-dev] Re: Is there any way to change the default (i.e. default.dll) theme DLL?

2009-06-09 Thread Daniel Cowx
, Daniel Cowx daniel.c...@gmail.com wrote: ResourceBundle::LoadThemeResources() always loads default.dll from DIR_THEMES. Other than overriding DIR_THEMES via the PathService, is there another way to change the name of the DLL? --~--~-~--~~~---~--~~ Chromium

[chromium-dev] Use of User Macros for RelativePath in vcproj files

2009-06-09 Thread Daniel Cowx
I notice that some of our projects (e.g. chrome_resources) reference GRIT generated files via the RelativePath entry in the *.vcproj file via the user macro $(OutDir). Can someone please provide insight into how this was made to work? I've tried this quite a few times to no avail. Whenever I try

[chromium-dev] Re: Use of User Macros for RelativePath in vcproj files

2009-06-10 Thread Daniel Cowx
I figured it out and thought I'd share with others. Turns out that you have to restart Visual Studio and reload the whole solution for it to pickup the correct paths when you're using a macro. Cheers, Daniel On Jun 9, 10:58 pm, Daniel Cowx daniel.c...@gmail.com wrote: I notice that some

[chromium-dev] How do you create a frameless window via views?

2009-06-10 Thread Daniel Cowx
I need to create a frameless window using views, but I've hit a bit of a roadblock that I'm hoping someone can help me out with. Using the documentation http://dev.chromium.org/developers/design-documents/views-windowing, I can create a window (mods required though as this is out of date with

[chromium-dev] How to change the cursor smoothly for a view

2009-06-10 Thread Daniel Cowx
I've got a composite view that consists of a SkBitmap and views::Label. I'd like to use IDC_HAND (hand cursor) for this composite view so I've overridden view::GetCursorForPoint(...) Though this kinda works, it causes the cursor to jitter/flicker as it calls this function repeatedly based on the

[chromium-dev] Re: How to change the cursor smoothly for a view

2009-06-10 Thread Daniel Cowx
Hi Ben, I'm getting the flickering even when I dont have any children in my view. I tried overridding GetViewForPoint for my view class and returning this, but I still get this flicker (with or without the label and bitmap being present). According to MSDN @

[chromium-dev] Re: How to change the cursor smoothly for a view

2009-06-10 Thread Daniel Cowx
Actually, I see this flickering on a plain old view::Link as well. You can see it if you move the cursor back and forth on say the open source software link on the Chromium About dialog. On Jun 10, 9:42 pm, Ben Goodger (Google) b...@chromium.org wrote: I don't know, check WidgetWin. I would

[chromium-dev] Re: How to change the cursor smoothly for a view

2009-06-11 Thread Daniel Cowx
and submit this change for review. Cheers, Daniel On Jun 10, 10:08 pm, Daniel Cowx daniel.c...@gmail.com wrote: Actually, I see this flickering on a plain old view::Link as well. You can see it if you move the cursor back and forth on say the open source software link on the Chromium About

[chromium-dev] Re: How to change the cursor smoothly for a view

2009-06-13 Thread Daniel Cowx
Sure, I'll take care of this. It'll have to wait a few days though as I broke my index finger and I'm having a bit of a time typing right now. Hope that's cool. Cheers, Daniel On Jun 11, 2:55 pm, Ben Goodger (Google) b...@chromium.org wrote: It's in the class registration function in

[chromium-dev] Re: How to change the cursor smoothly for a view

2009-06-16 Thread Daniel Cowx
Changing the default class cursor to NULL in widget_win.cc makes not difference that I can see. Any other thoughts? On Jun 13, 4:00 pm, Ben Goodger (Google) b...@chromium.org wrote: No problem. Get well soon! On Sat, Jun 13, 2009 at 3:55 PM, Daniel Cowxdaniel.c...@gmail.com wrote: Sure,

[chromium-dev] How do you generate the VS project files from GYP without gclient?

2009-06-16 Thread Daniel Cowx
I know that you typically generate the project files via gclient runhooks --force, but I'm curious to know how to generate the project files via python directly, instead of via gclient. --~--~-~--~~~---~--~~ Chromium Developers mailing list:

[chromium-dev] Is it possible to create branches?

2009-06-16 Thread Daniel Cowx
What is the recommended procedure for working on long/big features? In the past, I've always created a separate branch and then done all my work there. I then do regular integrations from trunk into my branch to ensure that that my branch doesn't drift too far out of sync with the trunk (i.e. so

[chromium-dev] Re: changing chrome_exe to chrome, converting chrome.exe to gyp

2009-06-18 Thread Daniel Cowx
I notice that when I load chrome.sln and do a build, not all the dependencies are built anymore. For instance, theme_dll isn't built (not listed in the proj deps), is this expected? On Jun 18, 12:38 am, Steven Knight s...@chromium.org wrote: Okay, it looks like this change is sticking, at least

[chromium-dev] Re: changing chrome_exe to chrome, converting chrome.exe to gyp

2009-06-18 Thread Daniel Cowx
I'm also noticing that every time I do a build/debug, it's rebuilding a LOT of the libraries even though nothing has changed. On Jun 18, 12:43 pm, Daniel Cowx daniel.c...@gmail.com wrote: I notice that when I load chrome.sln and do a build, not all the dependencies are built anymore

[chromium-dev] Is it possible to do a gclient sync without running hooks?

2009-06-23 Thread Daniel Cowx
When I run gclient sync, it automatically runs the hooks; which causes various non-versioned files to get generated within my tree (most notably *.vcproj and *.sln files, but there may be others). I'd like to be able to do a sync *without* generating any files (i.e. so that if I do a svn status

[chromium-dev] How do you do an if-else statement in GYP?

2009-06-24 Thread Daniel Cowx
I'd like to be able to test 'my_variable' for 'Blort' and 'Blat', but if neither of these are true, then I'd like to execute a default. The problem is that with the syntax below, if 'my_variable' is 'Blort', then both path A and C will be executed; which is wrong since each of these paths should

[chromium-dev] Re: How do you do an if-else statement in GYP?

2009-06-24 Thread Daniel Cowx
', {        # path B      }, {        # path C (default)      }],  }], -BradN On Wed, Jun 24, 2009 at 2:49 PM, Daniel Cowx daniel.c...@gmail.com wrote: I'd like to be able to test 'my_variable' for 'Blort' and 'Blat', but if neither of these are true, then I'd like to execute a default

[chromium-dev] Re: Should GYP files be UTF8 Encoded?

2009-06-26 Thread Daniel Cowx
Not that I'm aware of. Just wanted to confirm that intention is ASCII for now unless need arises. On Jun 26, 2:18 pm, Dan Kegel daniel.r.ke...@gmail.com wrote: On Fri, Jun 26, 2009 at 1:50 PM, Daniel Cowxdaniel.c...@gmail.com wrote: Should GYP files be UTF8 Encoded? We can probably get away

[chromium-dev] Re: Should GYP files be UTF8 Encoded?

2009-06-27 Thread Daniel Cowx
, Daniel Cowx daniel.c...@gmail.com wrote: Not that I'm aware of. Just wanted to confirm that intention is ASCII for now unless need arises. On Jun 26, 2:18 pm, Dan Kegel daniel.r.ke...@gmail.com wrote: On Fri, Jun 26, 2009 at 1:50 PM, Daniel Cowxdaniel.c...@gmail.com wrote: Should GYP

[chromium-dev] How do I *undefine* a define in GYP?

2009-06-27 Thread Daniel Cowx
I have a third_party project that assumes that WIN32_LEAN_AND_MEAN is *not* defined. Unfortunately, common.gypi defines it, so I'm getting lots of compiler errors that I dont particularly want to track down. What's teh best way to either a) undefine WIN32_LEAN_AND_MEAN from common.gypi, or b)

[chromium-dev] Re: How do I *undefine* a define in GYP?

2009-06-27 Thread Daniel Cowx
if there was a way to remove the inclusion of /D WIN32_LEAN_AND_MEAN from common.gypi when my project is being generated. Is this possible? On Jun 27, 1:26 pm, Daniel Cowx daniel.c...@gmail.com wrote: I have a third_party project that assumes that WIN32_LEAN_AND_MEAN is *not* defined. Unfortunately

[chromium-dev] Re: How do I *undefine* a define in GYP?

2009-06-27 Thread Daniel Cowx
Awesome. Thanks Brad! On Jun 27, 1:52 pm, Bradley Nelson bradnel...@google.com wrote: You can undefine items with: 'defines!: [     'WIN32_LEAN_AND_MEAN', ], -BradN On Sat, Jun 27, 2009 at 1:47 PM, Daniel Cowx daniel.c...@gmail.com wrote: Okay, I've figured out that I can do

[chromium-dev] Is there an option to block file downloads in Chromium?

2009-07-03 Thread Daniel Cowx
If not, where would be the most logical place to add this functionality? --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev

[chromium-dev] Re: Is there an option to block file downloads in Chromium?

2009-07-03 Thread Daniel Cowx
Yeah, it would be an administrative feature for a version of Chromium that is being developed for Library use. The library admins don't want users to be able to download files. On Jul 3, 10:26 am, Peter Kasting pkast...@google.com wrote: On Fri, Jul 3, 2009 at 10:22 AM, Daniel Cowx daniel.c

[chromium-dev] Is it possible to link Chromium to shared CRT on Windows (i.e. /MD instead of /MT)

2009-08-18 Thread Daniel Cowx
I'm incorporating Chromium into an existing that uses the shared CRT. To minimize footprint, I'd like to experiment with linking Chromium to the shared CRT as well. I've tried changing RuntimeLibrary in common.gypi, but I'm getting numerous linker errors (I think b/c of tcmalloc's dependence on

[chromium-dev] How do you perform tab traversal?

2009-09-11 Thread Daniel Cowx
I'm trying to create a simple dialog box following the exam at http://dev.chromium.org/developers/design-documents/views-windowing. Note that I'm using views as in a standalone app (I'm not embedding this dialog in Chromium). I've added 2 views::Textfields to WindowView, but I can't seem to tab