Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1222)

Unified Diff: content/test/test_render_view_host.h

Issue 2702153003: [content] Fix background color update handling in RWHVAura. (Closed)
Patch Set: Remove GetBackgroundOpaque and base impls of accessors. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/test_render_view_host.h
diff --git a/content/test/test_render_view_host.h b/content/test/test_render_view_host.h
index 6b140364bc54d239ebe797f2c4868793a98b7aef..96d6f64883443352bf7b96161c120ff1a5cf73ff 100644
--- a/content/test/test_render_view_host.h
+++ b/content/test/test_render_view_host.h
@@ -78,6 +78,8 @@ class TestRenderWidgetHostView : public RenderWidgetHostViewBase {
void WasUnOccluded() override;
void WasOccluded() override;
gfx::Rect GetViewBounds() const override;
+ void SetBackgroundColor(SkColor color) override;
+ SkColor background_color() const override;
#if defined(OS_MACOSX)
ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override;
void SetActive(bool active) override;
@@ -131,6 +133,7 @@ class TestRenderWidgetHostView : public RenderWidgetHostViewBase {
bool is_showing_;
bool is_occluded_;
bool did_swap_compositor_frame_;
+ SkColor background_color_;
ui::DummyTextInputClient text_input_client_;
};

Powered by Google App Engine
This is Rietveld 408576698