[chromium-dev] how to disable SVG when building chromium

2010-01-18 Thread n179911
Hi, Webkit has an option to disable SVG build with the executable. Can you please tell me how can I disable SVG when build chromium? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe:

[chromium-dev] Linux sandbox configuration

2010-01-08 Thread n179911
Hi, Can you please tell me if/where is the file to configure chromium's renderer sandbox? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev

Re: [chromium-dev] How to compile and run TabSwitchingUITest on Linux

2010-01-05 Thread n179911
...@chromium.org wrote: test_binary was just an example. The target you want is named tab_switching_test. rsesek / @chromium.org On Sat, Dec 26, 2009 at 4:29 PM, n179911 n179...@gmail.com wrote: Thank you. I tried to compile 'test_binary', but there is no such executable. $ make out/Debug

Re: [chromium-dev] How to compile and run TabSwitchingUITest on Linux

2010-01-05 Thread n179911
ms total) [ PASSED ] 0 tests. On Tue, Jan 5, 2010 at 9:16 PM, Dan Kegel d...@kegel.com wrote: On Tue, Jan 5, 2010 at 9:13 PM, n179911 n179...@gmail.com wrote: For this test case defined in unload_test.cc: TEST_F(UnloadTest, CrossSiteInfiniteBeforeUnloadSync) {...} i have tried:  ./out

[chromium-dev] Unit test in chromium which test javascript alert

2010-01-03 Thread n179911
Hi, Is there any Unit test in chromium which test javascript alert? Does it have automated test case which automatically clicks the pop up dialog cased by javascript alert? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or

[chromium-dev] Faster linking for chromium on ubuntu

2009-12-31 Thread n179911
Hi, I have installed gold linker mentioned here: http://code.google.com/p/chromium/wiki/LinuxFasterBuilds And I have put 'shared' library in my include gypi file $ more ~/.gyp/include.gpyi {'variables': { 'library': 'shared_library', }} How can I make sure that it is building in shared

Re: [chromium-dev] Faster linking for chromium on ubuntu

2009-12-31 Thread n179911
On Thu, Dec 31, 2009 at 3:17 PM, Dan Kegel d...@kegel.com wrote: On Thu, Dec 31, 2009 at 3:14 PM, n179911 n179...@gmail.com wrote: And I have put 'shared' library in my include gypi file $ more ~/.gyp/include.gpyi {'variables': {   'library': 'shared_library', }} How can I make sure

[chromium-dev] Question about ipc log in chromium

2009-12-29 Thread n179911
Hi, I enable ipc logging when run chromium. And I see the following messages saying 'unknown type'. Can you please tell me where I can find out what those messages are for? ipc 2898.0xd07aaf8.936222325 1 [unknown type 8] (1042, 589), (0, 0, 0, 0) ipc 2898.0xd07aaf8.936222325 1 [unknown type

Re: [chromium-dev] How to compile and run TabSwitchingUITest on Linux

2009-12-26 Thread n179911
), though I'm not sure about that. rsesek / @chromium.org On Fri, Dec 25, 2009 at 2:02 PM, n179911 n179...@gmail.com wrote: Hi, Here is how to compile and run all tests on linux: $make ./out/Debug/base_unittests $./out/Debug/base_unittests Can you please tell me how can I run 1 specific

[chromium-dev] Example of how to use AutomationProvider on linux

2009-12-24 Thread n179911
Hi, Can you please tell me where I can find an example of how to use AutomationProvider on linux? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev

[chromium-dev] Link error with chromium on ubuntu 9.10

2009-12-19 Thread n179911
Hi, I get the chromium on ubuntu 9.10. The compilation is okay, but when I get link, it fails: $ make -j5 chrome LINK(target) out/Debug/chrome collect2: ld terminated with signal 9 [Killed] make: *** [out/Debug/chrome] Error 1 I think I have 'gold linker' installed: Building dependency tree

Re: [chromium-dev] Warning message when running chrome in gdb

2009-11-28 Thread n179911
Schlenter craig.schlen...@gmail.com wrote: You could file a bug with the gdb people ... keeping a copy of the problematic binary/associated libraries may help them track it down. http://sourceware.org/bugzilla/ --Craig On Sat, Nov 28, 2009 at 10:31 AM, n179911 n179...@gmail.com wrote

[chromium-dev] TestShell target

2009-11-25 Thread n179911
Hi, Is there a way to build a TestShell target for chromium on linux? On MacOS, there is a TestShell project, I wonder if there is a TestShell target for building it on linux? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or

