Index: chrome/browser/ui/views/download/download_item_view.h |
diff --git a/chrome/browser/ui/views/download/download_item_view.h b/chrome/browser/ui/views/download/download_item_view.h |
index 44745249f77302f29f3213c799511a055da946c7..9e4af8b4691558b427329d9da48bec386b953201 100644 |
--- a/chrome/browser/ui/views/download/download_item_view.h |
+++ b/chrome/browser/ui/views/download/download_item_view.h |
@@ -192,6 +192,9 @@ class DownloadItemView : public views::ButtonListener, |
return mode_ == DANGEROUS_MODE || mode_ == MALICIOUS_MODE; |
} |
+ // Clears or shows the warning dialog as per the state of |model_|. |
+ void ToggleWarningDialog(); |
+ |
// Reverts from dangerous mode to normal download mode. |
void ClearWarningDialog(); |
@@ -232,6 +235,9 @@ class DownloadItemView : public views::ButtonListener, |
void AnimateStateTransition(State from, State to, |
gfx::SlideAnimation* animation); |
+ // Callback for |progress_timer_|. |
+ void ProgressTimerFired(); |
+ |
// The different images used for the background. |
BodyImageSet normal_body_image_set_; |
BodyImageSet hot_body_image_set_; |