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

Unified Diff: chrome/browser/gtk/options/managed_prefs_banner_gtk.h

Issue 6099014: Move chrome/browser/gtk to chrome/browser/ui/gtk (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Move browser/gtk/ to browser/ui/gtk/, leave header stubs, update new header guards Created 9 years, 11 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 | « chrome/browser/gtk/options/languages_page_gtk.h ('k') | chrome/browser/gtk/options/options_layout_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/options/managed_prefs_banner_gtk.h
diff --git a/chrome/browser/gtk/options/managed_prefs_banner_gtk.h b/chrome/browser/gtk/options/managed_prefs_banner_gtk.h
index cd7f9c6a91436a965c601f5d5ca80246cba4adec..56813873f1758a9d567e6be3f2508001aadc6670 100644
--- a/chrome/browser/gtk/options/managed_prefs_banner_gtk.h
+++ b/chrome/browser/gtk/options/managed_prefs_banner_gtk.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,31 +6,7 @@
#define CHROME_BROWSER_GTK_OPTIONS_MANAGED_PREFS_BANNER_GTK_H_
#pragma once
-#include <gtk/gtk.h>
-
-#include "chrome/browser/policy/managed_prefs_banner_base.h"
-
-// Constructs and maintains a GTK widget displaying a warning banner. The banner
-// is displayed on the preferences dialog whenever there are options that are
-// not settable by the user due to policy.
-class ManagedPrefsBannerGtk : public policy::ManagedPrefsBannerBase {
- public:
- ManagedPrefsBannerGtk(PrefService* prefs, OptionsPage page);
- virtual ~ManagedPrefsBannerGtk() { }
-
- GtkWidget* banner_widget() { return banner_widget_; }
-
- protected:
- // Update widget visibility.
- virtual void OnUpdateVisibility();
-
- private:
- // Construct the widget.
- void InitWidget();
-
- GtkWidget* banner_widget_;
-
- DISALLOW_COPY_AND_ASSIGN(ManagedPrefsBannerGtk);
-};
+#include "chrome/browser/ui/gtk/options/managed_prefs_banner_gtk.h"
+// TODO(msw): remove this file once all includes have been updated.
#endif // CHROME_BROWSER_GTK_OPTIONS_MANAGED_PREFS_BANNER_GTK_H_
« no previous file with comments | « chrome/browser/gtk/options/languages_page_gtk.h ('k') | chrome/browser/gtk/options/options_layout_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698