[chromium-dev] Re: Memory usage in chrome

2009-06-24 Thread Peter Kasting
FWIW, I strongly believe we should move the default to --memory-model=high. This is what pretty much every other app in the world does, and we mostly penalize ourselves when the OS aggressively swaps us out for a dumb reason (which yes, Windows does do). We have a lot of complaints of I came back

[chromium-dev] Re: about gtest's main in chromium

2009-06-24 Thread Jickae Davis
yep, for base_unittests, that's true. But what I want to know is how chromium uses GTest. An important problem is how it runs all the GTest projects. Take the simplest GTest project printing_unittests as an example, I know it's run via GTest's main in run_all_unittests.cc. But I don't know how it

[chromium-dev] layout test can't run

2009-06-24 Thread Rosail Davis
I run it on Microsoft Windows XP Professional with SP2, not Vista. nbsp; The flag is --nocheck-sys-deps, right? I don't want to use that flag really. The reason is what you've mentioned, many of the layout tests may fail with that flag. That deviates from my goal. I want to use the layout

[chromium-dev] HTML5 Web Socket design doc

2009-06-24 Thread 鵜飼文敏
Hi, yuzo, tyoshino and I start working to implement HTML5 Web Socket and write design docs WebKit part: http://docs.google.com/View?id=dfm7gfvg_0fpjg22gh Chromium part: http://docs.google.com/View?id=dfm7gfvg_1dm97qxgm We'll send WebKit part to webkit-dev, if it looks ok. We'd welcome if you

[chromium-dev] Re: about gtest's main in chromium

2009-06-24 Thread 陈智昌
printing_unittests depends on gtestmain.lib. See src/printing/printing.gyp. On Wed, Jun 24, 2009 at 12:46 AM, Jickae Davisjick...@gmail.com wrote: yep, for base_unittests, that's true. But what I want to know is how chromium uses GTest. An important problem is how it runs all the GTest

[chromium-dev] Re: layout test can't run

2009-06-24 Thread Yuta Kitamura
This phenomenon is reproducible in my environment, too. It's probably because localized Windows may have some different metrics on window appearance. Try the following workaround: 1. Open Display Properties dialog. 2. Go to Design tab and press Details button. 3. For each item which has a

[chromium-dev] How do I deploy an NPAPI plugin over the internet from HTML ?

