Part 2: Refactor Android WebView graphics code
commitc4a6fc020e5de65add90f1755519b4228036cbae
authorhush <hush@chromium.org>
Thu, 30 Oct 2014 01:34:14 +0000 (29 18:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 30 Oct 2014 01:34:29 +0000 (30 01:34 +0000)
tree903ea21a79b54250f607e9545506d572adc1eba8
parent03dbe8ae71dbf674627acad91fff64a2fa9d4eb6
Part 2: Refactor Android WebView graphics code

1. Change the object ownership to be:
AwContents -> BrowserViewRenderer -> SharedRendererState ->
HardwareRenderer
(The left object owns the right object.)

2. Move DrawGL, InitializeHardwareIfNeeded, ReleaseHardwareIfNeeded from
AwContents to SharedRendererState.

BUG=418346

Review URL: https://codereview.chromium.org/653173004

Cr-Commit-Position: refs/heads/master@{#302011}
android_webview/browser/browser_view_renderer.cc
android_webview/browser/browser_view_renderer.h
android_webview/browser/browser_view_renderer_client.h
android_webview/browser/hardware_renderer.cc
android_webview/browser/shared_renderer_state.cc
android_webview/browser/shared_renderer_state.h
android_webview/native/aw_contents.cc
android_webview/native/aw_contents.h