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

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

Issue 2487603005: Adjust TriView. (Closed)
Patch Set: 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/tri_view.h
diff --git a/ash/common/system/tray/tri_view.h b/ash/common/system/tray/tri_view.h
index 79851c5257ffb20579ad8aec90993b2c3aca67e5..5bb6ed6e554c7bfa3b5b29d3e1bf835b805a313b 100644
--- a/ash/common/system/tray/tri_view.h
+++ b/ash/common/system/tray/tri_view.h
@@ -70,10 +70,6 @@ class ASH_EXPORT TriView : public views::View {
~TriView() override;
- // Set the minimum cross axis size, i.e. the minimum height for a horizontal
- // orientation.
- void SetMinCrossAxisSize(int min_size);
-
// Set the minimum size for the given |container|.
void SetMinSize(Container container, const gfx::Size& size);
@@ -126,15 +122,11 @@ class ASH_EXPORT TriView : public views::View {
private:
friend class TriViewTest;
- // Creates a default LayoutManager for the given |orientation|.
- std::unique_ptr<views::LayoutManager> CreateDefaultLayoutManager(
bruthig 2016/11/10 18:33:40 If you are removing TrayPopupUtils::CreateDefaultL
Evan Stade 2016/11/10 19:18:05 I don't think so. We just won't set the layout man
bruthig 2016/11/10 20:51:16 I don't think you followed my train of thought, le
Evan Stade 2016/11/11 01:29:13 ah, I only looked at TrayPopupUtils in that CL. Gu
- Orientation orientation) const;
-
// Returns the View for the given |container|.
- views::View* GetContainer(Container container) const;
Evan Stade 2016/11/09 23:32:15 these functions should not be const because they r
bruthig 2016/11/10 18:33:40 Acknowledged, thx for fixing.
+ views::View* GetContainer(Container container);
// Returns the layout manager for the given |container|.
- SizeRangeLayout* GetLayoutManager(Container container) const;
+ SizeRangeLayout* GetLayoutManager(Container container);
// Type spcific layout manager installed on |this|. Responsible for laying out
// the container Views.

Powered by Google App Engine
This is Rietveld 408576698