am 2705c8f0: Merge "DO NOT MERGE. force plugins to render on top of browser content." into eclair-mr2
Merge commit '2705c8f09975f1bf10c84af323a67c104a177129' into eclair-mr2-plus-aosp * commit '2705c8f09975f1bf10c84af323a67c104a177129': DO NOT MERGE. force plugins to render on top of browser content.
This commit is contained in:
@@ -2346,6 +2346,9 @@ final class WebViewCore {
|
|||||||
// ensures the view system knows the view can redraw itself
|
// ensures the view system knows the view can redraw itself
|
||||||
pluginView.setWillNotDraw(false);
|
pluginView.setWillNotDraw(false);
|
||||||
|
|
||||||
|
if(pluginView instanceof SurfaceView)
|
||||||
|
((SurfaceView)pluginView).setZOrderOnTop(true);
|
||||||
|
|
||||||
ViewManager.ChildView view = mWebView.mViewManager.createView();
|
ViewManager.ChildView view = mWebView.mViewManager.createView();
|
||||||
view.mView = pluginView;
|
view.mView = pluginView;
|
||||||
view.attachView(x, y, width, height);
|
view.attachView(x, y, width, height);
|
||||||
|
|||||||
Reference in New Issue
Block a user