| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #import "base/mac/scoped_nsobject.h" | 8 #import "base/mac/scoped_nsobject.h" |
| 9 #include "chrome/browser/chrome_notification_types.h" | 9 #include "chrome/browser/chrome_notification_types.h" |
| 10 #include "chrome/browser/permissions/permission_request_manager_test_api.h" | 10 #include "chrome/browser/permissions/permission_request_manager_test_api.h" |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); | 170 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); |
| 171 [browser_window makeKeyAndOrderFront:nil]; | 171 [browser_window makeKeyAndOrderFront:nil]; |
| 172 EnsureWindowActive(browser_window, "switch away with curly brace"); | 172 EnsureWindowActive(browser_window, "switch away with curly brace"); |
| 173 EXPECT_FALSE(test_api_->GetPromptWindow()); | 173 EXPECT_FALSE(test_api_->GetPromptWindow()); |
| 174 } | 174 } |
| 175 | 175 |
| 176 INSTANTIATE_TEST_CASE_P(, | 176 INSTANTIATE_TEST_CASE_P(, |
| 177 PermissionBubbleInteractiveUITest, | 177 PermissionBubbleInteractiveUITest, |
| 178 ::testing::Values(UiMode::VIEWS, UiMode::COCOA), | 178 ::testing::Values(UiMode::VIEWS, UiMode::COCOA), |
| 179 &UiModeToString); | 179 &UiModeToString); |
| OLD | NEW |