Index: chrome/browser/ui/views/options/options_page_view.h |
diff --git a/chrome/browser/ui/views/options/options_page_view.h b/chrome/browser/ui/views/options/options_page_view.h |
deleted file mode 100644 |
index c26cc9fe16f6c5b247d332c892896c65a3d17d9b..0000000000000000000000000000000000000000 |
--- a/chrome/browser/ui/views/options/options_page_view.h |
+++ /dev/null |
@@ -1,52 +0,0 @@ |
-// Copyright (c) 2010 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_VIEWS_OPTIONS_OPTIONS_PAGE_VIEW_H__ |
-#define CHROME_BROWSER_UI_VIEWS_OPTIONS_OPTIONS_PAGE_VIEW_H__ |
-#pragma once |
- |
-#include "chrome/browser/ui/options/options_page_base.h" |
-#include "views/controls/link.h" |
-#include "views/controls/button/native_button.h" |
- |
-class PrefService; |
- |
-/////////////////////////////////////////////////////////////////////////////// |
-// OptionsPageView |
-// |
-// A base class for Options dialog pages that handles ensuring control |
-// initialization is done just once. |
-// |
-class OptionsPageView : public views::View, |
- public OptionsPageBase { |
- public: |
- virtual ~OptionsPageView(); |
- |
- // Returns true if the window containing this view can be closed, given the |
- // current state of this view. This can be used to prevent the window from |
- // being closed when a modal dialog box is showing, for example. |
- virtual bool CanClose() const; |
- |
- protected: |
- // This class cannot be instantiated directly, but its constructor must be |
- // called by derived classes. |
- explicit OptionsPageView(Profile* profile); |
- |
- // Initializes the layout of the controls within the panel. |
- virtual void InitControlLayout() = 0; |
- |
- // views::View overrides: |
- virtual void ViewHierarchyChanged(bool is_add, |
- views::View* parent, |
- views::View* child); |
- virtual AccessibilityTypes::Role GetAccessibleRole(); |
- |
- private: |
- // Whether or not the control layout has been initialized for this page. |
- bool initialized_; |
- |
- DISALLOW_COPY_AND_ASSIGN(OptionsPageView); |
-}; |
- |
-#endif // CHROME_BROWSER_UI_VIEWS_OPTIONS_OPTIONS_PAGE_VIEW_H__ |