| 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 "chrome/browser/ui/fullscreen_controller_test.h" | 5 #include "chrome/browser/ui/fullscreen_controller_test.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "chrome/browser/ui/browser.h" | 8 #include "chrome/browser/ui/browser.h" |
| 9 #include "chrome/browser/ui/browser_window.h" | 9 #include "chrome/browser/ui/browser_window.h" |
| 10 #include "chrome/browser/ui/fullscreen_controller.h" | 10 #include "chrome/browser/ui/fullscreen_controller.h" |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 } | 127 } |
| 128 | 128 |
| 129 void FullscreenControllerTest::GoBack() { | 129 void FullscreenControllerTest::GoBack() { |
| 130 content::TestNavigationObserver observer( | 130 content::TestNavigationObserver observer( |
| 131 content::NotificationService::AllSources(), NULL, 1); | 131 content::NotificationService::AllSources(), NULL, 1); |
| 132 | 132 |
| 133 browser()->GoBack(CURRENT_TAB); | 133 browser()->GoBack(CURRENT_TAB); |
| 134 | 134 |
| 135 observer.Wait(); | 135 observer.Wait(); |
| 136 } | 136 } |
| 137 |
| 138 void FullscreenControllerTest::Reload() { |
| 139 content::TestNavigationObserver observer( |
| 140 content::NotificationService::AllSources(), NULL, 1); |
| 141 |
| 142 browser()->Reload(CURRENT_TAB); |
| 143 |
| 144 observer.Wait(); |
| 145 } |
| OLD | NEW |