There is not time line display in html5 inline-video in Android4.0(ics), with 
webkit version of 

However, in my investigation, it shows that the timeline container and time 
line are all created and added into panel of media controller.

01-02 00:02:07.330 D/MediaControlRootElement( 1633): going to create 
timelineContainer...
01-02 00:02:07.330 D/MediaControlRootElement( 1633): going to create 
currentTimeDisplay...
01-02 00:02:07.330 D/MediaControlRootElement( 1633): going to create timeline...
01-02 00:02:07.330 D/MediaControlRootElement( 1633): going to create 
timeRemainingDisplay...
01-02 00:02:07.330 D/MediaControlRootElement( 1633): going to create append 
timelineContainer into panel...
01-02 00:02:07.330 D/MediaControlRootElement( 1633): going to create 
fullScreenButton...
01-02 00:02:07.330 D/MediaControlRootElement( 1633): going to create 
panelMuteButton...


Moreover, the logs show that in the play interval, the time display is updating:

01-02 00:02:07.360 D/MediaControlRootElement( 1633): updateTimeDisplay...
01-02 00:02:07.360 D/MediaControlRootElement( 1633): Allow the theme to format 
the time...
01-02 00:02:07.360 D/RenderTheme( 1633): formatMediaControlsCurrentTime:0.000000
01-02 00:02:07.360 D/RenderTheme( 1633): 
formatMediaControlsRemainingTime:-1.000000


So, what is wrong with the time line drawing process?

Any reference about time line drawing of html5 video-inline controls are 
welcomed.

Thank you.


________________________________________
发件人: [email protected] 
[[email protected]] 代表 [email protected] 
[[email protected]]
发送时间: 2012年6月19日 22:01
到: [email protected]
主题: webkit-help Digest, Vol 36, Issue 10

Send webkit-help mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of webkit-help digest..."


Today's Topics:

   1. Re: How webkit compile generated js binding src? (Erik Arvidsson)
   2. Re: How webkit compile generated js binding src? (??)
   3. Re: How webkit compile generated js binding src? (??)


----------------------------------------------------------------------

Message: 1
Date: Mon, 18 Jun 2012 11:03:42 -0700
From: Erik Arvidsson <[email protected]>
To: ?? <[email protected]>
Cc: [email protected]
Subject: Re: [webkit-help] How webkit compile generated js binding
        src?
Message-ID:
        <CAJ8+Goi-t15Gs8cjqsaQvYRyWwhwHfKY8uUBTgt4iyDAw=5...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

The h/cpp files are generated using CodeGeneratorJS.pm by reading idl files.

Usually it is enough to just modify an idl file or add a new idl file.
Try looking at the change history of one the newer idl files and you
should be able to figure out what you need to do to add a new idl
file.

On Fri, Jun 15, 2012 at 8:41 PM, ?? <[email protected]> wrote:
> Hi, friends
> I am trying to extend webkit js api for my project,? my development tools
> are VS2010+cygwin+webkit+cairo port.
> And i am confused that how to compile generated js binding src, such as
> JSxxx.cpp and JSxxxCustom.cpp.
> I found the two files: JSBindingsAllInOne.cpp and DerivedSources.cpp in the
> webkit source directory which includes all JSxxx.cpp and JSxxxCustom.cpp
> files.
> I supposed that build system's script will modified these two files to
> insert the new generated binding files,
> but i noticed that these two files are not touched by script when I compile
> the webkit.
> Should I insert the JSxxx.cpp/JSxxxCustom.cpp into them by manual or may I
> just made a mistake?
>
> Any reference about extending js are welcomed.
>
> Thank you
>
> _______________________________________________
> webkit-help mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>



--
erik


------------------------------

Message: 2
Date: Tue, 19 Jun 2012 10:40:14 +0800
From: ?? <[email protected]>
To: Erik Arvidsson <[email protected]>
Cc: [email protected]
Subject: Re: [webkit-help] How webkit compile generated js binding
        src?
Message-ID:
        <cacs_ahxraztadjg-yquog8ttjkx-axjhr2ncosgd1jo_240...@mail.gmail.com>
Content-Type: text/plain; charset="gb2312"

Thank you Erik,
I have tried to add a method for Navigator with [supplemental ] idl
attribute
1) I defined the idl file NavigatorMyHello.idl and src files
(NavigatorMyHello.cpp and  NavigatorMyHello.h )
module window {

     interface [
         Conditional=MY_HELLO,
         Supplemental=Navigator
     ] NavigatorMyHello {
         DOMString MySayHello();
     };

}

2) Move the 3 files into WebCore/Modules/myhello/  directory.

3) Add the NavigatorMyHello.cpp and NavigatorMyHello.h into WebCore project
by vs2010.

4) Add WebCore/Modules/myhello/ as include path of WebCore project by vs2010

5) Modify source/WebCore/DerivedSources.make to add the idl directory and
idl file name
6) run "build-webkit --wincairo"

I noticed the binding script has changed the JSNavigator.cpp with the
correct binding code.

But when MSBuild compile JSNavigator.cpp, it complains that "fatal error
C1083: could not open include file: 'NavigatorMyHello.h': No such file or
directory".
I have added the include path "WebCore/Modules/myhello/" into webcore
project with vs2010, but it continues the complains.

