DescriptionGenerate thumbnails in the browser process.
The feature is now behind --enable-in-browser-thumbnailing flag.
The in-browser thumbnailing works as follows:
- The scroll offset is sent from the renderer to the browser.
- The thumbnail is taken when the page info is sent from the renderer process.
- Since thumbnails are generated in the browser, we can avoid the generation when unnecessary (ex. off-the-record mode, or New Tab Page).
- The quality of thumbnails is as good as before, as the patch doesn't change timing heuristics.
- The drawback is that we cannot take thumbnails from background tabs.
New functions are added to ThumbnailGenerator for clipping thumbnails, with tests.
BUG=65936
TEST=add unit tests for thumbnail_generator. confirmed that the thumbnails are updated with and without --enable-in-browser-thumbnailing
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72115
Patch Set 1 #
Total comments: 4
Patch Set 2 : more polishing #Patch Set 3 : minor cleanup #
Total comments: 2
Patch Set 4 : Move scroll offset into ViewHostMsg_UpdateRect_Params #
Total comments: 5
Patch Set 5 : address comments #Patch Set 6 : fix the debug build #Patch Set 7 : fix the function name... #Messages
Total messages: 9 (0 generated)
|