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

Unified Diff: content/test/test_render_view_host.h

Issue 2702153003: [content] Fix background color update handling in RWHVAura. (Closed)
Patch Set: rebase: employ same mechanism in RWHVMac. Created 3 years, 8 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
« no previous file with comments | « content/public/browser/render_widget_host_view.h ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3b6a0c95094c38a2722806f0894b8dd6009bcd75..577b1411e655af092e3c2d230ee45188cb28b6e1 100644
--- a/content/test/test_render_view_host.h
+++ b/content/test/test_render_view_host.h
@@ -77,6 +77,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;
@@ -129,6 +131,7 @@ class TestRenderWidgetHostView : public RenderWidgetHostViewBase {
bool is_occluded_;
bool did_swap_compositor_frame_;
bool did_change_compositor_frame_sink_ = false;
+ SkColor background_color_;
ui::DummyTextInputClient text_input_client_;
};
« no previous file with comments | « content/public/browser/render_widget_host_view.h ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698