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

Unified Diff: chrome/browser/ui/views/options/fonts_languages_window_view.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/views/options/fonts_languages_window_view.h
diff --git a/chrome/browser/ui/views/options/fonts_languages_window_view.h b/chrome/browser/ui/views/options/fonts_languages_window_view.h
deleted file mode 100644
index 65afe524a76808527ab2b28d81529a67e2f77687..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/options/fonts_languages_window_view.h
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 2009 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_FONTS_LANGUAGES_WINDOW_VIEW_H_
-#define CHROME_BROWSER_UI_VIEWS_OPTIONS_FONTS_LANGUAGES_WINDOW_VIEW_H_
-#pragma once
-
-#include "chrome/browser/fonts_languages_window.h"
-#include "views/view.h"
-#include "views/window/dialog_delegate.h"
-
-class Profile;
-class FontsPageView;
-class LanguagesPageView;
-
-namespace views {
-class TabbedPane;
-}
-
-///////////////////////////////////////////////////////////////////////////////
-// FontsLanguagesWindowView
-//
-// The contents of the "Fonts and Languages Preferences" dialog window.
-//
-class FontsLanguagesWindowView : public views::View,
- public views::DialogDelegate {
- public:
- explicit FontsLanguagesWindowView(Profile* profile);
- virtual ~FontsLanguagesWindowView();
-
- // views::DialogDelegate implementation:
- virtual bool Accept();
-
- // views::WindowDelegate Methods:
- virtual bool IsModal() const { return true; }
- virtual std::wstring GetWindowTitle() const;
- virtual views::View* GetContentsView();
- virtual void WindowClosing();
-
- // views::View overrides:
- virtual void Layout();
- virtual gfx::Size GetPreferredSize();
-
- // Shows the tab corresponding to the specified |page|.
- void ShowTabPage(FontsLanguagesPage page);
-
- protected:
- // views::View overrides:
- virtual void ViewHierarchyChanged(bool is_add,
- views::View* parent,
- views::View* child);
- private:
- // Init the assorted Tabbed pages
- void Init();
-
- // The Tab view that contains all of the options pages.
- views::TabbedPane* tabs_;
-
- // Fonts Page View handle remembered so that prefs is updated only when
- // OK is pressed.
- FontsPageView* fonts_page_;
-
- // Languages Page View handle remembered so that prefs is updated only when
- // OK is pressed.
- LanguagesPageView* languages_page_;
-
- // The Profile associated with these options.
- Profile* profile_;
-
- DISALLOW_COPY_AND_ASSIGN(FontsLanguagesWindowView);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_OPTIONS_FONTS_LANGUAGES_WINDOW_VIEW_H_
« no previous file with comments | « chrome/browser/ui/views/options/exceptions_view.cc ('k') | chrome/browser/ui/views/options/fonts_languages_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698