[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: http://groups.google.com/g

[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
es ran. (1 ms total) [ PASSED ] 0 tests. On Tue, Jan 5, 2010 at 9:16 PM, Dan Kegel wrote: > On Tue, Jan 5, 2010 at 9:13 PM, n179911 wrote: >> For this test case defined in unload_test.cc: >> TEST_F(UnloadTest, CrossSiteInfiniteBeforeUnloadSync) {...} >> &

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

2010-01-05 Thread n179911
9 PM, Robert Sesek 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 wrote: >> >> Thank you. I tried to compile 'test_binary', but there

[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 uns

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 wrote: > On Thu, Dec 31, 2009 at 3:14 PM, n179911 wrote: >> And I have put 'shared' library in my include gypi file >> >> $ more ~/.gyp/include.gpyi >> {'variables': { >>   'library': '

[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 lib

[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 15

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

2009-12-26 Thread n179911
sts but rather its own binary (Debug/tab_switching_test), > though I'm not sure about that. > > rsesek / @chromium.org > > On Fri, Dec 25, 2009 at 2:02 PM, n179911 wrote: > >> Hi, >> >> Here is how to compile and run all tests on linux: >> $make

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

2009-12-25 Thread n179911
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 test, namely TabSwitchingUITest? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, cha

[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

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

2009-11-28 Thread n179911
AM, Craig Schlenter > 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, N

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

2009-11-28 Thread n179911
e.org/ml/gdb-patches/2003-01/msg00074.html > > --Craig > > On Sat, Nov 28, 2009 at 8:06 AM, Evan Martin wrote: > > I have never encountered this. Have you tried searching for the error > message? > > > > On Fri, Nov 27, 2009 at 4:31 PM, n179911 wrote: > >>

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

2009-11-27 Thread n179911
Hi, I am trying to run chrome under ubuntu. But I see a lot of 'internal error in the warning message'. Can you please tell me what does those means and how can I fix those? Thank you. $ gdb out/Debug/chrome warning: (Internal error: pc 0xed21a0 in read in psymtab, but not in symtab.) warnin

[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 wrote: > On Wed, Nov 4, 2009 at 11:55 PM, Chase Phillips 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 >> fine.  I see you've mailed webkit

[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 wrote: > On Tue, Nov 3, 2009 at 8:36 PM, n179911 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",

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

2009-11-03 Thread n179911
fatal: index-pack failed On Tue, Nov 3, 2009 at 8:20 PM, Evan Martin 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 wrote: >> >> Thanks. K

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

2009-11-03 Thread n179911
candidates are: WebCore::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 wrote: > Thanks K

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

2009-11-03 Thread n179911
WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, unsigned int, WebCore::String, int) ../bindings/v8/ScriptCallStack.h:46: note: WebCore::ScriptCallStack::ScriptCallStack(const WebCore::ScriptCallStack&) On Mon, Nov 2, 2009 at 10:38 PM, Kenneth Russell wrote: > On Mon, Nov

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

2009-11-03 Thread n179911
are: void WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*, WebCore::CanvasShader*, WebCore::ExceptionCode&) On Mon, Nov 2, 2009 at 10:37 PM, Chase Phillips wrote: > On Mon, Nov 2, 2009 at 10:27 PM, n179911 wrote: >> >> Hi, >> >> I have tried syncing up ch

[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 'CanvasRenderingContext3D::attachShade

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

2009-10-07 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 k

[chromium-dev] Question about Browser IO thread

2009-08-20 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] Re: Lock the Render process in chromium

2009-08-20 Thread n179911
rry for not making my question clear. > On Thu, Aug 20, 2009 at 12:23 AM, n179911 wrote: >> >> Hi, >> >> Is there anyway to 'lock' the Render process in chromium? Which means >> Renderer does not do these during the 'lock' period >> * repa

[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] Does Chromium use boost library

2009-08-16 Thread n179911
Hi, Does Chromium use boost library? In the source tree, i see there is a 'boost' directory under 'third-party'. It appears to be an incomplete version of boost 1.36. I said incomplete since a lot of directories of boost are missing? Does anyone know why is that? Thank you. --~--~-~--~

[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 opti

[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 hav

[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] 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 everyt

[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. --~--~-~--~~~---~--~~ C

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

2009-07-30 Thread n179911
ses > 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 wrote: >> >> I wo

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

2009-07-30 Thread n179911
chieve? > On Thu, Jul 30, 2009 at 9:32 AM, n179911 wrote: >> >> On Thu, Jul 30, 2009 at 9:08 AM, Jeremy Moskovich >> wrote: >> > Hi, >> > It would really help if you could provide some details on what your >> > trying >> > to do. >> >

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

2009-07-30 Thread n179911
when sandbox_init() is called. 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 wrote: >> >> Thank you. Can you please tell me how can I change the configure fil

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

2009-07-30 Thread n179911
ured out 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 wrote: >> >> Hi, >> >> I read this article: >> >> http://dev.chromium.org/developers/design-docum

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

2009-07-29 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 * kSBXProfileNoWriteExceptTempo

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

2009-07-28 Thread n179911
enderer-stp-dialog [2516:2055:3122095122007:WARNING:/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 wi

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

2009-07-26 Thread n179911
I tried 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 nev

[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 c

[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 Alfke 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 > * Make su

[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 pleas

[chromium-dev] Where is the implmentation of GraphincsContext::drawLine

2009-07-03 Thread n179911
Hi, In GraphicsContext.h, it has this method declaration: void drawLine(const IntPoint&, const IntPoint&); But can you please tell me where i can find the implementation of the method? I can't find that in GraphicsContext.cpp. I am looking for the implementation on MacOS X. Thank you. --~--~-

[chromium-dev] Re: Font handling in chromium

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

[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: sans-ser

[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 Walker 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 Walker wrote: >> There are no active plans at the moment, but it could be do

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

2009-06-28 Thread n179911
(which uses Skia for page rendering) > or the Windows version (which uses Skia for page rendering except for > text). > > --Amanda > > > On Sun, Jun 28, 2009 at 7:57 PM, n179911 wrote: >> >> Thank you to both answer. >> >> I am just running/debugging the T

[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 Langley wrote: > On Sun, Jun 28, 2009 at 2:58 PM, n179911 wrote: >> I assume the following fun

[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 SkCanvas

[chromium-dev] Rendering improvement of double byte language in Chrome

2009-06-26 Thread n179911
From: http://chrome.blogspot.com/2009/06/land-of-rising-chrome.html, it said Our Japanese engineers also figured out how to speed up Google Chrome's rendering of double-byte languages like Japanese, Chinese, and Korean. Can someone please help me what technique Chrome uses to speed up Chrome's

[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 IP

[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