OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/web_view/frame.h" | 5 #include "components/web_view/frame.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/location.h" | 10 #include "base/location.h" |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
10 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
11 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
12 #include "base/test/test_timeouts.h" | 15 #include "base/test/test_timeouts.h" |
13 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "build/build_config.h" |
14 #include "components/mus/public/cpp/window_observer.h" | 18 #include "components/mus/public/cpp/window_observer.h" |
15 #include "components/mus/public/cpp/window_tree_connection.h" | 19 #include "components/mus/public/cpp/window_tree_connection.h" |
16 #include "components/mus/public/cpp/window_tree_delegate.h" | 20 #include "components/mus/public/cpp/window_tree_delegate.h" |
17 #include "components/mus/public/cpp/window_tree_host_factory.h" | 21 #include "components/mus/public/cpp/window_tree_host_factory.h" |
18 #include "components/mus/public/interfaces/window_tree_host.mojom.h" | 22 #include "components/mus/public/interfaces/window_tree_host.mojom.h" |
19 #include "components/web_view/frame.h" | 23 #include "components/web_view/frame.h" |
20 #include "components/web_view/frame_connection.h" | 24 #include "components/web_view/frame_connection.h" |
21 #include "components/web_view/frame_tree.h" | 25 #include "components/web_view/frame_tree.h" |
22 #include "components/web_view/frame_tree_delegate.h" | 26 #include "components/web_view/frame_tree_delegate.h" |
23 #include "components/web_view/frame_user_data.h" | 27 #include "components/web_view/frame_user_data.h" |
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 scoped_ptr<WindowAndFrame> navigated_child_view_and_frame = | 579 scoped_ptr<WindowAndFrame> navigated_child_view_and_frame = |
576 NavigateFrameWithStartTime(child_view_and_frame.get(), | 580 NavigateFrameWithStartTime(child_view_and_frame.get(), |
577 navigation_start_time) | 581 navigation_start_time) |
578 .Pass(); | 582 .Pass(); |
579 EXPECT_EQ(navigation_start_time, | 583 EXPECT_EQ(navigation_start_time, |
580 navigated_child_view_and_frame->test_frame_client() | 584 navigated_child_view_and_frame->test_frame_client() |
581 ->last_navigation_start_time()); | 585 ->last_navigation_start_time()); |
582 } | 586 } |
583 | 587 |
584 } // namespace web_view | 588 } // namespace web_view |
OLD | NEW |