OLD | NEW |
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 Loading... |
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 |
OLD | NEW |