[chromium-dev] gfx::Font and WebCore::Font

2010-01-18 Thread hap 497
There are 2 Font classes in chromium code: app/gfx/Font.h third_party/WebKit/WebCore/platform/graphics/Font.h Can you please tell me what is the purpose of each one (specifically on Linux)? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change

Re: [chromium-dev] How can I tell if a Renderer process finishes loading a page

2010-01-11 Thread hap 497
:15 AM, hap 497 hap...@gmail.com wrote: So how does renderer process knows the whole page is loaded completely and tell the browser process to stop the spinning icons and shows the favicon of the page? Sounds like you should start by looking in the browser for what controls the throbber

[chromium-dev] Question about GraphicsContext clipOut() function

2010-01-10 Thread hap 497
Hi, Can you please help me understand clipOut() function supposed to do? My understanding is GraphicsContext::clip() function is setting the clipping rectangle of the graphics context, only operations within the clipping rectangle will be shown. But what is the purpose of clipOut() function?

[chromium-dev] How can I tell if a Renderer process finishes loading a page

2010-01-09 Thread hap 497
In chromium, it has 2 parts: browser process and renderer process? How does the renderer process know the page is finished loading (all css/js are loaded, all images, and all frames/iframes are loaded? I have tried setting up breakpoints in RenderView::didFinishLoad(), but for a page with

[chromium-dev] Chromium Unit Test Cases for HTTP Post

2010-01-06 Thread hap 497
Hi, Can you please tell me if there is Chromium Unit Test Case for HTTP Post? All the test cases I found are doing HTTP Get. And in the AutomationProvider, there is only a NavigateToURL function. I think there is only for HTTP Get. Thank you for any suggestion. -- Chromium Developers mailing

Re: [chromium-dev] Chromium Unit Test Cases for HTTP Post

2010-01-06 Thread hap 497
tests in url_request_unittest.cc -Darin On Wed, Jan 6, 2010 at 9:26 AM, hap 497 hap...@gmail.com wrote: Hi, Can you please tell me if there is Chromium Unit Test Case for HTTP Post? All the test cases I found are doing HTTP Get.  And in the AutomationProvider, there is only a NavigateToURL

[chromium-dev] How to launch chromium with Automation Provider

2009-12-31 Thread hap 497
Hi, Can you please tell me what are the command line parameters I need to pass in when I launch chromium if I want chromium to start Automation Provider as well? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe:

[chromium-dev] How does make determine which files to compile in chromium

2009-12-30 Thread hap 497
Hi, Can you please tell me how does make determine which files to compile in chromium? I add a test.cc file under chrome/browser, and then do 'make out/Debug/chrome' again, but nothing is compiled. I have looked for *.mk file to find the list of files to compile, but nothing like that is there.

[chromium-dev] Question about chromium architecture document

2009-12-28 Thread hap 497
In http://www.chromium.org/developers/design-documents/multi-process-architecture, it mentions: Each render process has one or more RenderView objects, managed by the RenderProcess, which correspond to tabs of content. My question is if there is 1 Process per tab, that means there is 1

[chromium-dev] How can I remove .o objects in linux

2009-11-22 Thread hap 497
Hi, I follow this instruction in building chromium on linux. http://code.google.com/p/chromium/wiki/LinuxBuildInstructions Can you please tell me how can I remove all .o after the build? I tried 'make clean', but it said there is no 'clean' target'. Thank you. -- Chromium Developers mailing

[chromium-dev] Link error when compiling chromium on ubuntu 9.10

2009-11-22 Thread hap 497
Hi, I am tying to compile chromium on ubuntu 9.10. I think the compilation went fine. I just get an error in linking. $ make -j5 chrome LINK(target) out/Debug/chrome collect2: ld terminated with signal 9 [Killed] make: *** [out/Debug/chrome] Error 1 $ make out/Debug/chrome LINK(target)

[chromium-dev] Does Chromium MacOSX always create NSButtonCell for each html input submit button

2009-10-09 Thread hap 497
Hi, Does Chromium MacOSX always create NSButtonCell for each html input submit button? I put a printf() statement in ThemeChromiumMac.mm: static NSButtonCell* button(ControlPart part, ControlStates states, const IntRect zoomedRect, float zoomFactor). It gets called and create a NSButtonCell for

[chromium-dev] Re: Does Chromium MacOSX always create NSButtonCell for each html input submit button

2009-10-09 Thread hap 497
, 2009 at 4:44 PM, Avi Drissman a...@chromium.org wrote: You found it. At the beginning of the function you see:     static NSButtonCell *buttonCell;     //...     if (!buttonCell) { There is only one cell created ever, and it's reused. Avi On Fri, Oct 9, 2009 at 4:20 PM, hap 497 hap

[chromium-dev] Re: Does Chromium MacOSX always create NSButtonCell for each html input submit button

2009-10-09 Thread hap 497
test page for this. On Fri, Oct 9, 2009 at 5:02 PM, hap 497 hap...@gmail.com wrote: Sorry, maybe I used a wrong term in asking my question. I think I am looking for the code which chormium create a native UI widget for each html input submit button in the html source.  I assume chromium needs

[chromium-dev] networking code in src/third_party/WebKit/WebCore/platform/network/mac

2009-10-06 Thread hap 497
Hi, Can you please tell me if chromium on Mac OS X uses the networking code in src/third_party/WebKit/WebCore/platform/network/mac? Or the code there is for Webkit? I asked because chromium has this 'sandbox' architecture, so I am not sure if chromium's networking code is totally different

[chromium-dev] Where I can find the all.xcodeproj for building chromium on MacOSX

2009-09-30 Thread hap 497
Hi, I am following this instruction to build chromium on MacOSX. http://code.google.com/p/chromium/wiki/MacBuildInstructions But I can't find the all.xcodeproj for it. This is the content of my build directory: $ ls README.chromiumcommon.gypiinstall-build-deps.sh*

[chromium-dev] Question about ResourceDispatcher in handling http post

2009-09-19 Thread hap 497
Hi, My understand is chromium RenderView create a IPCResourceLoaderBridge everytime ResourceDispatcher needs to make a HTTP Get and HTTP Post. My question is how does the HTTP Post data being pass to IPCResourceLoaderBridge? I created a simple form: FORM

[chromium-dev] How to use automation to do form submission?

2009-09-10 Thread hap 497
Hi, From looking at tab_proxy.cc, there is a way to load the browser with a specified URL: TabProxy::NavigateToURL(const GURL url); But Is there anyway to do a form submission to the browser (Http post with form submission data)? If there is no existing API for that purpose, how can I write

[chromium-dev] Re: how to run chromium with 'automation' enabled?

2009-09-04 Thread hap 497
a small driver program to launch the browser in a similar way UI test does, and uses the AutomationProxy to send it NavigateToURL message. You may also want to take a look how page_cycler tests work. They just tell the browser to load a set of URLs. On Thu, Sep 3, 2009 at 13:25, hap 497 hap

[chromium-dev] Re: how to run chromium with 'automation' enabled?

2009-09-03 Thread hap 497
. And I'll repeat my question: what is your goal? I might guess that you are trying to re-use the browser between test runs. It may be a bad example, but in that case there is a much better (and easier!) way to do that. On Wed, Sep 2, 2009 at 19:18, hap 497 hap...@gmail.com wrote: Thank you

[chromium-dev] how to run chromium with 'automation' enabled?

2009-09-02 Thread hap 497
Hi, Can you please tell me how can I run chromium with 'automation' enabled? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe:

[chromium-dev] Re: Question about PackageManager's queryIntentActivities() method

2009-09-02 Thread hap 497
All, Sorry. I apologize for my mistake. On Wed, Sep 2, 2009 at 11:34 AM, Amanda Walkerama...@chromium.org wrote: This sounds like an Android question.  Did you send this to the wrong mailing list? --Amanda On Wed, Sep 2, 2009 at 12:23 PM, hap 497 hap...@gmail.com wrote: Hi, When I

[chromium-dev] How to run chrom automation test

2009-08-28 Thread hap 497
Hi, In src/chrome/test/automation, it has a automation_proxy_uitest.cc, How can I run the automation test on MacOSX? I see that is a directory xcodebuild/chrome.build/Debug/automated_ui_tests.build, but there is no *.app under there. Thank you for any tip.

[chromium-dev] Re: How to run chrom automation test

2009-08-28 Thread hap 497
Thank you. I ran the Automation UI test by ./ui_tests --gtest_filter=Automation* Can you please tell me how can I run it in XCode so that I can debug/step thru each Test Case? On Fri, Aug 28, 2009 at 7:20 AM, Nico Weber tha...@chromium.org wrote: Most (all?) of the uitests are compiled into

[chromium-dev] Re: Question about resource_dispatcher_host.h

2009-08-27 Thread hap 497
On Mon, Aug 24, 2009 at 1:26 PM, John Abd-El-Malek j...@chromium.org wrote: On Mon, Aug 24, 2009 at 1:06 PM, Brett Wilson bre...@chromium.org wrote: On Mon, Aug 24, 2009 at 12:49 PM, hap 497hap...@gmail.com wrote: Thanks. But the picture in the document shows there is only 1

[chromium-dev] How to generate file under webkit.build/DerivedSources/Debug/bindings

2009-08-25 Thread hap 497
Hi, Can you please tell me how to generate filees under webkit.build/DerivedSources/Debug/bindings? For example V8CanvasRenderingContext.cpp or /V8CanvasPixelArray.cpp? I think it is generated by this script in Webkit source: ./WebCore/bindings/scripts/generate-bindings.pl But when I cd to my

[chromium-dev] Question about resource_dispatcher_host.h

2009-08-24 Thread hap 497
From http://dev.chromium.org/developers/design-documents/multi-process-architecture, Resoruce dispatcher Host should have the list of all the channel opened with each Renderer Process. But when I look at the resource_dispatcher_host.h, I dont' find any attribute of ResourceDispatcherHost which

[chromium-dev] Re: Question about resource_dispatcher_host.h

2009-08-24 Thread hap 497
, Aug 24, 2009 at 12:37 PM, Jeremy Orlow jor...@google.com wrote: There's one host per renderer, so there's no need for any list. On Mon, Aug 24, 2009 at 11:22 AM, hap 497 hap...@gmail.com wrote: From http://dev.chromium.org/developers/design-documents/multi-process-architecture, Resoruce

[chromium-dev] Re: Use git to checkout chromium source

2009-08-21 Thread hap 497
is the purpose of the commadn 'i gclient runhooks --force'? ajwong$ i=`head ~/src/git-chrome/src/DEPS | grep webkit_revision | cut -d '' -f4`; git checkout -b $i `git svn find-rev r$i` ajwong$ i gclient runhooks --force On Thu, Aug 20, 2009 at 8:42 PM, hap 497 hap...@gmail.com wrote: Hi, I

[chromium-dev] Re: Question about how to skip a directory in gclient sync

2009-08-21 Thread hap 497
Sorry, I find out answer to my problem. I need to put the directory name same as the ones listed in DEPS. On Fri, Aug 21, 2009 at 10:07 PM, hap 497 hap...@gmail.com wrote: Hi, I have added 'src/third_party/WebKit/WebKit: None,' to my .gclient file. But when I do 'gclient sync

[chromium-dev] Question about how to skip a directory in gclient sync

2009-08-21 Thread hap 497
Hi, I have added 'src/third_party/WebKit/WebKit: None,' to my .gclient file. But when I do 'gclient sync', it still tries to sync up a subdirectory 'mac', under src/third_party/WebKit/WebKit. $ gclient sync found .git directory; skipping src svn:

[chromium-dev] Use git to checkout chromium source

2009-08-20 Thread hap 497
Hi, I have followed the steps here in checking out chromium using git and the rest of the code using svn: http://code.google.com/p/chromium/wiki/UsingGit I am able to build successfully locally on my MacOSX. From this thread, it looks like I can use git to checkout WebKit source (instead of

[chromium-dev] Question about render Message between Browser and Renderer

2009-08-18 Thread hap 497
Hi, I appreciate if someone can help me understand what is the Message send from Browser to Renderer in the case of html form submission. I think the message ViewMsg_Navigate_Params is for HTTP get only, not for HTTP post, since I dont' see any attribute in that struct to store form submission

[chromium-dev] Re: Question about render Message between Browser and Renderer

2009-08-18 Thread hap 497
Thanks. I did debug on Renderer process. As a matter for fact, This breakpoint 'WebFrameLoaderClient::dispatchWillSendRequest() breaks, but this 'WebFrameLoaderClient::dispatchWillSubmitForm()' does not. I was doing a 'google search' (i.e. enter text in search box, and click 'Search' in google

[chromium-dev] RenderView page ID

2009-08-16 Thread hap 497
From this documentation, http://dev.chromium.org/developers/how-tos/getting-around-the-chrome-source-code it said each RenderView has a page ID. But from RenderView.h, I dont see any attribute for page ID. Can you please tell me where does RenderView keeps its page ID? Thank you.