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

Side by Side Diff: chrome/browser/gtk/options/managed_prefs_banner_gtk.h

Issue 3179017: FBTF: Remove "obviously" unneeded standard C++ library #includes. (Closed)
Patch Set: fixed mac oopsie Created 10 years, 4 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
OLDNEW
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_GTK_OPTIONS_MANAGED_PREFS_BANNER_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_OPTIONS_MANAGED_PREFS_BANNER_GTK_H_
6 #define CHROME_BROWSER_GTK_OPTIONS_MANAGED_PREFS_BANNER_GTK_H_ 6 #define CHROME_BROWSER_GTK_OPTIONS_MANAGED_PREFS_BANNER_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set>
10
11 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
12 10
13 #include "chrome/browser/managed_prefs_banner_base.h" 11 #include "chrome/browser/managed_prefs_banner_base.h"
14 12
15 // Constructs and maintains a GTK widget displaying a warning banner. The banner 13 // Constructs and maintains a GTK widget displaying a warning banner. The banner
16 // is displayed on the preferences dialog whenever there are options that are 14 // is displayed on the preferences dialog whenever there are options that are
17 // not settable by the user due to policy. 15 // not settable by the user due to policy.
18 class ManagedPrefsBannerGtk : public ManagedPrefsBannerBase { 16 class ManagedPrefsBannerGtk : public ManagedPrefsBannerBase {
19 public: 17 public:
20 ManagedPrefsBannerGtk(PrefService* prefs, OptionsPage page); 18 ManagedPrefsBannerGtk(PrefService* prefs, OptionsPage page);
21 virtual ~ManagedPrefsBannerGtk() { } 19 virtual ~ManagedPrefsBannerGtk() { }
22 20
23 GtkWidget* banner_widget() { return banner_widget_; } 21 GtkWidget* banner_widget() { return banner_widget_; }
24 22
25 protected: 23 protected:
26 // Update widget visibility. 24 // Update widget visibility.
27 virtual void OnUpdateVisibility(); 25 virtual void OnUpdateVisibility();
28 26
29 private: 27 private:
30 // Construct the widget. 28 // Construct the widget.
31 void InitWidget(); 29 void InitWidget();
32 30
33 GtkWidget* banner_widget_; 31 GtkWidget* banner_widget_;
34 32
35 DISALLOW_COPY_AND_ASSIGN(ManagedPrefsBannerGtk); 33 DISALLOW_COPY_AND_ASSIGN(ManagedPrefsBannerGtk);
36 }; 34 };
37 35
38 #endif // CHROME_BROWSER_GTK_OPTIONS_MANAGED_PREFS_BANNER_GTK_H_ 36 #endif // CHROME_BROWSER_GTK_OPTIONS_MANAGED_PREFS_BANNER_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/options/fonts_page_gtk.h ('k') | chrome/browser/gtk/options/simple_content_exceptions_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698