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

Unified Diff: content/browser/media/capture/web_contents_video_capture_device_unittest.cc

Issue 2695093005: Remove RWHV::SetBounds() from the public API, and make comments clearer.
Patch Set: Revert web_contents_sizer to its previous shenanigans (http://crbug.com/693953). 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/browser/media/capture/web_contents_video_capture_device_unittest.cc
diff --git a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
index ca48ca4041122e033b3f03930ec48be51ded70ab..46ef608f4f5aa4defea37a606d4f8f26b7f6aa24 100644
--- a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
@@ -117,10 +117,10 @@ class CaptureTestView : public TestRenderWidgetHostView {
}
void SetSize(const gfx::Size& size) override {
- SetBounds(gfx::Rect(fake_bounds_.origin(), size));
+ RequestTopLevelBoundsInScreen(gfx::Rect(fake_bounds_.origin(), size));
}
- void SetBounds(const gfx::Rect& rect) override {
+ void RequestTopLevelBoundsInScreen(const gfx::Rect& rect) override {
fake_bounds_ = rect;
}
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698