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

Unified Diff: chrome/browser/ui/views/download/download_item_view_md.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_md.h
diff --git a/chrome/browser/ui/views/download/download_item_view_md.h b/chrome/browser/ui/views/download/download_item_view_md.h
index 37d1dd40ba3f8793afac5460dec5c9993dc36f33..e4357eaa57f2d222cfd6c26f073b87cfd709380c 100644
--- a/chrome/browser/ui/views/download/download_item_view_md.h
+++ b/chrome/browser/ui/views/download/download_item_view_md.h
@@ -292,9 +292,6 @@ class DownloadItemViewMd : 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_;
« no previous file with comments | « chrome/browser/ui/views/download/download_item_view.cc ('k') | chrome/browser/ui/views/download/download_item_view_md.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698