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

Side by Side Diff: ash/common/system/tray/tray_details_view.h

Issue 2793153004: [Ash] Remove non-MD code from ImeListView and ImeListItemView (Closed)
Patch Set: class level docs for KeyboardStatusRow 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 unified diff | Download patch
« no previous file with comments | « ash/common/system/tray/tray_constants.cc ('k') | ash/common/system/tray/tray_details_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_DETAILS_VIEW_H_ 5 #ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_DETAILS_VIEW_H_
6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_DETAILS_VIEW_H_ 6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_DETAILS_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // Creates the row containing the back button and title. For material design 62 // Creates the row containing the back button and title. For material design
63 // this appears at the top of the view, for non-material design it appears 63 // this appears at the top of the view, for non-material design it appears
64 // at the bottom. 64 // at the bottom.
65 void CreateTitleRow(int string_id); 65 void CreateTitleRow(int string_id);
66 66
67 // Creates a scrollable list. The list has a border at the bottom if there is 67 // Creates a scrollable list. The list has a border at the bottom if there is
68 // any other view between the list and the footer row at the bottom. 68 // any other view between the list and the footer row at the bottom.
69 void CreateScrollableList(); 69 void CreateScrollableList();
70 70
71 // Adds a separator in scrollable list.
72 void AddScrollSeparator();
73
74 // Removes (and destroys) all child views. 71 // Removes (and destroys) all child views.
75 void Reset(); 72 void Reset();
76 73
77 // Shows or hides the progress bar below the title row. It occupies the same 74 // Shows or hides the progress bar below the title row. It occupies the same
78 // space as the separator, so when shown the separator is hidden. If 75 // space as the separator, so when shown the separator is hidden. If
79 // |progress_bar_| doesn't already exist it will be created. 76 // |progress_bar_| doesn't already exist it will be created.
80 void ShowProgress(double value, bool visible); 77 void ShowProgress(double value, bool visible);
81 78
82 // Helper functions which create and return the settings and help buttons, 79 // Helper functions which create and return the settings and help buttons,
83 // respectively, used in the material design top-most header row. The caller 80 // respectively, used in the material design top-most header row. The caller
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 130
134 // Used to delay the transition to the default view. 131 // Used to delay the transition to the default view.
135 base::OneShotTimer transition_delay_timer_; 132 base::OneShotTimer transition_delay_timer_;
136 133
137 DISALLOW_COPY_AND_ASSIGN(TrayDetailsView); 134 DISALLOW_COPY_AND_ASSIGN(TrayDetailsView);
138 }; 135 };
139 136
140 } // namespace ash 137 } // namespace ash
141 138
142 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_DETAILS_VIEW_H_ 139 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_DETAILS_VIEW_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/tray_constants.cc ('k') | ash/common/system/tray/tray_details_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698