• rouslan's avatar
    Cache web contents in credit card scanner. · 4b77a92a
    rouslan authored
    It's much safer to cache the WebContents instead of WindowAndroid to
    deal with tab reparenting, for example. This patch changes the credit
    card OCR scanner extension point to cache the WebContents instead of
    WindowAndroid.
    
    This patch also adds chrome://flags/#autofill-scan-theme-dialog to be
    used by Chrome's implementation of the credit card scanner. This flag is
    disabled by default and will be removed once the best theme for the scan
    dialog is determined.
    
    BUG=678642
    
    Review-Url: https://codereview.chromium.org/2614883003
    Cr-Commit-Position: refs/heads/master@{#442071}
    4b77a92a
histograms.xml 4.33 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.