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

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: khorimoto@ comments 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
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 f046fcdcdeec65b9c5ef0b51d7c26a5ff1a25161..3761ba7a88248127d61209092ca4dccfc2a88ce3 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
@@ -55,22 +54,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;

Powered by Google App Engine
This is Rietveld 408576698