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

Unified Diff: chrome/browser/ui/gtk/download/download_item_gtk.h

Issue 8588037: Updates to DownloadItemGtk for supporting download items marked as DANGEROUS_CONTENT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 1 month 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/ui/gtk/download/download_item_gtk.h
diff --git a/chrome/browser/ui/gtk/download/download_item_gtk.h b/chrome/browser/ui/gtk/download/download_item_gtk.h
index 60796aac098c723f19644c36914a3cb604175780..33fe2576b4c04de61b3c3271fae9e45a86c73449 100644
--- a/chrome/browser/ui/gtk/download/download_item_gtk.h
+++ b/chrome/browser/ui/gtk/download/download_item_gtk.h
@@ -103,6 +103,8 @@ class DownloadItemGtk : public DownloadItem::Observer,
// Sets the icon for the danger warning dialog.
void UpdateDangerIcon();
+ void ShowDangerPrompt();
+
static void InitNineBoxes();
// Show popup context menu. If |button| is not NULL, show the menu dropping
@@ -213,6 +215,9 @@ class DownloadItemGtk : public DownloadItem::Observer,
// The animation when this item is first added to the shelf.
scoped_ptr<ui::SlideAnimation> new_item_animation_;
+ // The animation when the download item transitions to the dangerous prompt.
+ scoped_ptr<ui::SlideAnimation> danger_prompt_animation_;
Randy Smith (Not in Mondays) 2011/11/21 01:38:13 Is there a reason we don't have the contrary anima
+
// Progress animation.
base::RepeatingTimer<DownloadItemGtk> progress_timer_;

Powered by Google App Engine
This is Rietveld 408576698