| 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 #ifndef CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_TEST_H_ | 5 #ifndef CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_CONTROLLER_TEST_H_ |
| 6 #define CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_TEST_H_ | 6 #define CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_CONTROLLER_TEST_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" | 8 #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h" |
| 9 #include "chrome/common/chrome_notification_types.h" | 9 #include "chrome/common/chrome_notification_types.h" |
| 10 #include "chrome/test/base/in_process_browser_test.h" | 10 #include "chrome/test/base/in_process_browser_test.h" |
| 11 #include "chrome/test/base/ui_test_utils.h" | 11 #include "chrome/test/base/ui_test_utils.h" |
| 12 #include "content/public/browser/notification_service.h" | 12 #include "content/public/browser/notification_service.h" |
| 13 | 13 |
| 14 // Observer for NOTIFICATION_FULLSCREEN_CHANGED notifications. | 14 // Observer for NOTIFICATION_FULLSCREEN_CHANGED notifications. |
| 15 class FullscreenNotificationObserver | 15 class FullscreenNotificationObserver |
| 16 : public ui_test_utils::WindowedNotificationObserver { | 16 : public ui_test_utils::WindowedNotificationObserver { |
| 17 public: | 17 public: |
| 18 FullscreenNotificationObserver() : WindowedNotificationObserver( | 18 FullscreenNotificationObserver() : WindowedNotificationObserver( |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 content::PageTransition transition); | 59 content::PageTransition transition); |
| 60 void GoBack(); | 60 void GoBack(); |
| 61 void Reload(); | 61 void Reload(); |
| 62 static const char kFullscreenMouseLockHTML[]; | 62 static const char kFullscreenMouseLockHTML[]; |
| 63 private: | 63 private: |
| 64 void ToggleTabFullscreen_Internal(bool enter_fullscreen, | 64 void ToggleTabFullscreen_Internal(bool enter_fullscreen, |
| 65 bool retry_until_success); | 65 bool retry_until_success); |
| 66 DISALLOW_COPY_AND_ASSIGN(FullscreenControllerTest); | 66 DISALLOW_COPY_AND_ASSIGN(FullscreenControllerTest); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 #endif // CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_TEST_H_ | 69 #endif // CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_CONTROLLER_TEST_H_ |
| OLD | NEW |