Did I make any mistake or lose any step?
Thank you.




2012/6/19 Erik Arvidsson <[email protected]>

> The h/cpp files are generated using CodeGeneratorJS.pm by reading idl
> files.
>
> Usually it is enough to just modify an idl file or add a new idl file.
> Try looking at the change history of one the newer idl files and you
> should be able to figure out what you need to do to add a new idl
> file.
>
> On Fri, Jun 15, 2012 at 8:41 PM, ?? <[email protected]> wrote:
> > Hi, friends
> > I am trying to extend webkit js api for my project,  my development tools
> > are VS2010+cygwin+webkit+cairo port.
> > And i am confused that how to compile generated js binding src, such as
> > JSxxx.cpp and JSxxxCustom.cpp.
> > I found the two files: JSBindingsAllInOne.cpp and DerivedSources.cpp in
> the
> > webkit source directory which includes all JSxxx.cpp and JSxxxCustom.cpp
> > files.
> > I supposed that build system's script will modified these two files to
> > insert the new generated binding files,
> > but i noticed that these two files are not touched by script when I
> compile
> > the webkit.
> > Should I insert the JSxxx.cpp/JSxxxCustom.cpp into them by manual or may
> I
> > just made a mistake?
> >
> > Any reference about extending js are welcomed.
> >
> > Thank you
> >
> > _______________________________________________
> > webkit-help mailing list
> > [email protected]
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
> >
>
>
>
> --
> erik
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.webkit.org/pipermail/webkit-help/attachments/20120619/1dbe86fb/attachment-0001.html>

------------------------------

Message: 3
Date: Tue, 19 Jun 2012 16:13:00 +0800
From: ?? <[email protected]>
To: Erik Arvidsson <[email protected]>
Cc: [email protected]
Subject: Re: [webkit-help] How webkit compile generated js binding
        src?
Message-ID:
        <CACs_AHXZWk-z_Kr8N9X4vvHX3_AmDJS=DPpp+PLyxp-XX4=6...@mail.gmail.com>
Content-Type: text/plain; charset="gb2312"

Done.
I modified the vs2010 "webcore.vcxproj" and "webcorecommon.props" .
It works.

2012/6/19 ?? <[email protected]>

> Thank you Erik,
> I have tried to add a method for Navigator with [supplemental ] idl
> attribute
> 1) I defined the idl file NavigatorMyHello.idl and src files
> (NavigatorMyHello.cpp and  NavigatorMyHello.h )
> module window {
>
>      interface [
>          Conditional=MY_HELLO,
>          Supplemental=Navigator
>      ] NavigatorMyHello {
>          DOMString MySayHello();
>      };
>
> }
>
> 2) Move the 3 files into WebCore/Modules/myhello/  directory.
>
> 3) Add the NavigatorMyHello.cpp and NavigatorMyHello.h into WebCore
> project by vs2010.
>
> 4) Add WebCore/Modules/myhello/ as include path of WebCore project by
> vs2010
>
> 5) Modify source/WebCore/DerivedSources.make to add the idl directory and
> idl file name
> 6) run "build-webkit --wincairo"
>
> I noticed the binding script has changed the JSNavigator.cpp with the
> correct binding code.
>
> But when MSBuild compile JSNavigator.cpp, it complains that "fatal error
> C1083: could not open include file: 'NavigatorMyHello.h': No such file or
> directory".
> I have added the include path "WebCore/Modules/myhello/" into webcore
> project with vs2010, but it continues the complains.
>
> Did I make any mistake or lose any step?
> Thank you.
>
>
>
>
> 2012/6/19 Erik Arvidsson <[email protected]>
>
>> The h/cpp files are generated using CodeGeneratorJS.pm by reading idl
>> files.
>>
>> Usually it is enough to just modify an idl file or add a new idl file.
>> Try looking at the change history of one the newer idl files and you
>> should be able to figure out what you need to do to add a new idl
>> file.
>>
>> On Fri, Jun 15, 2012 at 8:41 PM, ?? <[email protected]> wrote:
>> > Hi, friends
>> > I am trying to extend webkit js api for my project,  my development
>> tools
>> > are VS2010+cygwin+webkit+cairo port.
>> > And i am confused that how to compile generated js binding src, such as
>> > JSxxx.cpp and JSxxxCustom.cpp.
>> > I found the two files: JSBindingsAllInOne.cpp and DerivedSources.cpp in
>> the
>> > webkit source directory which includes all JSxxx.cpp and JSxxxCustom.cpp
>> > files.
>> > I supposed that build system's script will modified these two files to
>> > insert the new generated binding files,
>> > but i noticed that these two files are not touched by script when I
>> compile
>> > the webkit.
>> > Should I insert the JSxxx.cpp/JSxxxCustom.cpp into them by manual or
>> may I
>> > just made a mistake?
>> >
>> > Any reference about extending js are welcomed.
>> >
>> > Thank you
>> >
>> > _______________________________________________
>> > webkit-help mailing list
>> > [email protected]
>> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>> >
>>
>>
>>
>> --
>> erik
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.webkit.org/pipermail/webkit-help/attachments/20120619/7deff5d3/attachment-0001.html>

------------------------------

_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


End of webkit-help Digest, Vol 36, Issue 10
*******************************************
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to