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

Unified Diff: chrome/browser/ui/views/extensions/extension_install_dialog_view.h

Issue 2837043003: views: remove arrow from extension install dialog's details section
Patch Set: remove unused includes Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/extension_install_dialog_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/extensions/extension_install_dialog_view.h
diff --git a/chrome/browser/ui/views/extensions/extension_install_dialog_view.h b/chrome/browser/ui/views/extensions/extension_install_dialog_view.h
index 0c52a3ee125c15c78eec814004b79507281dbc14..e8edbfb118c01646b8579a6abb766afbd63ddaf6 100644
--- a/chrome/browser/ui/views/extensions/extension_install_dialog_view.h
+++ b/chrome/browser/ui/views/extensions/extension_install_dialog_view.h
@@ -31,7 +31,6 @@ class ResourceBundle;
namespace views {
class GridLayout;
-class ImageButton;
class Link;
}
@@ -170,6 +169,7 @@ class ExpandableContainerView : public views::View,
// views::View:
gfx::Size GetPreferredSize() const override;
+ int GetHeightForWidth(int width) const override;
void AddDetail(const base::string16& detail);
@@ -186,9 +186,6 @@ class ExpandableContainerView : public views::View,
// Expand/Collapse the detail section for this ExpandableContainerView.
void ToggleDetailLevel();
- // Updates |arrow_toggle_| according to the given state.
- void UpdateArrowToggle(bool expanded);
-
// A view for showing |issue_advice.details|.
DetailsView* details_view_;
@@ -198,10 +195,6 @@ class ExpandableContainerView : public views::View,
// when the details section is expanded).
views::Link* more_details_;
- // The up/down arrow next to the 'more detail' link (points up/down depending
- // on whether the details section is expanded).
- views::ImageButton* arrow_toggle_;
-
// Whether the details section is expanded.
bool expanded_;
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/extension_install_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698