[chromium-dev] How does chromium load font during page rendering

2009-06-01 Thread Lucius Fox
Hi, Can you please point me to the code (for mac os) where chromium load font during page rendering? for example, chromium needs to load the font matrix for the font specified by css/html for text to measure how much of it can fit on 1 line and wrap the rest for the next line? Thank you.

[chromium-dev] Re: media player - can't open movie from: error

2009-06-01 Thread avcoder
On May 29, 5:36 pm, mr mary.ri...@gmail.com wrote: Hi I  compiled the media project, and run player. How do you compile the player? I open chrome.sln by VS2005, It seems that media_player.vcproj is not included in chrome.sln I get a lot of link errors if I build media_player.vcproj

[chromium-dev] Re: mingw build of chromium?

2009-06-01 Thread Marc-Antoine Ruel
I think simply searching the code is better than trying to maintain a separate list: http://www.google.com/search?q=site:src.chromium.org/svn/trunk+atlbase++-stdafx+-third_partyhl=enfilter=0 There no more use of ATL in src/base/ at least. The biggest part to get rid of ATL will be replacing

[chromium-dev] Where is the code which chromium display the loading status

2009-06-01 Thread Daniel Dreiberg
Hi, When i load chromium on MacOS, it has 'Waiting...', 'Contacting..' status displayed at the bottom of the browser. Can you please tell me where is the code which display that? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list:

[chromium-dev] Re: Creating a bookmarklet extension

2009-06-01 Thread Aaron Boodman
bcc: chromium-dev cc: chromium-discuss Can you send the code for the complete toolstrip? - a On Sun, May 31, 2009 at 4:57 PM, Zak zakk...@gmail.com wrote: Hi, I'm really not a coding person, but I followed the documentation here:

[chromium-dev] Re: Creating a bookmarklet extension

