Update: I modified our OnDownloadUpdated callback to call ShellExecuteA on the file when the download is complete, if the user chose to open the file directly. He can still click the popup at the top right corner and it will open the chrome viewer, but that's okay I guess.