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

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

Issue 1721633002: Added UMA collection for fullscreen / mouse lock bubble re-shows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/exclusive_access/fullscreen_controller.cc
diff --git a/chrome/browser/ui/exclusive_access/fullscreen_controller.cc b/chrome/browser/ui/exclusive_access/fullscreen_controller.cc
index 95f0d40ea09f9fbcb43b350fadbdba96db594f98..549993429666aa3d7f5cd6b627639b9e919d9324 100644
--- a/chrome/browser/ui/exclusive_access/fullscreen_controller.cc
+++ b/chrome/browser/ui/exclusive_access/fullscreen_controller.cc
@@ -420,6 +420,10 @@ void FullscreenController::NotifyTabExclusiveAccessLost() {
}
}
+const char* FullscreenController::HistogramPrefix() {
+ return "Fullscreen";
+}
+
void FullscreenController::ToggleFullscreenModeInternal(
FullscreenInternalOption option) {
#if defined(OS_WIN)
@@ -499,6 +503,7 @@ void FullscreenController::EnterFullscreenModeInternal(
}
void FullscreenController::ExitFullscreenModeInternal() {
+ Exiting();
toggled_into_fullscreen_ = false;
#if defined(OS_MACOSX)
// Mac windows report a state change instantly, and so we must also clear

Powered by Google App Engine
This is Rietveld 408576698