| 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/compiler_specific.h" | 5 #include "base/compiler_specific.h" |
| 6 #include "base/utf_string_conversions.h" | 6 #include "base/utf_string_conversions.h" |
| 7 #include "chrome/browser/content_settings/host_content_settings_map.h" | 7 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| 8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
| 9 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" |
| 10 #include "chrome/browser/ui/browser_commands.h" | 10 #include "chrome/browser/ui/browser_commands.h" |
| 11 #include "chrome/browser/ui/browser_window.h" | 11 #include "chrome/browser/ui/browser_window.h" |
| 12 #include "chrome/browser/ui/fullscreen_controller_test.h" | 12 #include "chrome/browser/ui/fullscreen/fullscreen_controller_test.h" |
| 13 #include "chrome/test/base/ui_test_utils.h" | 13 #include "chrome/test/base/ui_test_utils.h" |
| 14 #include "content/public/browser/render_view_host.h" | 14 #include "content/public/browser/render_view_host.h" |
| 15 #include "content/public/browser/web_contents.h" | 15 #include "content/public/browser/web_contents.h" |
| 16 #include "content/public/common/url_constants.h" | 16 #include "content/public/common/url_constants.h" |
| 17 #include "content/public/test/test_navigation_observer.h" | 17 #include "content/public/test/test_navigation_observer.h" |
| 18 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
| 19 #include "base/mac/mac_util.h" | 19 #include "base/mac/mac_util.h" |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 using content::WebContents; | 22 using content::WebContents; |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 ASSERT_TRUE(IsFullscreenBubbleDisplayed()); | 381 ASSERT_TRUE(IsFullscreenBubbleDisplayed()); |
| 382 | 382 |
| 383 // Close tab. Bubble is cleared. | 383 // Close tab. Bubble is cleared. |
| 384 { | 384 { |
| 385 MouseLockNotificationObserver mouse_lock_observer; | 385 MouseLockNotificationObserver mouse_lock_observer; |
| 386 chrome::CloseTab(browser()); | 386 chrome::CloseTab(browser()); |
| 387 mouse_lock_observer.Wait(); | 387 mouse_lock_observer.Wait(); |
| 388 } | 388 } |
| 389 ASSERT_FALSE(IsFullscreenBubbleDisplayed()); | 389 ASSERT_FALSE(IsFullscreenBubbleDisplayed()); |
| 390 } | 390 } |
| OLD | NEW |