Index: android_webview/browser/renderer_host/aw_render_view_host_ext.h |
diff --git a/android_webview/browser/renderer_host/aw_render_view_host_ext.h b/android_webview/browser/renderer_host/aw_render_view_host_ext.h |
index 1f764f8043ecb9d195ef8649cee862029d573006..da9bcac860ed1969266698edfbc7df527f91f994 100644 |
--- a/android_webview/browser/renderer_host/aw_render_view_host_ext.h |
+++ b/android_webview/browser/renderer_host/aw_render_view_host_ext.h |
@@ -10,6 +10,7 @@ |
#include "android_webview/common/aw_hit_test_data.h" |
#include "base/callback_forward.h" |
#include "base/threading/non_thread_safe.h" |
+#include "third_party/skia/include/core/SkColor.h" |
class GURL; |
@@ -70,9 +71,11 @@ class AwRenderViewHostExt : public content::WebContentsObserver, |
// Sets the initial page scale. This overrides initial scale set by |
// the meta viewport tag. |
void SetInitialPageScale(double page_scale_factor); |
+ void SetBackgroundColor(SkColor c); |
private: |
// content::WebContentsObserver implementation. |
+ virtual void RenderViewCreated(content::RenderViewHost* view_host) OVERRIDE; |
virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; |
virtual void DidNavigateAnyFrame( |
const content::LoadCommittedDetails& details, |
@@ -87,6 +90,8 @@ class AwRenderViewHostExt : public content::WebContentsObserver, |
AwRenderViewHostExtClient* client_; |
+ SkColor background_color_; |
+ |
std::map<int, DocumentHasImagesResult> pending_document_has_images_requests_; |
// Master copy of hit test data on the browser side. This is updated |