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

Side by Side Diff: chrome/browser/gtk/options/options_window_gtk.cc

Issue 160598: Add files to browser/sync. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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
« no previous file with comments | « chrome/browser/dom_ui/new_tab_ui.cc ('k') | chrome/browser/profile.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 "chrome/browser/options_window.h" 5 #include "chrome/browser/options_window.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/gtk/options/advanced_page_gtk.h" 12 #include "chrome/browser/gtk/options/advanced_page_gtk.h"
13 #include "chrome/browser/gtk/options/content_page_gtk.h" 13 #include "chrome/browser/gtk/options/content_page_gtk.h"
14 #include "chrome/browser/gtk/options/general_page_gtk.h" 14 #include "chrome/browser/gtk/options/general_page_gtk.h"
15 #include "chrome/browser/profile.h" 15 #include "chrome/browser/profile.h"
16 #ifdef CHROME_PERSONALIZATION
17 #include "chrome/browser/sync/personalization.h"
18 #endif
16 #include "chrome/common/gtk_util.h" 19 #include "chrome/common/gtk_util.h"
17 #include "chrome/common/pref_member.h" 20 #include "chrome/common/pref_member.h"
18 #include "chrome/common/pref_names.h" 21 #include "chrome/common/pref_names.h"
19 #include "chrome/common/pref_service.h" 22 #include "chrome/common/pref_service.h"
20 #ifdef CHROME_PERSONALIZATION
21 #include "chrome/personalization/personalization.h"
22 #endif
23 #include "grit/chromium_strings.h" 23 #include "grit/chromium_strings.h"
24 #include "grit/generated_resources.h" 24 #include "grit/generated_resources.h"
25 25
26 /////////////////////////////////////////////////////////////////////////////// 26 ///////////////////////////////////////////////////////////////////////////////
27 // OptionsWindowGtk 27 // OptionsWindowGtk
28 // 28 //
29 // The contents of the Options dialog window. 29 // The contents of the Options dialog window.
30 30
31 class OptionsWindowGtk { 31 class OptionsWindowGtk {
32 public: 32 public:
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 OptionsGroup highlight_group, 203 OptionsGroup highlight_group,
204 Profile* profile) { 204 Profile* profile) {
205 DCHECK(profile); 205 DCHECK(profile);
206 // If there's already an existing options window, activate it and switch to 206 // If there's already an existing options window, activate it and switch to
207 // the specified page. 207 // the specified page.
208 if (!options_window) { 208 if (!options_window) {
209 options_window = new OptionsWindowGtk(profile); 209 options_window = new OptionsWindowGtk(profile);
210 } 210 }
211 options_window->ShowOptionsPage(page, highlight_group); 211 options_window->ShowOptionsPage(page, highlight_group);
212 } 212 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/new_tab_ui.cc ('k') | chrome/browser/profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698