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

Side by Side Diff: chrome/browser/chromeos/options/options_window_view.cc

Issue 6335001: Cleanup: Remove unneeded chrome/browser/prefs/pref_service.h usage.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "app/l10n_util.h" 5 #include "app/l10n_util.h"
6 #include "base/scoped_ptr.h" 6 #include "base/scoped_ptr.h"
7 #include "chrome/browser/browser_process.h" 7 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/chromeos/options/internet_page_view.h" 8 #include "chrome/browser/chromeos/options/internet_page_view.h"
9 #include "chrome/browser/chromeos/options/system_page_view.h" 9 #include "chrome/browser/chromeos/options/system_page_view.h"
10 #include "chrome/browser/gtk/options/advanced_page_gtk.h" 10 #include "chrome/browser/gtk/options/advanced_page_gtk.h"
11 #include "chrome/browser/gtk/options/content_page_gtk.h" 11 #include "chrome/browser/gtk/options/content_page_gtk.h"
12 #include "chrome/browser/gtk/options/general_page_gtk.h" 12 #include "chrome/browser/gtk/options/general_page_gtk.h"
13 #include "chrome/browser/prefs/pref_service.h"
14 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/ui/browser_list.h" 14 #include "chrome/browser/ui/browser_list.h"
16 #include "chrome/browser/ui/browser_window.h" 15 #include "chrome/browser/ui/browser_window.h"
17 #include "chrome/browser/ui/options/options_window.h" 16 #include "chrome/browser/ui/options/options_window.h"
18 #include "chrome/browser/ui/views/accessible_view_helper.h" 17 #include "chrome/browser/ui/views/accessible_view_helper.h"
19 #include "chrome/browser/ui/views/window.h" 18 #include "chrome/browser/ui/views/window.h"
20 #include "chrome/browser/ui/window_sizer.h" 19 #include "chrome/browser/ui/window_sizer.h"
21 #include "chrome/common/chrome_constants.h" 20 #include "chrome/common/chrome_constants.h"
22 #include "chrome/common/pref_names.h" 21 #include "chrome/common/pref_names.h"
23 #include "grit/chromium_strings.h" 22 #include "grit/chromium_strings.h"
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 // a new one for the current active browser. 383 // a new one for the current active browser.
385 chromeos::CloseOptionsWindow(); 384 chromeos::CloseOptionsWindow();
386 385
387 OptionsWindowView::instance_ = new OptionsWindowView(profile); 386 OptionsWindowView::instance_ = new OptionsWindowView(profile);
388 browser::CreateViewsWindow(chromeos::GetOptionsViewParent(), 387 browser::CreateViewsWindow(chromeos::GetOptionsViewParent(),
389 gfx::Rect(), 388 gfx::Rect(),
390 OptionsWindowView::instance_); 389 OptionsWindowView::instance_);
391 390
392 OptionsWindowView::instance_->ShowOptionsPage(page, highlight_group); 391 OptionsWindowView::instance_->ShowOptionsPage(page, highlight_group);
393 } 392 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/dom_ui/language_options_handler.cc ('k') | chrome/browser/dom_ui/new_tab_page_sync_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698