[chromium-dev] Re: Compiling error after I did a 'gclient sync'

2009-11-05 Thread n179911
On Thu, Nov 5, 2009 at 9:23 AM, Evan Martin e...@chromium.org wrote: On Wed, Nov 4, 2009 at 11:55 PM, Chase Phillips ch...@chromium.org wrote: FWIW I see the same error you see when I try to git clone the WebKit git repository again locally while git fetch on an existing repository works

[chromium-dev] Re: Compiling error after I did a 'gclient sync'

2009-11-03 Thread n179911
, Nov 2, 2009 at 10:27 PM, n179911 n179...@gmail.com wrote: Hi, I have tried syncing up chromium HEAD by doing this (since i use git for chromium and webkit). $ git pull (update chromium) $ gclient sync $ tools/sync-webkit-git.py (update webkit) But i got the following errors when I compile

[chromium-dev] Re: Compiling error after I did a 'gclient sync'

2009-11-03 Thread n179911
::ScriptCallStack::ScriptCallStack(const v8::Arguments, unsigned int, WebCore::String, int) ../bindings/v8/ScriptCallStack.h:46: note: WebCore::ScriptCallStack::ScriptCallStack(const WebCore::ScriptCallStack) On Tue, Nov 3, 2009 at 6:40 PM, n179911 n179...@gmail.com wrote: Thanks Kenneth. I tried

[chromium-dev] Re: Compiling error after I did a 'gclient sync'

2009-11-03 Thread n179911
...@chromium.org wrote: It has been working fine for me.  Is it possible you have the wrong version of WebKit?  What does tools/sync-webkit-git.py say? On Tue, Nov 3, 2009 at 6:46 PM, n179911 n179...@gmail.com wrote: Thanks. Kenneth, I fixed the ENABLE_3D_CANVAS redefined error. But I still get

[chromium-dev] Re: Compiling error after I did a 'gclient sync'

2009-11-03 Thread n179911
On Tue, Nov 3, 2009 at 8:39 PM, Evan Martin e...@chromium.org wrote: On Tue, Nov 3, 2009 at 8:36 PM, n179911 n179...@gmail.com wrote: And when i got to a different directory trying to use git to get Webkit code, I get this error possible repository corruption on the remote side, not sure

[chromium-dev] Compiling error after I did a 'gclient sync'

2009-11-02 Thread n179911
Hi, I have tried syncing up chromium HEAD by doing this (since i use git for chromium and webkit). $ git pull (update chromium) $ gclient sync $ tools/sync-webkit-git.py (update webkit) But i got the following errors when I compile it. It appears the method

[chromium-dev] How does ResourceHandleInternal::start get called

2009-10-08 Thread n179911
Hi, I am trying to figure out how does ResourceHandleInternal::start() get called. I put breakpoint in debugger, and I think it is driven by a Timeout: see '#220x071e2b7a in webkit_glue::WebKitClientImpl::DoTimeout at webkitclient_impl.h:97' in the stack track. How can I find out where

[chromium-dev] Loading problems chromium on mac os x

2009-08-26 Thread n179911
Hi, I have download the source of chromium and compile it on mac osx. After I build it, I load sites like 'www.cnn.com', 'www.nytimes.com', it starts loading but it never finishes. I eventually get this 'The following pages have become unresponsive. You can wait for them to become responsive or

[chromium-dev] Question about Browser IO thread

2009-08-21 Thread n179911
Hi, From this chromium document, http://sites.google.com/a/chromium.org/dev/developers/design-documents/multi-process-architecture Browser has an IO thread which receives messages from each Renderer process and dispatch them to Browser Process. But when I look at the code , the IOThread class

[chromium-dev] Lock the Render process in chromium

2009-08-20 Thread n179911
Hi, Is there anyway to 'lock' the Render process in chromium? Which means Renderer does not do these during the 'lock' period * repaint the screen * no dom modification * no render tree modification * no javascript context modification Thank you for any idea.

[chromium-dev] Re: Lock the Render process in chromium

2009-08-20 Thread n179911
On Thu, Aug 20, 2009 at 6:31 AM, Evan Martine...@chromium.org wrote: kill -STOP pid of renderer ? I don't want the renderer process to die. I just want it 'locked' so that i can dump out information of the page (DOM, CSS) of the page. And I want the page unchange during the information

[chromium-dev] How to simulate a MMS message on emulator