2009-06-01 Thread Zak
You mean what I made that failed to work? my_toolstrip.html just contains: div class=toolstrip-button onclick=javascript:(function() {m='http://mail.google.com/mail/? ui=1view=cmfs=1tf=1to=su='+encodeURIComponent(document.title) +'body='+encodeURIComponent(document.location);w=window.open

[chromium-dev] Re: Creating a bookmarklet extension

2009-06-01 Thread Zak
Mohamed Mansour posted some code too, and suggested that I should use the Tabs API to accomplish this, but that it is incomplete. I don't really know how to utilize the code he posted. On Jun 1, 12:22 pm, Aaron Boodman a...@chromium.org wrote: bcc: chromium-dev cc: chromium-discuss Can

[chromium-dev] Re: Creating a bookmarklet extension

2009-06-01 Thread Aaron Boodman
There is a bug in the code. The string %20250 needs to have single quotes around it. If you add that, it works. But there are better ways to write this since you're not constrained to fit it all into a single javascript statement like you are with bookmarklets. You can learn how by just doing

[chromium-dev] Re: Creating a bookmarklet extension

2009-06-01 Thread Aaron Boodman
[giving up keeping this on chromium-discuss] Aha, I didn't look closely enough at the bookmarklet to see it was trying to get the title and url of the current page. The first pass of the tab API is complete now (yay rafaelw!). So you can do something like: chrome.tabs.getCurrent(null,

[chromium-dev] Re: An Introduction and a question

2009-06-01 Thread sidchat
The Editor in WebCore (Editor.cpp), which is a part of WebKit, asks for the spelling of a word in line 1474. The spelling-check is provided by us (Chromium) through the glue - in particular, editor_client_impl.cc in method checkSpellingOfString. Now, this guy uses a WebViewDelegate object to send

[chromium-dev] updating mouse pointer state

2009-06-01 Thread Evan Stade
Webkit updates the mouse pointer state (changes the cursor, hover-over, etc.) whenever it gets a mouse move event. (It should also do so when getting a scroll event, but doesn't, but that's a different matter.) However, it only gets mouse move events when it has focus. If you right click, a

[chromium-dev] [extensions] Text translate API proposal

2009-06-01 Thread Aaron Boodman
Some people have expressed interest in implementing a translate this page feature as an extension. This can be done as a content script today, but it requires heavy and tricky modification of the DOM which could introduce compat and performance problems. Because of these problems, I'm exploring

[chromium-dev] Re: [extensions] Text translate API proposal

2009-06-01 Thread Evan Martin
This feels kinda one-off-y to me. Is there any use of this *other* than running through Google Translate? I worry about adding a lot of API surface area for little gain. On Mon, Jun 1, 2009 at 11:29 AM, Aaron Boodman a...@chromium.org wrote: Some people have expressed interest in

[chromium-dev] Re: [extensions] Text translate API proposal

2009-06-01 Thread Aaron Boodman
On Mon, Jun 1, 2009 at 11:46 AM, Evan Martin e...@chromium.org wrote: This feels kinda one-off-y to me.  Is there any use of this *other* than running through Google Translate?  I worry about adding a lot of API surface area for little gain. That is one of the things I was concerned about

[chromium-dev] Re: [extensions] Text translate API proposal

2009-06-01 Thread Erik Kay
Similar to the translate, this feature could be used to support sites that use non-standard character set / font combinations (some indic websites depend on downloadable fonts and custom character sets). Also, if the API allowed styling of the text as opposed to just replacing it, then I could

[chromium-dev] CL 115977 will require clobber build

2009-06-01 Thread 王重傑
I will be checking in a /D change to essential.vsprops that requires a clobber build. The change is to enable TR1 for VS2008 SP1 so that gmock can compile on that platform. I'm running through the clobber builds locally right now, and will probalby submit the change tomorrow morning. Will send

[chromium-dev] How does chromium handle 'Back' functionality

2009-06-01 Thread Lucius Fox
Hi, Lets say i have 1 tab and I load 3 sites. 1. www.cnn.com 2. www.yahoo.com 3. www.aol.com -- the current page What happens when users click 'Back'? does chromium keep www.yahoo.com/www.cnn.com in memory? if yes, how many pages it can keep in memory? Or chromium just reload the page from

[chromium-dev] [linux] nested messageloop patch landed

2009-06-01 Thread Evan Martin
Antoine wrote a patch to make nested message loops work on Linux. http://codereview.chromium.org/115812 It's always a bit scary touching the message loop code, but this will fix two real issues we know about: - file save dialogs crash on some subset of platforms - copy and paste crashers My

[chromium-dev] Re: [extensions] Text translate API proposal

2009-06-01 Thread Alex Russell
On Jun 1, 2009, at 12:00 PM, Erik Kay wrote: Similar to the translate, this feature could be used to support sites that use non-standard character set / font combinations (some indic websites depend on downloadable fonts and custom character sets). Also, if the API allowed styling of

[chromium-dev] API design, class and function naming

2009-06-01 Thread Benjamin
I recently went though and watch the various tech talk videos that were put up. In a number of cases the speaker mentioned how the naming of a function/class could have been better or that it could be confused with something else. This was best highlighted in Chromium's multi-process

[chromium-dev] Re: media player - can't open movie from: error

2009-06-01 Thread avcoder
On Jun 2, 12:42 am, Andrew Scherkus scher...@chromium.org wrote: The way I usually build the player is to run gyp (solution file generator) on /media/media.gyp, which generates /media/media.sln gyp is located under /tools/gyp/gyp.bat Get it! Thanks a lot

[chromium-dev] Feature freeze for our next beta branch coming this Friday

2009-06-01 Thread Anthony LaForge
In our efforts to release early and release often we will have a feature freeze this Friday (June 5th, 2009) for Mstone:3, prior to cutting our anticipated beta branch. Please focus your energies on closing out high priority (0, 1, 2) mstone:3 issues. If all is successful, this branch release

[chromium-dev] Re: [extensions] Text translate API proposal

2009-06-01 Thread Alex Russell
I understand the proposal, and am suggesting that having content scripts might be a saner thing to do if they need to do less custom stuff to get the job done. The API that locates the stuff could be separate, but the transformation code feels like a natural content- script task and one

[chromium-dev] Re: How does chromium handle 'Back' functionality

2009-06-01 Thread Darin Fisher
When navigating back, we reload the page. However, we set a flag to indicate that cached content should always be preferred even if it is stale. That is consistent with all other major browsers with one exception: some of the other major browsers implement a page cache, which holds the DOM of

[chromium-dev] Re: How does chromium handle 'Back' functionality

2009-06-01 Thread Lucius Fox
On Mon, Jun 1, 2009 at 10:50 PM, Darin Fisher da...@chromium.org wrote: When navigating back, we reload the page.  However, we set a flag to indicate that cached content should always be preferred even if it is stale. Thank you. But what do you mean when you said cached content should always