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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc

Issue 2854163003: [cc] Plumb BeginFrameAcks through SurfaceManager to DisplayScheduler. (Closed)
Patch Set: fix clang compile error Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 // Submit another frame with the same local surface id. The same id should be 238 // Submit another frame with the same local surface id. The same id should be
239 // usable. 239 // usable.
240 view_->SubmitCompositorFrame( 240 view_->SubmitCompositorFrame(
241 kArbitraryLocalSurfaceId, 241 kArbitraryLocalSurfaceId,
242 CreateDelegatedFrame(scale_factor, view_size, view_rect)); 242 CreateDelegatedFrame(scale_factor, view_size, view_rect));
243 EXPECT_EQ(kArbitraryLocalSurfaceId, GetLocalSurfaceId()); 243 EXPECT_EQ(kArbitraryLocalSurfaceId, GetLocalSurfaceId());
244 EXPECT_TRUE(view_->has_frame()); 244 EXPECT_TRUE(view_->has_frame());
245 } 245 }
246 246
247 // TODO(eseckler): Add back tests for BeginFrameAck forwarding through
248 // RenderWidgetHostViewChildFrame and CompositorFrameSinkSupport when we add
249 // plumbing of BeginFrameAcks through SurfaceObservers.
250
251 } // namespace content 247 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698