Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1305)

Unified Diff: chrome/browser/download/download_danger_prompt.h

Issue 2630243003: MacViews: Enable views based Download recovery dialog behind secondary-ui-md flag. (Closed)
Patch Set: -- Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_danger_prompt.h
diff --git a/chrome/browser/download/download_danger_prompt.h b/chrome/browser/download/download_danger_prompt.h
index 5984adf3637174e73625669a0685c2ef5f92bfaf..fc9142dcdfe634fa12c3e8955b99d9777c2722fe 100644
--- a/chrome/browser/download/download_danger_prompt.h
+++ b/chrome/browser/download/download_danger_prompt.h
@@ -65,6 +65,14 @@ class DownloadDangerPrompt {
// Records UMA stats for a download danger prompt event.
static void RecordDownloadDangerPrompt(bool did_proceed,
const content::DownloadItem& download);
+
+ private:
+ // Returns a toolkit-views based download danger prompt.
+ static DownloadDangerPrompt* CreateDownloadDangerPromptViews(
karandeepb 2017/01/23 06:51:40 Should this be in a #ifdef (TOOLKIT_VIEWS)? This f
+ content::DownloadItem* item,
+ content::WebContents* web_contents,
+ bool show_context,
+ const OnDone& done);
};
#endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_DANGER_PROMPT_H_

Powered by Google App Engine
This is Rietveld 408576698