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

Unified Diff: ash/system/tray/tray_details_view.h

Issue 2957043002: Add a row in the network tray to inform users to turn Bluetooth on to enable Tether. (Closed)
Patch Set: changed message ids to actual string names Created 3 years, 5 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 | « ash/system/network/network_list.cc ('k') | ash/system/tray/tray_details_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_details_view.h
diff --git a/ash/system/tray/tray_details_view.h b/ash/system/tray/tray_details_view.h
index e7f3162b7ef1ff20aea6245aca0f6fbdb28b9259..764892da895eb832c3569c94d0f0cb5a73788b6f 100644
--- a/ash/system/tray/tray_details_view.h
+++ b/ash/system/tray/tray_details_view.h
@@ -22,7 +22,6 @@ struct VectorIcon;
namespace views {
class BoxLayout;
class CustomButton;
-class Label;
class ProgressBar;
class ScrollView;
} // namespace views
@@ -52,22 +51,6 @@ class ASH_EXPORT TrayDetailsView : public views::View,
SystemTrayItem* owner() { return owner_; }
protected:
- // A view containing only a label, which is to be inserted as a non-targetable
- // row within a system menu detailed view (e.g., the "Scanning for devices..."
- // message that can appear at the top of the Bluetooth detailed view).
- class InfoLabel : public View {
- public:
- explicit InfoLabel(int message_id);
- ~InfoLabel() override;
-
- void SetMessage(int message_id);
-
- private:
- views::Label* const label_;
-
- DISALLOW_COPY_AND_ASSIGN(InfoLabel);
- };
-
// views::View:
void Layout() override;
int GetHeightForWidth(int width) const override;
« no previous file with comments | « ash/system/network/network_list.cc ('k') | ash/system/tray/tray_details_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698