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

Unified Diff: ash/common/system/tray/fixed_sized_scroll_view.h

Issue 2478273003: Use overlay scrollbars for the cros system menu. (Closed)
Patch Set: rebase Created 4 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: ash/common/system/tray/fixed_sized_scroll_view.h
diff --git a/ash/common/system/tray/fixed_sized_scroll_view.h b/ash/common/system/tray/fixed_sized_scroll_view.h
index 4cccef45001c0cbd6dd6239a8088f7504ed54dc1..d45c479f5b9ece0671621d051fd38dc991350fd1 100644
--- a/ash/common/system/tray/fixed_sized_scroll_view.h
+++ b/ash/common/system/tray/fixed_sized_scroll_view.h
@@ -11,6 +11,8 @@
namespace ash {
// A custom scroll-view that has a specified dimension.
+// TODO(estade): can we get rid of this class? In MD, it hardly differs in
+// behavior from ScrollView.
class FixedSizedScrollView : public views::ScrollView {
public:
FixedSizedScrollView();
@@ -22,7 +24,7 @@ class FixedSizedScrollView : public views::ScrollView {
// PreferredSizeChanged()).
void SetFixedSize(const gfx::Size& size);
- void set_fixed_size(const gfx::Size& size) { fixed_size_ = size; }
+ void set_fixed_size(const gfx::Size& size);
// Overridden from views::View:
gfx::Size GetPreferredSize() const override;
« no previous file with comments | « ash/common/system/chromeos/ime_menu/ime_menu_tray.cc ('k') | ash/common/system/tray/fixed_sized_scroll_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698