|
|
Plugin Power Saver: Improve Poster behavior for essential plugins.
This patch does two things:
1) Early exit plugin placeholder if the poster-specified plugin is
same-origin or whitelisted-origin. The placeholder is never created.
2) Fix bug that made the poster geometry recheck flaky. This fixes one
bug, but there may be more. The geometry recheck logic is super janky.
BUG= 560590
Committed: https://crrev.com/fa5a32e29048ba0be1cbed8221fb74b7731dc55e
Cr-Commit-Position: refs/heads/master@{#364781}
Total comments: 22
Total comments: 12
Total comments: 6
Total comments: 4
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+395 lines, -345 lines) |
Patch |
 |
M |
chrome/browser/plugins/plugin_power_saver_browsertest.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_renderer.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/chrome_content_renderer_client.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+20 lines, -99 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/plugins/chrome_plugin_placeholder.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/plugins/chrome_plugin_placeholder.cc
|
View
|
1
2
3
4
|
3 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/plugins/plugin_preroller.cc
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
A |
chrome/renderer/plugins/power_saver_info.h
|
View
|
1
2
3
4
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/renderer/plugins/power_saver_info.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+124 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/plugins/renderer/loadable_plugin_placeholder.cc
|
View
|
1
2
3
4
|
2 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/render_frame.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+25 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/plugin_instance_throttler_impl.cc
|
View
|
1
2
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/plugin_power_saver_helper.h
|
View
|
1
2
|
3 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/plugin_power_saver_helper.cc
|
View
|
1
2
|
2 chunks |
+16 lines, -20 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/plugin_power_saver_helper_browsertest.cc
|
View
|
1
2
|
3 chunks |
+18 lines, -89 lines |
0 comments
|
Download
|
 |
M |
content/renderer/peripheral_content_heuristic.h
|
View
|
1
2
|
2 chunks |
+10 lines, -18 lines |
0 comments
|
Download
|
 |
M |
content/renderer/peripheral_content_heuristic.cc
|
View
|
1
2
|
2 chunks |
+20 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/renderer/peripheral_content_heuristic_unittest.cc
|
View
|
1
2
|
2 chunks |
+48 lines, -35 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -7 lines |
0 comments
|
Download
|
Total messages: 28 (4 generated)
|