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

Unified Diff: chrome/browser/ui/views/download/download_item_view.h

Issue 1672983002: Fix download danger prompt buttons/actions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix for tests Created 4 years, 10 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/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 9e4af8b4691558b427329d9da48bec386b953201..ed6666fce317505878546fecc15ceb257272354a 100644
--- a/chrome/browser/ui/views/download/download_item_view.h
+++ b/chrome/browser/ui/views/download/download_item_view.h
@@ -326,9 +326,6 @@ class DownloadItemView : public views::ButtonListener,
// Whether the dangerous mode label has been sized yet.
bool dangerous_download_label_sized_;
- // The size of the buttons. Cached so animation works when hidden.
- mutable gfx::Size cached_button_size_;
-
// Whether we are currently disabled as part of opening the downloaded file.
bool disabled_while_opening_;

Powered by Google App Engine
This is Rietveld 408576698