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

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

Issue 10567002: Mouse lock and fullscreen exit upon reload. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fullscreen added to test 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
« no previous file with comments | « no previous file | chrome/browser/ui/fullscreen_controller.h » ('j') | chrome/browser/ui/fullscreen_controller.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 0dbe830eef46dd802465ba64422515169c6f4a45..b290c5fb860b49d145351368c1d19feb6d8c8aa7 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -4880,6 +4880,9 @@ void Browser::RegisterAppPrefs(const std::string& app_name, Profile* profile) {
void Browser::ReloadInternal(WindowOpenDisposition disposition,
bool ignore_cache) {
+ if (fullscreen_controller_->HandleUserPressedReload())
+ return;
yzshen1 2012/06/18 16:22:05 Why the following actions are not needed when full
+
// If we are showing an interstitial, treat this as an OpenURL.
WebContents* current_tab = GetActiveWebContents();
if (current_tab && current_tab->ShowingInterstitialPage()) {
« no previous file with comments | « no previous file | chrome/browser/ui/fullscreen_controller.h » ('j') | chrome/browser/ui/fullscreen_controller.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698