2009-08-11 Thread n179911
Hi, How to simulate a MMS message on emulator? From the eclipse android plugins, I can only see 'SMS'. I don't see any MMS message. Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email

[chromium-dev] Font used in groups.google.com in Chromium on MacOSX

2009-08-08 Thread n179911
Hi, I am using the latest Chromium on MacOSX. When I go to groups.google.com, the font in the message text is always smaller (hard to read) than the font I see on Safari/Firefox on the same site. For example: http://groups.google.com/group/chromium-dev/browse_thread/thread/1d336154b14dfcd9 I

[chromium-dev] Git usage in chromium

2009-08-06 Thread n179911
Hi, I read this about git usage in chromium: http://code.google.com/p/chromium/wiki/UsingGit It looks like it is using a combination of git and svn for version control. Can you please tell me what are using git and what are using svn? My guess is third-party/webkit will be using svn and

[chromium-dev] How to debug Aw, Snap! error

2009-08-06 Thread n179911
Hi, When I load a page on chromium that I run on debugger,I get 'Aw, Snap! Something went wrong while displaying this webpage.' error. And I see this in the console: WebCore::FrameView::paintContents(WebCore::GraphicsContext*, const WebCore::IntRect)) LEAK: 1899 RenderObject LEAK: 1 Page LEAK:

[chromium-dev] How to disable plugin support in chromium on Mac OSX

2009-08-04 Thread n179911
Hi, I notice the latest trunk of chromium has flash plugin support. Can you please tell me how can I disable plugin support in my own chromium build on Mac OSX so that when I execute chomium in XCode flash plugin is not enabled? Thank you. --~--~-~--~~~---~--~~

[chromium-dev] Question about chromium sandbox on Mac OSX

2009-07-30 Thread n179911
Hi, I read this article: http://dev.chromium.org/developers/design-documents/sandbox/osx-sandboxing-design It said Mac OSX supports five constants for sandbox access restrictions: * kSBXProfileNoInternet * kSBXProfileNoNetwork * kSBXProfileNoWrite *

[chromium-dev] Re: Question about chromium sandbox on Mac OSX

2009-07-30 Thread n179911
and I believe there was a talk given at one point by some of the Apple folks that work on it. TVL On Thu, Jul 30, 2009 at 2:32 AM, n179911 n179...@gmail.com wrote: Hi, I read this article: http://dev.chromium.org/developers/design-documents/sandbox/osx-sandboxing-design It said Mac OSX

[chromium-dev] Re: Question about chromium sandbox on Mac OSX

2009-07-30 Thread n179911
. And then I would want to see if I can switch it to 'kSBXProfilePureComputation' and see what may break. Regards, On Thu, Jul 30, 2009 at 9:06 AM, n179911 n179...@gmail.com wrote: Thank you. Can you please tell me how can I change the configure file (renderer.sb) to use other sandbox profile

[chromium-dev] Re: Question about chromium sandbox on Mac OSX

2009-07-30 Thread n179911
? On Thu, Jul 30, 2009 at 9:32 AM, n179911 n179...@gmail.com wrote: On Thu, Jul 30, 2009 at 9:08 AM, Jeremy Moskovichjer...@chromium.org wrote: Hi, It would really help if you could provide some details on what your trying to do. Best regards, Jeremy From the http

[chromium-dev] Re: Question about chromium sandbox on Mac OSX

2009-07-30 Thread n179911
, the language it uses is undocumented but very easy to use, you can find the file in the source tree. May I ask why you want the renderer to be able to read/write files in /tmp? Best regards, Jeremy On Thu, Jul 30, 2009 at 7:32 PM, n179911 n179...@gmail.com wrote: I would like to change

[chromium-dev] Re: How to attach to Renderer Process in XCode

