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

Side by Side Diff: chrome/browser/ui/exclusive_access/exclusive_access_manager.h

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: Moved histogram recording into each subclass. (Fix DCHECK / incorrect histogram recording.) 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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_EXCLUSIVE_ACCESS_EXCLUSIVE_ACCESS_MANAGER_H_ 5 #ifndef CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_EXCLUSIVE_ACCESS_MANAGER_H_
6 #define CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_EXCLUSIVE_ACCESS_MANAGER_H_ 6 #define CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_EXCLUSIVE_ACCESS_MANAGER_H_
7 7
8 #include "base/feature_list.h" 8 #include "base/feature_list.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Called by Browser::TabClosingAt. 63 // Called by Browser::TabClosingAt.
64 void OnTabClosing(content::WebContents* web_contents); 64 void OnTabClosing(content::WebContents* web_contents);
65 65
66 // Called by Browser::PreHandleKeyboardEvent. 66 // Called by Browser::PreHandleKeyboardEvent.
67 bool HandleUserKeyPress(const content::NativeWebKeyboardEvent& event); 67 bool HandleUserKeyPress(const content::NativeWebKeyboardEvent& event);
68 68
69 // Called by platform ExclusiveAccessExitBubble. 69 // Called by platform ExclusiveAccessExitBubble.
70 void OnAcceptExclusiveAccessPermission(); 70 void OnAcceptExclusiveAccessPermission();
71 void OnDenyExclusiveAccessPermission(); 71 void OnDenyExclusiveAccessPermission();
72 void ExitExclusiveAccess(); 72 void ExitExclusiveAccess();
73 void RecordBubbleReshownUMA(ExclusiveAccessBubbleType type);
73 74
74 private: 75 private:
75 ExclusiveAccessContext* const exclusive_access_context_; 76 ExclusiveAccessContext* const exclusive_access_context_;
76 FullscreenController fullscreen_controller_; 77 FullscreenController fullscreen_controller_;
77 MouseLockController mouse_lock_controller_; 78 MouseLockController mouse_lock_controller_;
78 79
79 DISALLOW_COPY_AND_ASSIGN(ExclusiveAccessManager); 80 DISALLOW_COPY_AND_ASSIGN(ExclusiveAccessManager);
80 }; 81 };
81 82
82 #endif // CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_EXCLUSIVE_ACCESS_MANAGER_H_ 83 #endif // CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_EXCLUSIVE_ACCESS_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698