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

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

Issue 2487603005: Adjust TriView. (Closed)
Patch Set: merge 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
« no previous file with comments | « ash/common/system/tray/tray_popup_utils.cc ('k') | ash/common/system/tray/tri_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
- Orientation orientation) const;
-
// Returns the View for the given |container|.
- views::View* GetContainer(Container container) const;
+ 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.
« no previous file with comments | « ash/common/system/tray/tray_popup_utils.cc ('k') | ash/common/system/tray/tri_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698