2009-07-28 Thread n179911
:/Users/n179911/chromium/src/chrome/renderer/renderer_main.cc(65)] Renderer (2516) paused waiting for debugger to attach @ pid Then I go to the URL text box of chromium and type in 'http://www.cnn.com' But what I get is I see this but with a new pid (2220). [2516:2055:3122095122007:WARNING:/Users

[chromium-dev] Re: How to attach to Renderer Process in XCode

2009-07-26 Thread n179911
it. I saw this in the shell: [460:2055:4872081828141:WARNING:/Users/n179911/chromium/src/chrome/renderer/renderer_main.cc(65)] Renderer (460) paused waiting for debugger to attach @ pid And then I got XCode and Attached to '460'. But i see this in my shell, and chromium never get launched. [460

[chromium-dev] WebContents class in chromium?

2009-07-25 Thread n179911
Hi, For http://dev.chromium.org/developers/how-tos/getting-around-the-chrome-source-code, it said For web content, this specialization is WebContents in chrome/browser/web_contents.cc. There are also a few other types for more specialized tabs. We will assume we are creating a web page. But I

[chromium-dev] Problem in starting My Chromium on MacOSX

2009-07-15 Thread n179911
Hi, I download the source of chromium and build successfully on MacOSX. When I start the TestShell.app, it launches successfully and I can load a page (www.cnn.com) But when I start the Chromium.app, i see the Chromium appears on the Dock for 1-2 seconds and then it kills itself. Can you

[chromium-dev] Re: Problem in starting My Chromium on MacOSX

2009-07-15 Thread n179911
On Wed, Jul 15, 2009 at 4:18 PM, Jens Alfkes...@google.com wrote: On Jul 15, 2009, at 3:50 PM, Albert J. Wong (王重傑) wrote: Since you built it, you should be able to fire it up in a debugger and see where it's dying.  That's what I'd try first. More precisely: * Open chrome.xcodeproj *

[chromium-dev] Font handling in chromium

2009-06-30 Thread n179911
Hi, How does Chromium handling font loading? For example, the following css, each element has it own font, can you please point me to the code where chromium loads up each font? And then use each font's font matrix (with height/width of each character) during layout? h4 { font-family:

[chromium-dev] Re: Font handling in chromium

2009-06-30 Thread n179911
On Tue, Jun 30, 2009 at 12:31 PM, Adam Langleya...@chromium.org wrote: On Tue, Jun 30, 2009 at 12:29 PM, n179911n179...@gmail.com wrote: How does Chromium handling font loading? Which platform? MacOS X and Linux. Thank you. AGL --~--~-~--~~~---~--~~

[chromium-dev] Re: How does chromium use SkCanvas

2009-06-29 Thread n179911
Thank you very much for the detailed response. On Mon, Jun 29, 2009 at 4:49 AM, Amanda Walkerama...@chromium.org wrote: Sorry for the typos--I'm still working on my first coffee of the day :-). On Mon, Jun 29, 2009 at 7:47 AM, Amanda Walkerama...@chromium.org wrote: There are no active plans

[chromium-dev] How does chromium use SkCanvas

2009-06-28 Thread n179911
Hi Can you please tell me how does Chromium paint content on screen? For example, a DIV tag with a background color, chromium needs to paint a Rect (whose dimension with the DIV tag) on screen with DIV background color? I assume the following function get calls, SkCanvas::drawRoundRect

[chromium-dev] Re: How does chromium use SkCanvas

2009-06-28 Thread n179911
Thank you to both answer. I am just running/debugging the TestShell XCode project. So I expect to break the painting code, but it did not. Thank you. On Sun, Jun 28, 2009 at 4:40 PM, Adam Langleya...@chromium.org wrote: On Sun, Jun 28, 2009 at 2:58 PM, n179911n179...@gmail.com wrote: I

[chromium-dev] Where is the CGContextDrawImage() for MacOSx defined

2009-06-25 Thread n179911
Hi, Can you please tell me Where is the CGContextDrawImage() for MacOSx defined? I have tried setting up a Breakpoints in ImageCG.cpp:197. It breaks there but when I click 'step into', it never goes to the implementation of CGContextDrawImage. XCode just jumps to the next line. And I also tried

[chromium-dev] Memory usage in chrome

2009-06-21 Thread n179911
Hi, There is a test which compares memory usage among rendering engines http://dotnetperls.com/chrome-memory From the site, it shows the maximum memory usage of Chrome is more than Safari is 2 times. Since both of them are Webkit base, does that mean the V8 engine uses twice as much memory as

[chromium-dev] Number of threads in Render Process on MacOSX

2009-06-20 Thread n179911
From this post http://blog.marcchung.com/2008/09/05/chromes-process-model-explained.html, it said Each Renderer process has two threads: one Render thread–which renders web pages, and one IPC thread–which transports data in a thread-safe, non- blocking manner between the Render thread and an IPC

[chromium-dev] IO Request Handing in Chromium

2009-06-19 Thread n179911
In http://dev.chromium.org/developers/design-documents/multi-process-resource-loading, all I/O in Render Process (WebKit code) is sent to Browser Process and Browser process is download the resource from the source. But what about Plugins (flash) which runs inside RenderProcess? How can those I/O