|
Cache the current WebPreferences on RenderViewHostImpl (try #2).
This makes lookups of a WebPreferences field fast.
In order do this, add code to listen to all preferences updates in order to recompute the cache.
The first version was rolled back because some code in Blink that listened for inspector prefs updates
incorrectly sent the preference update back to Chromium, causing an infinite loop.
BUG= 390799
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288438
Total comments: 3
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+97 lines, -44 lines) |
Patch |
 |
M |
android_webview/native/aw_settings.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/android/voice_search_tab_helper.cc
|
View
|
1
5
7
|
2 chunks |
+18 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/prefs/chrome_pref_service_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_dialog_cloud.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/prefs/prefs_tab_helper.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/prefs/prefs_tab_helper.cc
|
View
|
|
7 chunks |
+18 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/content_settings.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/browser_plugin_guest.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/interstitial_page_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/interstitial_page_impl.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_delegate.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_delegate.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_impl.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_impl.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+20 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/render_view_host.h
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/test/web_contents_tester.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/test/test_web_contents.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/test/test_web_contents.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|