summaryrefslogtreecommitdiffstats
path: root/android_webview/browser/test
Commit message (Collapse)AuthorAgeFilesLines
* Unit Test for WebView animating in and out of screenhush2015-03-204-30/+25
| | | | | | | | | | This makes sure we don't break crbug.com/417479. BUG= Review URL: https://codereview.chromium.org/1002013003 Cr-Commit-Position: refs/heads/master@{#321496}
* OffscreenPreRaster and its plumbingshush2015-02-251-0/+1
| | | | | | | | | | | | | | | If OffscreenPreRaster is enabled, the viewport rect for tile priority and the tile memory limit calculation will be based on the size of the webview, instead of the size of visible area of the webview. Design doc here https://docs.google.com/document/d/1xOMjvbEIS3dMzpWXWrsl7qV8QOgGEIZL1QxgnfOXmq4/ BUG=460638 Review URL: https://codereview.chromium.org/944053004 Cr-Commit-Position: refs/heads/master@{#318126}
* Rename [Ii]nvalidateOnFunctorDestroy to [dD]etachFunctorFromViewtobiasjs2015-02-182-2/+2
| | | | | | | | | | | | | | | | | | | Better naming to reflect the actual intent of the call. move to invalidateOnFunctorDestroy Move detachGLFunctor call before hardware teardown. By not detaching the GL functor until after the teardown, we ran the risk of stray draw calls occurring that could potentially reinitialize the hardware renderer, causing the SharedRendererState destructor to DCHECK. BUG= Review URL: https://codereview.chromium.org/934263003 Cr-Commit-Position: refs/heads/master@{#316850}
* aw: Fix clearView implementationboliu2015-01-143-2/+6
| | | | | | | | | | | The early out was accidentally dropped in a refactor. Add it back here. And also add unit tests for clear view. BUG=448488 Review URL: https://codereview.chromium.org/846323002 Cr-Commit-Position: refs/heads/master@{#311399}
* aw: Rendering test harness and end-to-end smoke testboliu2014-12-114-29/+390
| | | | | | | | | | | | | | | The test harness is heavily modelled after LayerTreeTests in cc. Add implementation for simulating invalidation and functor behavior. Add in enough hooks to allow a end-to-end smoke test from invalidation to draw to functor draw. BUG=418346 Review URL: https://codereview.chromium.org/786533002 Cr-Commit-Position: refs/heads/master@{#307812}
* Partial test harness for android webview renderingboliu2014-11-112-0/+142
Goal for this class of tests is to test the classes that interacts between the android view system and the chromium compositor. It is modelled after cc::LayerTreeTest This is the first step that brings up a BrowserViewRenderer object in a test. Individual pieces: * Add a TestSynchronousCompositor in content * Remove BrowserViewRenderer dependency on WebContents BUG=418346 Review URL: https://codereview.chromium.org/703953002 Cr-Commit-Position: refs/heads/master@{#303736}