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

Unified Diff: content/test/test_render_view_host.h

Issue 2861533003: Backfill some UI tests. (Closed)
Patch Set: minor edits Created 3 years, 7 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 9bbee7414f7423d21581dbee832ec0eddc195e40..faefdcc8a450b6d0e86393e6ac8127444087b7bb 100644
--- a/content/test/test_render_view_host.h
+++ b/content/test/test_render_view_host.h
@@ -123,6 +123,9 @@ class TestRenderWidgetHostView : public RenderWidgetHostViewBase {
void reset_did_change_compositor_frame_sink() {
did_change_compositor_frame_sink_ = false;
}
+ void set_native_view(gfx::NativeView native_view) {
+ native_view_ = native_view;
+ }
protected:
RenderWidgetHostImpl* rwh_;
@@ -135,6 +138,7 @@ class TestRenderWidgetHostView : public RenderWidgetHostViewBase {
bool did_change_compositor_frame_sink_ = false;
SkColor background_color_;
ui::DummyTextInputClient text_input_client_;
+ gfx::NativeView native_view_ = nullptr;
};
#if defined(COMPILER_MSVC)

Powered by Google App Engine
This is Rietveld 408576698