|
Refactor away the Browser* dependency in exclusive_access
This change is needed to support the use of the exclusive
access bubble from extensions. There are two scenarios
under which the bubble will be used to:
- Display the bubble when keyboard lock is in effect.
- Display the fullscreen/mouse lock UI from Hosted app (not
hooked up in this CL).
Exclusive access controllers such as fullscreen and mouse
lock are updated to no longer access Browser* object
directly, but instead use new ExclusiveAccessContext and
ExclusiveAccessBubbleViewsContext interfaces. These are
implemented by BrowserView and will in the future be
implemented by NativeAppWindow.
Committed: https://crrev.com/39b6b787e7c4cbcecf1c9be40e9f47b76cd3c14b
Cr-Commit-Position: refs/heads/master@{#318965}
Total comments: 8
Total comments: 18
Total comments: 2
Total comments: 24
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+536 lines, -189 lines) |
Patch |
 |
M |
chrome/browser/ui/browser.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_command_controller_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+33 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_window.h
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser_window_cocoa.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+24 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
View
|
1
2
3
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.h
|
View
|
1
2
3
|
3 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm
|
View
|
1
2
3
|
6 chunks |
+16 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller_unittest.mm
|
View
|
1
2
3
|
2 chunks |
+17 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/exclusive_access/exclusive_access_bubble.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/exclusive_access/exclusive_access_context.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/exclusive_access/exclusive_access_context.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/exclusive_access/exclusive_access_controller_base.h
|
View
|
|
4 chunks |
+2 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/exclusive_access/exclusive_access_controller_base.cc
|
View
|
|
1 chunk |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/exclusive_access/exclusive_access_manager.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/exclusive_access/exclusive_access_manager.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/exclusive_access/fullscreen_controller.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/exclusive_access/fullscreen_controller.cc
|
View
|
1
2
3
4
5
6
7
|
16 chunks |
+59 lines, -51 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/exclusive_access/fullscreen_controller_state_test.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/exclusive_access/fullscreen_controller_state_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+40 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/exclusive_access/mouse_lock_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/exclusive_access/mouse_lock_controller.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/exclusive_access_bubble_views.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/exclusive_access_bubble_views.cc
|
View
|
1
2
3
4
5
6
7
|
14 chunks |
+27 lines, -23 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/exclusive_access_bubble_views_context.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_view.h
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+22 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_view.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+45 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/test_browser_window.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/test_browser_window.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 32 (4 generated)
|