summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/ViewManager.java
Commit message (Collapse)AuthorAgeFilesLines
* Delete the old WebView.Torne (Richard Coles)2013-10-151-296/+0
| | | | | | | | | Delete all the Java classes used only by the old WebView implementation, and also sections of common classes that were only needed for the old WebView. Bug: 10427705 Change-Id: I02549a71104b35d86d99058c71f43e054730ec7d
* Refactor WebView to be a thin proxy classJonathan Dixon2012-03-021-7/+7
| | | | | | | | | | | | | | | | Splits interface and implementation; all client calls are forwarded to an abstract WebViewProvider interface, and the existing implementation moved into the WebViewClassic implementor of this interface. Originally taken from a snapshot from the development branch, by: git diff HEAD 9a4c328a54cc05e5 | git apply - but then rebased to keep up to date with master Interdepends on webkit and Browser changes: https://android-git.corp.google.com/g/158979 https://android-git.corp.google.com/g/167911 Change-Id: I91403f32654ff308934e95c832d17b292a7d9b2e
* Post a message to set SurfaceView to be visible whenGrace Kloba2010-04-211-1/+8
| | | | | | | we switch to use the layout size. Otherwise it will first use the old dimension which can exceed the limit, which in turn causes the Browser to crash. Fix http://b/issue?id=2616263
* retool resize logic to use max dimension and max area.Mike Reed2010-04-161-40/+49
| | | | | Change-Id: I32446b41afe9e7c241868c0cb7b9b7d9056b2d38 http://b/issue?id=2598253
* fixing problem with allocating too much memory to a surface by fixingDerek Sollenberger2010-03-231-28/+74
| | | | | | | | | | | | the size of the surface when it exceeds a threshold and resizing the surface when it falls beneath the threshold. This change also causes the surface to fix its size while it is being zoomed in order to prevent the surface from getting multiple surfaceChangedEvents as the result of a zoom. This also allows us to have a smooth zoom animation for the surface. Change-Id: I30e208f98d3a32660032bf1df9de77d0a813d756
* create absolute layout if view layout can't be reusedCary Clark2010-03-191-6/+8
| | | | | | | | | The existing view layout may not be an absolute layout, and will throw a ClassCastException. Check to see if it is compatible before the cast. Change-Id: I7309600a1e7405a29e49a3bab469a164d51126ae http://b/2526854
* Plugin surfaces will be limited to 270% of the devices screen size.Derek Sollenberger2010-03-161-1/+9
| | | | Change-Id: I7e5ff1f5b8919b9e2e70a703009f9544f457a0e1
* Restrict plugins to a fixed size surface after exceeding a pixel threshold.Derek Sollenberger2010-03-161-11/+41
| | | | | | fixes bug: http://b/issue?id=2428737 Change-Id: I8d8f2c591ac8539a345e0167b05bec8539f34535
* Implement smart-zoom per Adobe request.Grace Kloba2010-03-111-0/+15
| | | | | | | When double tap on plugin object, we toggle between centering plugin object and overview mode. Fix http://b/issue?id=2501726
* Address the multiple resizing during initializingGrace Kloba2009-12-201-1/+23
| | | | | | | problem adobe run into. When a child view is created, we first hide it if the webview is not ready to draw yet. This will avoid the multiple resizing notification.
* Clean up from earlier changes to place title bar at top of WebViewLeon Scroggins2009-09-041-5/+13
| | | | | | | | | | Rename addTitleBar to setEmbeddedTitleBar. This requires a change to packages/apps/Browser. Also remove mTitleBar if there already was one. In ViewManager, call contentToViewDimension where appropriate. Change-Id: If4d378fad192990253411924a9a80bee96e63ff2
* Attach the title bar to the top of the page.Leon Scroggins2009-09-031-9/+21
| | | | | | | | | | | | | Remove the old notions of changing the viewing mode resulting in changing the visibility of the title bar. Instead, attach the title bar to the top of the page. Change contentToView() to contentToViewY() (and an X version; same change for viewToContent), to account for the title bar's height. Adjust the parameters for drawing the scroll bar to account for the title bar. Requires a change to packages/apps/Browser. Change-Id: Ic0f7d6e0a1cce58ba2bca87337cf72a8194e9aa4
* Add fullscreen support back in.Andrei Popescu2009-07-081-4/+12
|
* Basic changes to get embedded video working.Patrick Scott2009-07-061-0/+129
Add the ViewManager class to handle child views within a WebView. This class attaches and removes the views in the UI thread. It also scales the layout params based on the scale of the WebView.