| OLD | NEW | 
|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/ui/views/frame/immersive_mode_controller_ash.h" | 5 #include "chrome/browser/ui/views/frame/immersive_mode_controller_ash.h" | 
| 6 | 6 | 
| 7 #include "ash/display/display_controller.h" | 7 #include "ash/display/display_controller.h" | 
| 8 #include "ash/shell.h" | 8 #include "ash/shell.h" | 
| 9 #include "ash/test/ash_test_base.h" | 9 #include "ash/test/ash_test_base.h" | 
| 10 #include "chrome/browser/ui/immersive_fullscreen_configuration.h" | 10 #include "chrome/browser/ui/immersive_fullscreen_configuration.h" | 
| 11 #include "ui/aura/client/cursor_client.h" | 11 #include "ui/aura/client/cursor_client.h" | 
| 12 #include "ui/aura/env.h" | 12 #include "ui/aura/env.h" | 
| 13 #include "ui/aura/root_window.h" | 13 #include "ui/aura/root_window.h" | 
| 14 #include "ui/aura/test/event_generator.h" | 14 #include "ui/aura/test/event_generator.h" | 
| 15 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" | 
| 16 #include "ui/base/animation/slide_animation.h" | 16 #include "ui/gfx/animation/slide_animation.h" | 
| 17 #include "ui/views/bubble/bubble_delegate.h" | 17 #include "ui/views/bubble/bubble_delegate.h" | 
| 18 | 18 | 
| 19 // For now, immersive fullscreen is Chrome OS only. | 19 // For now, immersive fullscreen is Chrome OS only. | 
| 20 #if defined(OS_CHROMEOS) | 20 #if defined(OS_CHROMEOS) | 
| 21 | 21 | 
| 22 ///////////////////////////////////////////////////////////////////////////// | 22 ///////////////////////////////////////////////////////////////////////////// | 
| 23 | 23 | 
| 24 class MockImmersiveModeControllerDelegate | 24 class MockImmersiveModeControllerDelegate | 
| 25     : public ImmersiveModeController::Delegate { | 25     : public ImmersiveModeController::Delegate { | 
| 26  public: | 26  public: | 
| (...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 752       new views::BubbleDelegateView(unrelated_view, views::BubbleBorder::NONE)); | 752       new views::BubbleDelegateView(unrelated_view, views::BubbleBorder::NONE)); | 
| 753   bubble_widget8->Show(); | 753   bubble_widget8->Show(); | 
| 754   SetHovered(false); | 754   SetHovered(false); | 
| 755   EXPECT_FALSE(controller()->IsRevealed()); | 755   EXPECT_FALSE(controller()->IsRevealed()); | 
| 756   bubble_widget8->Close(); | 756   bubble_widget8->Close(); | 
| 757 } | 757 } | 
| 758 | 758 | 
| 759 #endif  // defined(OS_WIN) | 759 #endif  // defined(OS_WIN) | 
| 760 | 760 | 
| 761 #endif  // defined(OS_CHROMEOS) | 761 #endif  // defined(OS_CHROMEOS) | 
| OLD | NEW | 
|---|