|
Refactor the content interface for RequestMediaAccessPermission.
This makes RequestMediaAccessPermission a part of WebContentsDelegate instead
of ContentBrowserClient. The request UI (or lack thereof) needs to be
controlled by the WebContentsDelegate so that platform apps can grant permission
differently than a normal browser. This also seems appropriate because
each request is made on behalf of a particular web contents.
BUG= 130216
TEST=navigator.webkitGetUserMedia still works for normal web pages
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=141792
Total comments: 16
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+117 lines, -73 lines) |
Patch |
|
M |
chrome/browser/chrome_content_browser_client.h
|
View
|
1
2
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -34 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_impl_io_data.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/extensions/shell_window.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/extensions/shell_window.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/media_stream_infobar_delegate.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/media_stream_device_settings.cc
|
View
|
1
2
3
|
3 chunks |
+26 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_view_host_delegate.h
|
View
|
1
2
3
4
5
6
|
11 chunks |
+23 lines, -12 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/content_browser_client.h
|
View
|
1
|
3 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
|
M |
content/public/browser/content_browser_client.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/web_contents_delegate.h
|
View
|
1
2
3
|
3 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|