| Index: chrome/browser/chromeos/options/network_config_view.h
|
| diff --git a/chrome/browser/chromeos/options/network_config_view.h b/chrome/browser/chromeos/options/network_config_view.h
|
| index 9d83221efb108bb6a035c6c8afd94787c7abc217..526b606ec0ba510fb10e0048ac6ceeef58cb2ab9 100644
|
| --- a/chrome/browser/chromeos/options/network_config_view.h
|
| +++ b/chrome/browser/chromeos/options/network_config_view.h
|
| @@ -160,16 +160,25 @@
|
| // control.
|
| class ControlledSettingIndicatorView : public views::View {
|
| public:
|
| + ControlledSettingIndicatorView();
|
| explicit ControlledSettingIndicatorView(const NetworkPropertyUIData& ui_data);
|
| ~ControlledSettingIndicatorView() override;
|
| +
|
| + // Updates the view based on |ui_data|.
|
| + void Update(const NetworkPropertyUIData& ui_data);
|
|
|
| protected:
|
| // views::View:
|
| gfx::Size GetPreferredSize() const override;
|
| + void Layout() override;
|
|
|
| private:
|
| + // Initializes the view.
|
| + void Init();
|
| +
|
| bool managed_;
|
| views::ImageView* image_view_;
|
| + const gfx::ImageSkia* image_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ControlledSettingIndicatorView);
|
| };
|
|
|