Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8635)

Unified Diff: chrome/browser/ui/fullscreen_controller_test.cc

Issue 10559071: Exit mouse lock or fullscreen on navigation and reload. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: feedback addressed. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/fullscreen_controller_test.cc
diff --git a/chrome/browser/ui/fullscreen_controller_test.cc b/chrome/browser/ui/fullscreen_controller_test.cc
index c4dee4b38e5cd29ceeb96b28487bf5f938387dda..6f55fe03064325e6bcfca2be30c8dc1b2b2d2216 100644
--- a/chrome/browser/ui/fullscreen_controller_test.cc
+++ b/chrome/browser/ui/fullscreen_controller_test.cc
@@ -134,3 +134,12 @@ void FullscreenControllerTest::GoBack() {
observer.Wait();
}
+
+void FullscreenControllerTest::Reload() {
+ content::TestNavigationObserver observer(
+ content::NotificationService::AllSources(), NULL, 1);
+
+ browser()->Reload(CURRENT_TAB);
+
+ observer.Wait();
+}

Powered by Google App Engine
This is Rietveld 408576698