OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/message_loop_proxy.h" | 6 #include "base/message_loop/message_loop_proxy.h" |
7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
9 #include "content/browser/gpu/gpu_data_manager_impl.h" | 9 #include "content/browser/gpu/gpu_data_manager_impl.h" |
10 #include "content/browser/renderer_host/render_widget_host_impl.h" | 10 #include "content/browser/renderer_host/render_widget_host_impl.h" |
11 #include "content/port/browser/render_widget_host_view_frame_subscriber.h" | 11 #include "content/port/browser/render_widget_host_view_frame_subscriber.h" |
12 #include "content/port/browser/render_widget_host_view_port.h" | 12 #include "content/port/browser/render_widget_host_view_port.h" |
13 #include "content/public/browser/compositor_util.h" | 13 #include "content/public/browser/compositor_util.h" |
14 #include "content/public/browser/render_view_host.h" | 14 #include "content/public/browser/render_view_host.h" |
15 #include "content/public/browser/web_contents.h" | 15 #include "content/public/browser/web_contents.h" |
16 #include "content/public/common/content_paths.h" | 16 #include "content/public/common/content_paths.h" |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 run_loop.Run(); | 414 run_loop.Run(); |
415 | 415 |
416 EXPECT_EQ(2, callback_invoke_count()); | 416 EXPECT_EQ(2, callback_invoke_count()); |
417 EXPECT_EQ(2, frames_captured()); | 417 EXPECT_EQ(2, frames_captured()); |
418 } | 418 } |
419 | 419 |
420 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 420 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
421 | 421 |
422 } // namespace | 422 } // namespace |
423 } // namespace content | 423 } // namespace content |
OLD | NEW |