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

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

Issue 6670011: Options: Remove the GTK and Views native options code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 9 years, 9 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: chrome/browser/ui/gtk/options/managed_prefs_banner_gtk.h
diff --git a/chrome/browser/ui/gtk/options/managed_prefs_banner_gtk.h b/chrome/browser/ui/gtk/options/managed_prefs_banner_gtk.h
deleted file mode 100644
index 8a1ec85a20c160e4d6e9c282a17b39a40909fbc2..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/gtk/options/managed_prefs_banner_gtk.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// 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.
-
-#ifndef CHROME_BROWSER_UI_GTK_OPTIONS_MANAGED_PREFS_BANNER_GTK_H_
-#define CHROME_BROWSER_UI_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);
-};
-
-#endif // CHROME_BROWSER_UI_GTK_OPTIONS_MANAGED_PREFS_BANNER_GTK_H_

Powered by Google App Engine
This is Rietveld 408576698