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 #import "chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h" | 5 #import "chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "chrome/browser/infobars/infobar_service.h" | 9 #include "chrome/browser/infobars/infobar_service.h" |
8 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
9 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 11 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
10 #include "chrome/test/base/in_process_browser_test.h" | 12 #include "chrome/test/base/in_process_browser_test.h" |
11 #include "components/web_modal/web_contents_modal_dialog_manager.h" | 13 #include "components/web_modal/web_contents_modal_dialog_manager.h" |
12 #include "content/public/test/test_utils.h" | 14 #include "content/public/test/test_utils.h" |
13 | 15 |
14 using web_modal::WebContentsModalDialogManager; | 16 using web_modal::WebContentsModalDialogManager; |
15 | 17 |
16 class CollectedCookiesMacTest : public InProcessBrowserTest { | 18 class CollectedCookiesMacTest : public InProcessBrowserTest { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 EXPECT_TRUE([sheet_controller() infoBarIcon]); | 96 EXPECT_TRUE([sheet_controller() infoBarIcon]); |
95 EXPECT_TRUE([sheet_controller() infoBarText]); | 97 EXPECT_TRUE([sheet_controller() infoBarText]); |
96 EXPECT_TRUE([sheet_controller() tabView]); | 98 EXPECT_TRUE([sheet_controller() tabView]); |
97 EXPECT_TRUE([sheet_controller() blockedScrollView]); | 99 EXPECT_TRUE([sheet_controller() blockedScrollView]); |
98 EXPECT_TRUE([sheet_controller() blockedCookiesText]); | 100 EXPECT_TRUE([sheet_controller() blockedCookiesText]); |
99 EXPECT_TRUE([sheet_controller() cookieDetailsViewPlaceholder]); | 101 EXPECT_TRUE([sheet_controller() cookieDetailsViewPlaceholder]); |
100 | 102 |
101 [sheet_controller() closeSheet:nil]; | 103 [sheet_controller() closeSheet:nil]; |
102 content::RunAllPendingInMessageLoop(); | 104 content::RunAllPendingInMessageLoop(); |
103 } | 105 } |
OLD | NEW |