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

Unified Diff: chrome/browser/ui/views/options/options_page_view.cc

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/options_page_view.cc
diff --git a/chrome/browser/ui/views/options/options_page_view.cc b/chrome/browser/ui/views/options/options_page_view.cc
deleted file mode 100644
index ec0c109b5c66c951cc982130f95181c100a657a8..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/options/options_page_view.cc
+++ /dev/null
@@ -1,42 +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.
-
-#include "chrome/browser/ui/views/options/options_page_view.h"
-
-#include "chrome/browser/metrics/user_metrics.h"
-#include "views/widget/widget.h"
-
-///////////////////////////////////////////////////////////////////////////////
-// OptionsPageView
-
-OptionsPageView::OptionsPageView(Profile* profile)
- : OptionsPageBase(profile),
- initialized_(false) {
-}
-
-OptionsPageView::~OptionsPageView() {
-}
-
-///////////////////////////////////////////////////////////////////////////////
-// OptionsPageView, views::View overrides:
-
-bool OptionsPageView::CanClose() const {
- return true;
-}
-
-void OptionsPageView::ViewHierarchyChanged(bool is_add,
- views::View* parent,
- views::View* child) {
- if (!initialized_ && is_add && GetWidget()) {
- // It is important that this only get done _once_ otherwise we end up
- // duplicating the view hierarchy when tabs are switched.
- initialized_ = true;
- InitControlLayout();
- NotifyPrefChanged(NULL);
- }
-}
-
-AccessibilityTypes::Role OptionsPageView::GetAccessibleRole() {
- return AccessibilityTypes::ROLE_PAGETAB;
-}
« no previous file with comments | « chrome/browser/ui/views/options/options_page_view.h ('k') | chrome/browser/ui/views/options/options_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698