2009-06-24 Thread Non-Stick
I have an NPAPI plugin (that I originally wrote for Firefox) which I want to download to Chrome over the internet using an embedded object (using either EMBED or OBJECT, I don't mind which). My plugin works fine under Chrome once I've manually copied the files to a location that Chrome knows

[chromium-dev] Re: Memory usage in chrome

2009-06-24 Thread Ian Fette
+1. Most people are not doing compiles, we're trying to say that people live in the web and in their browser, and that their browser is the primary application. For me at least, that is true. The browser is the app I use the most -- the only other app I use regularly is an ssh client, which can

[chromium-dev] Re: Memory usage in chrome

2009-06-24 Thread Elliot Glaysher (Chromium)
Could we stat at memory-model=hight and then change our memory model mid-flight if there are any large, non-chrome, memory hungry processes? -- Elliot On Wed, Jun 24, 2009 at 9:39 AM, Ian Fettei...@chromium.org wrote: +1. Most people are not doing compiles, we're trying to say that people live

[chromium-dev] Re: Memory usage in chrome

2009-06-24 Thread Mike Belshe
On Wed, Jun 24, 2009 at 9:39 AM, Ian Fette i...@chromium.org wrote: +1. Most people are not doing compiles, we're trying to say that people live in the web and in their browser, and that their browser is the primary application. For me at least, that is true. The browser is the app I use the

[chromium-dev] Re: Memory usage in chrome

2009-06-24 Thread PhistucK
I am willing to volunteer to be a test case if you need one, tell me what to do so you will be able to monitor.Before I added that switch, it was pretty horrible. Though I am building stuff with Java, XSLT, JavaScript that process a lot of files (HTMLs) and viewing and refreshing a lot of pages

[chromium-dev] Re: layout test can't run

2009-06-24 Thread Evan Martin
2009/6/24 Rosail Davis sitan2...@sina.com: I don't want to use that flag really. The reason is what you've mentioned, many of the layout tests may fail with that flag. That deviates from my goal. I want to use the layout test to test my codes in webkit/port/glue. It seems the first step,

[chromium-dev] Re: How do I deploy an NPAPI plugin over the internet from HTML ?

2009-06-24 Thread Matt Perry
On Wed, Jun 24, 2009 at 4:42 AM, Non-Stick kevin.ra...@ntlworld.comwrote:: embed id=MY_PLUGIN type=application/my-plugin width=640 height=480 pluginspage=http://mysite.com/test/npapi/chrome/ myplugin.crx ..snip.. What am I doing wrong ? You can't embed Chrome extensions

[chromium-dev] Re: Using custom builds of chromium in a commercial setting

2009-06-24 Thread Finnur Thorarinsson
Not sure about the theme part, Glen is the right person to answer that (cc-ed). As for keeping track of the work, your best best is to star issue 19 to get notified about when something related to that bug is checked in. We try to always include BUG=n in our checkins and then bug n will be updated

[chromium-dev] Re: HTML5 Web Socket design doc

2009-06-24 Thread Jeremy Orlow
I only skimmed, but it looks well thought out. One question though: is this going to be functional for non-Chromium browsers? Given that your design doc mentions v8 and hooks into Chromium's network stack, but no mention of JavaScriptCore or WebKit's resource loading code, I'm worried that the

[chromium-dev] Re: Using custom builds of chromium in a commercial setting

2009-06-24 Thread Glen Murphy
Not sure about the theme part, Glen is the right person to answer that (cc-ed). There's some basic documentation here: http://dev.chromium.org/developers/design-documents/themes More soon. As for keeping track of the work, your best best is to star issue 19 to get notified about when

[chromium-dev] Re: HTML5 Web Socket design doc

2009-06-24 Thread John Abd-El-Malek
On Wed, Jun 24, 2009 at 2:32 AM, Fumitoshi Ukai (鵜飼文敏) u...@chromium.orgwrote: Hi, yuzo, tyoshino and I start working to implement HTML5 Web Socket and write design docs WebKit part: http://docs.google.com/View?id=dfm7gfvg_0fpjg22gh Chromium part:

[chromium-dev] Re: HTML5 Web Socket design doc

2009-06-24 Thread Michael Nordman
Only skimmed thusfar as well... but from what i've seen, looks reasonable to me. * A version of the diagram you have in the chrome doc would be nice in the webkit doc too. * Does WebSocketHandle really need to be refcounted. I know ResourceHandle is a refcounted object and this design looks

[chromium-dev] Re: HTML5 Web Socket design doc

2009-06-24 Thread Drew Wilson
BTW, I checked in with IanH - it sounds like WebSockets are also on the Worker roadmap, so that's something to keep in mind while you iterate on your design. +1 to avoiding WebCore/loader, but also +1 to refactoring to enable as much common code as possible cross-platform - I'm looking at the

[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 Bradley Nelson
Hi Daniel: Currently you'd have to have another whole conditional inside: 'conditions': [ ['my_variable==Blort', { # path A }, { 'conditions: ['my_variable==Blat', { # path B }, { # path C (default) }], }], -BradN On Wed, Jun 24, 2009 at 2:49 PM, Daniel

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

2009-06-24 Thread Daniel Cowx
Thanks for the prompt reply Brad. Cheers! On Jun 24, 2:52 pm, Bradley Nelson bradnel...@google.com wrote: Hi Daniel: Currently you'd have to have another whole conditional inside: 'conditions': [  ['my_variable==Blort', {    # path A  }, {    'conditions:      ['my_variable==Blat', {  

[chromium-dev] Re: HTML5 Web Socket design doc

2009-06-24 Thread Drew Wilson
Also, it occurs to me that I can avoid making the problem worse by not putting the MessagePort entanglement in the proxy layer, which my patch currently does (ick). Proving that proper API design does enable better code re-use :) -atw taking my own advice 2009/6/24 John Abd-El-Malek

[chromium-dev] Re: HTML5 Web Socket design doc

2009-06-24 Thread Chris Evans
On Jun 24, 2:32 am, Fumitoshi Ukai (鵜飼文敏) u...@chromium.org wrote: Hi, yuzo, tyoshino and I start working to implement HTML5 Web Socket and write design docs WebKit part:http://docs.google.com/View?id=dfm7gfvg_0fpjg22gh Chromium part:http://docs.google.com/View?id=dfm7gfvg_1dm97qxgm

[chromium-dev] Re: HTML5 Web Socket design doc

2009-06-24 Thread Chris Evans
On Jun 24, 2:32 am, Fumitoshi Ukai (鵜飼文敏) u...@chromium.org wrote: Hi, yuzo, tyoshino and I start working to implement HTML5 Web Socket and write design docs WebKit part:http://docs.google.com/View?id=dfm7gfvg_0fpjg22gh Chromium part:http://docs.google.com/View?id=dfm7gfvg_1dm97qxgm

[chromium-dev] Re: HTML5 Web Socket design doc

2009-06-24 Thread Chris Evans
On Jun 24, 2:32 am, Fumitoshi Ukai (鵜飼文敏) u...@chromium.org wrote: Hi, yuzo, tyoshino and I start working to implement HTML5 Web Socket and write design docs WebKit part:http://docs.google.com/View?id=dfm7gfvg_0fpjg22gh Chromium part:http://docs.google.com/View?id=dfm7gfvg_1dm97qxgm

[chromium-dev] unable to load generated resources

2009-06-24 Thread Eric Roman
I am building ToT chromium, and dying with a DCHECK here: DCHECK(locale_resources_data_ != NULL) unable to load generated resources; It is trying to load en.dll. However en.dll doesn't exist. If I use a fresh profile this works, as it ends up instead loading en-US.dll which does

[chromium-dev] Re: about gtest's main in chromium

2009-06-24 Thread Jickae Davis
ah, in fact, I don't really understand what the .gyp files do. Could the gtestmain be found in printing_unittests' project properties under VS2005? I have check that, and didn't find a gtestmain.lib in Configuration Properties--Linker--Input. 2009/6/25 William Chan (陈智昌) willc...@chromium.org

[chromium-dev] yet another browser benchmark

2009-06-24 Thread Evan Martin
http://www.codexon.com/posts/a-real-benchmark-real-websites-with-chrome-firefox-opera-safari-ie Brief summary: - measures warm-disk-based snapshots of real websites - hand-injected script src into pages that uses addEventListener(load) / attachEvent(onload) to tell when load is done (I wonder if

[chromium-dev] Re: unable to load generated resources

2009-06-24 Thread Mark Larson (Google)
See http://code.google.com/p/chromium/issues/detail?id=15286 http://code.google.com/p/chromium/issues/detail?id=15286This seems to be a regression from (or a latent bug uncovered by) http://src.chromium.org/viewvc/chrome?view=revrevision=19183 Jungshik is looking into it. On Wed, Jun 24, 2009 at

[chromium-dev] Re: What's the real reason of giving up Windows 2000 support?

2009-06-24 Thread pi
I presume that Chromium decided to support Windows 2000 when the project started in 2006. The reasons may be: (1) The profit is big. There were 6% Windows 2000 users in 2006. (2) The cost is small. There should not be too many differences between Windows 2000 (5.0) and Windows XP (5.1).