OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_VIEWS_OPTIONS_MANAGED_PREFS_BANNER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_MANAGED_PREFS_BANNER_VIEW_H_ |
6 #define CHROME_BROWSER_VIEWS_OPTIONS_MANAGED_PREFS_BANNER_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_OPTIONS_MANAGED_PREFS_BANNER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/managed_prefs_banner_base.h" | 9 #include "chrome/browser/policy/managed_prefs_banner_base.h" |
10 #include "views/view.h" | 10 #include "views/view.h" |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 class ImageView; | 13 class ImageView; |
14 class Label; | 14 class Label; |
15 } | 15 } |
16 | 16 |
17 // Displays a banner showing a warning message that tells the user some options | 17 // Displays a banner showing a warning message that tells the user some options |
18 // cannot be changed because the relevant preferences are managed by their | 18 // cannot be changed because the relevant preferences are managed by their |
19 // system administrator. | 19 // system administrator. |
(...skipping 23 matching lines...) Expand all Loading... |
43 views::View* content_; | 43 views::View* content_; |
44 // Warning icon image. | 44 // Warning icon image. |
45 views::ImageView* warning_image_; | 45 views::ImageView* warning_image_; |
46 // The label responsible for rendering the warning text. | 46 // The label responsible for rendering the warning text. |
47 views::Label* label_; | 47 views::Label* label_; |
48 | 48 |
49 DISALLOW_IMPLICIT_CONSTRUCTORS(ManagedPrefsBannerView); | 49 DISALLOW_IMPLICIT_CONSTRUCTORS(ManagedPrefsBannerView); |
50 }; | 50 }; |
51 | 51 |
52 #endif // CHROME_BROWSER_VIEWS_OPTIONS_MANAGED_PREFS_BANNER_VIEW_H_ | 52 #endif // CHROME_BROWSER_VIEWS_OPTIONS_MANAGED_PREFS_BANNER_VIEW_H_ |
OLD | NEW |