when click some controls in the browser, the background only shows half

Change-Id: Ib89167c7b95144ed5e0a104792222c3a6b49bce9
Webkit: HTML5 video playback enhancement

1) Only update/repaint media control when it is visible.
   In webkit, The internal media controler bar will auto hide, when it is
   hide/transparent, We need not repaint the control bar.

2) Avoid media control update(start/stop) when recv timeupdate message from
   java side on Android platform.

   In ICS, there are two timeupdate event timer for HTML5 video, One is in
   Jave side, One is in Webcore. when video start to play, two timers also
   start. Each timer event(java side) will post a message to Webcore, then
   Webcore will update the playback position and call mediaPlayerTimeChanged.
   In mediaPlayerTimeChanged, It will post a async tinmeupdate event and call
   updatePlayState to do media control start/stop.
   1) For fullscreen mode, We should avoid do any composition (include media
      control update) in browser.
   2) For inline mode, We shoud avoid update the playback state, since we
      only update the playback position, not do start/pause/stop/error
      state change.

With above two changes, we cut away 10+FPS unnecessary/duplicated composition
in browser. Thus the Webcore can handle more video frame and the CPU utilization
also reduced ~1%.

Change-Id: I4992870dc546f000ca6f02cd3c7690e642c8f3dd
Author: Xuefeng Deng <xuefeng.deng@intel.com>
Signed-off-by: Xuefeng Deng <xuefeng.deng@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 27526
icc: Multiple method implementation

Sources contains 2 method implementations.
Implementations is wrapped by #ifdef/#ifndef dependent for
__ANDROID__ macro definition.

Change-Id: I6b464ca2d7c278c65515daa2834dc7059f958198
Signed-off-by: Sergey Melnikov <Sergey.Melnikov@intel.com>
Duplicate definitions

- svg/SVGAllInOne.cpp includes many files specified individually;
- html/HTMLDetailsElement.cpp is included from HTMLElementsAllInOne.cpp;
- platform/text/Hyphenation.cpp is a placeholder,
  implementation is in Source/WebCore/platform/text/android/HyphenationAndroid.cpp

Change-Id: I5a65f9fa916f6aae90c276ad71a2984576170f2d
Author: Dmitry Shkurko <Dmitry.V.Shkurko@intel.com>
Signed-off-by: Dmitry Shkurko <Dmitry.V.Shkurko@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-Tracking-BZ:42795
Fix crash in WebCore::PageGroup::localStorage()

Fix PageGroup::clearDomStorage(), caller or localStorage(),
to handle the case when there is no local storage namespace.
Add assertion in PageGroup::localStorage() to forbid
local storage namespace creation when there are no pages
in the group.

Change-Id: I67fcd1173700480845e904dfac9114e6c4b9e024
Support libpng 1.6.y

This is squashed support including two changes.
  1) a skia image encoder change which can't be upstreamed
     due to skia being removed from the project.

  2) r85181 from trunk which should already be in the AOSP
     project due to import history.

    r85181:
    2011-04-28  ojab  <ojab@ojab.ru>
      Reviewed by David Levin.

      Fix build with libpng-1.5.1
      https://bugs.webkit.org/show_bug.cgi?id=59607

      * platform/image-decoders/png/PNGImageDecoder.cpp:
        (WebCore::readColorProfile):

Change-Id: Ia605d76a61ddf585ae36b60752a74becbee3b3f4