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

Side by Side Diff: chrome/browser/ui/views/options/options_window_view.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "chrome/browser/browser_process.h" 7 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/prefs/pref_service.h" 8 #include "chrome/browser/prefs/pref_service.h"
9 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/ui/browser_list.h" 10 #include "chrome/browser/ui/browser_list.h"
11 #include "chrome/browser/ui/browser_window.h" 11 #include "chrome/browser/ui/browser_window.h"
12 #include "chrome/browser/ui/options/options_window.h" 12 #include "chrome/browser/ui/options/options_window.h"
13 #include "chrome/browser/ui/views/options/advanced_page_view.h" 13 #include "chrome/browser/ui/views/options/advanced_page_view.h"
14 #include "chrome/browser/ui/views/options/content_page_view.h" 14 #include "chrome/browser/ui/views/options/content_page_view.h"
15 #include "chrome/browser/ui/views/options/general_page_view.h" 15 #include "chrome/browser/ui/views/options/general_page_view.h"
16 #include "chrome/browser/ui/window_sizer.h" 16 #include "chrome/browser/ui/window_sizer.h"
17 #include "chrome/common/chrome_constants.h" 17 #include "chrome/common/chrome_constants.h"
18 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
19 #include "grit/chromium_strings.h" 19 #include "grit/chromium_strings.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // If there's already an existing options window, activate it and switch to 234 // If there's already an existing options window, activate it and switch to
235 // the specified page. 235 // the specified page.
236 // TODO(beng): note this is not multi-simultaneous-profile-safe. When we care 236 // TODO(beng): note this is not multi-simultaneous-profile-safe. When we care
237 // about this case this will have to be fixed. 237 // about this case this will have to be fixed.
238 if (!instance_) { 238 if (!instance_) {
239 instance_ = new OptionsWindowView(profile); 239 instance_ = new OptionsWindowView(profile);
240 views::Window::CreateChromeWindow(NULL, gfx::Rect(), instance_); 240 views::Window::CreateChromeWindow(NULL, gfx::Rect(), instance_);
241 } 241 }
242 instance_->ShowOptionsPage(page, highlight_group); 242 instance_->ShowOptionsPage(page, highlight_group);
243 } 243 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/options/languages_page_view.cc ('k') | chrome/browser/ui/views/options/passwords_page_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698