19 Commits

Author SHA1 Message Date
Nicolas Roard
4d49c7f04a Simplify Youtube <embed> management
When we encounter youtube <embed> objects, we replace them on the fly
with an element that will redirect to the youtube application.
Currently, this element is a canvas, that we add to the document wrapped
into a Frame. This cause some problems when we switch to have canvas
elements on their own individual layer (which drastically improves
performances). Note that we do support correctly composited layers
into frameset/iframes on normal websites, the problems we see here
are due to us creating the frame on the fly, messing with webkit's
compositing logic.
This CL rewrite the HTML code we insert to not use canvas and instead
use normal html elements positioned via CSS. This work around the
composited canvas issue as well as simplifying the code.

Change-Id: Ie6043f9445e8bc191b229db9f9ff5de192d8b5db
2012-02-21 16:00:42 -08:00
John Reck
e4fee50558 Fix spacing issue
Bug: 3432069

Change-Id: If58d19cacb99f3ab7fdc4d8fdbb86f0853010ed1
2011-02-10 11:33:35 -08:00
Ben Murdoch
0de27439a6 Create a better placeholder for YT videos when flash is not installed.
Only stretch the placeholder image in one dimension. This closer matches
what the desktop browsers seem to do.

Bug: 3125797
Change-Id: Id0a395c4b784d0b7368e1c7ba6544b25903430bb
2010-12-22 16:46:31 +00:00
Elliott Slaughter
d62847997b Fix WebView saveState and restoreState for private browsing mode.
Change-Id: Ia254ee853d73e56c6f0a5b7762a1cefc1dad0894
2010-08-23 09:59:10 -07:00
Shimeng (Simon) Wang
bcf8591c85 Add English hyphenation dictionary into frameworks/base asset.
issue: 2672163
Change-Id: Idf3ff164f41ae95448519b14666f03fb59dada97
2010-05-28 16:25:08 -07:00
Leon Clarke
650e3d31db New assets for http://b/issue?id=2506670
Change-Id: I989db44c3b2907f8a1b2d5db3709bfcd166d332a
2010-04-26 12:33:09 +01:00
Leon Clarke
6fad943d19 http://b/issue?id=2516676
Correctly scale the play button and youtube logo when embedded
youtube videos are displayed at smaller than the suggested size.
2010-03-25 14:19:06 +00:00
Patrick Scott
f60ce402dd Remove old asset.
Change-Id: I5b4bdb6b038bba3eb2f03c6f53541d99fab0bad5
2010-03-24 14:28:55 -04:00
Patrick Scott
300f2e95a4 Add on-demand setting for plugins.
Deprecate the old apis for enabling plugins in favor of the multi-state plugin
flag. Add the assets for WebView to display the plugin placeholder for on-demand
plugins.

Bug: 2411524
Change-Id: I5a35cc6d0afced1489f54d4dcb8bb92d36de52d8
2010-03-23 16:35:37 -04:00
Patrick Scott
656c037c80 Fix the youtube placeholder.
The table was causing some problems if the image was too big.

Bug: 2175973
2009-10-12 12:52:33 -04:00
Leon Clarke
adff654271 Make the text bit transparent to allow the correct color to show through 2009-10-05 15:17:34 +01:00
Mathias Agopian
db9540e7b3 Automated import from //branches/master/...@141533,141533 2009-03-24 20:29:58 -07:00
Mathias Agopian
b2cf954cb4 Automated import from //branches/master/...@140808,140808 2009-03-24 18:34:16 -07:00
The Android Open Source Project
105925376f auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:46 -07:00
The Android Open Source Project
4df2423a94 auto import from //depot/cupcake/@136594 2009-03-05 14:34:35 -08:00
The Android Open Source Project
9066cfe988 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce auto import from //depot/cupcake/@135843 2009-03-03 18:28:45 -08:00
The Android Open Source Project
f013e1afd1 Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:43 -08:00
The Android Open Source Project
54b6cfa9a9 Initial Contribution 2008-10-21 07:00:00 -07:00