OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/file_util.h" | 5 #include "base/file_util.h" |
6 #include "base/message_loop/message_loop.h" | 6 #include "base/message_loop/message_loop.h" |
7 #include "base/prefs/pref_service.h" | 7 #include "base/prefs/pref_service.h" |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "chrome/test/base/find_in_page_observer.h" | 31 #include "chrome/test/base/find_in_page_observer.h" |
32 #include "chrome/test/base/in_process_browser_test.h" | 32 #include "chrome/test/base/in_process_browser_test.h" |
33 #include "chrome/test/base/ui_test_utils.h" | 33 #include "chrome/test/base/ui_test_utils.h" |
34 #include "content/public/browser/download_manager.h" | 34 #include "content/public/browser/download_manager.h" |
35 #include "content/public/browser/notification_service.h" | 35 #include "content/public/browser/notification_service.h" |
36 #include "content/public/browser/notification_types.h" | 36 #include "content/public/browser/notification_types.h" |
37 #include "content/public/browser/render_view_host.h" | 37 #include "content/public/browser/render_view_host.h" |
38 #include "content/public/browser/web_contents.h" | 38 #include "content/public/browser/web_contents.h" |
39 #include "content/public/browser/web_contents_view.h" | 39 #include "content/public/browser/web_contents_view.h" |
40 #include "content/public/test/browser_test_utils.h" | 40 #include "content/public/test/browser_test_utils.h" |
41 #include "net/base/net_util.h" | 41 #include "net/base/filename_util.h" |
42 #include "ui/base/accelerators/accelerator.h" | 42 #include "ui/base/accelerators/accelerator.h" |
43 #include "ui/events/keycodes/keyboard_codes.h" | 43 #include "ui/events/keycodes/keyboard_codes.h" |
44 | 44 |
45 #if defined(OS_WIN) | 45 #if defined(OS_WIN) |
46 #include "content/public/browser/web_contents_view.h" | 46 #include "content/public/browser/web_contents_view.h" |
47 #include "ui/aura/window.h" | 47 #include "ui/aura/window.h" |
48 #include "ui/aura/window_tree_host.h" | 48 #include "ui/aura/window_tree_host.h" |
49 #endif | 49 #endif |
50 | 50 |
51 using base::ASCIIToUTF16; | 51 using base::ASCIIToUTF16; |
(...skipping 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1617 ASSERT_EQ(result, SIMPLEREGION); | 1617 ASSERT_EQ(result, SIMPLEREGION); |
1618 bool rects_equal = | 1618 bool rects_equal = |
1619 region_before.left == region_after.left && | 1619 region_before.left == region_after.left && |
1620 region_before.top == region_after.top && | 1620 region_before.top == region_after.top && |
1621 region_before.right == region_after.right && | 1621 region_before.right == region_after.right && |
1622 region_before.bottom == region_after.bottom; | 1622 region_before.bottom == region_after.bottom; |
1623 ASSERT_FALSE(rects_equal); | 1623 ASSERT_FALSE(rects_equal); |
1624 } | 1624 } |
1625 | 1625 |
1626 #endif | 1626 #endif |
OLD | NEW |