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/public/cpp/web_view.h" | 5 #include "components/web_view/public/cpp/web_view.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
8 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
9 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/macros.h" |
11 #include "base/path_service.h" | 14 #include "base/path_service.h" |
12 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
13 #include "components/mus/public/cpp/scoped_window_ptr.h" | 16 #include "components/mus/public/cpp/scoped_window_ptr.h" |
14 #include "components/mus/public/cpp/tests/window_server_test_base.h" | 17 #include "components/mus/public/cpp/tests/window_server_test_base.h" |
15 #include "components/mus/public/cpp/window.h" | 18 #include "components/mus/public/cpp/window.h" |
16 #include "components/mus/public/cpp/window_tree_connection.h" | 19 #include "components/mus/public/cpp/window_tree_connection.h" |
17 #include "mojo/util/filename_util.h" | 20 #include "mojo/util/filename_util.h" |
18 #include "url/gurl.h" | 21 #include "url/gurl.h" |
19 | 22 |
20 namespace web_view { | 23 namespace web_view { |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 EXPECT_EQ(i, active_find_match()); | 315 EXPECT_EQ(i, active_find_match()); |
313 } | 316 } |
314 | 317 |
315 // We should wrap around. | 318 // We should wrap around. |
316 web_view()->Find("Green", true); | 319 web_view()->Find("Green", true); |
317 StartNestedRunLoopUntil(ACTIVE_FIND_UPDATE); | 320 StartNestedRunLoopUntil(ACTIVE_FIND_UPDATE); |
318 EXPECT_EQ(1, active_find_match()); | 321 EXPECT_EQ(1, active_find_match()); |
319 } | 322 } |
320 | 323 |
321 } // namespace web_view | 324 } // namespace web_view |
OLD | NEW |