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

Side by Side Diff: chrome/browser/gtk/options/advanced_page_gtk.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/gtk/options/advanced_page_gtk.h" 5 #include "chrome/browser/gtk/options/advanced_page_gtk.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "chrome/browser/gtk/gtk_util.h" 8 #include "chrome/browser/gtk/gtk_util.h"
9 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/ui/options/options_util.h" 10 #include "chrome/browser/ui/options/options_util.h"
11 #include "grit/chromium_strings.h" 11 #include "grit/chromium_strings.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 13
14 AdvancedPageGtk::AdvancedPageGtk(Profile* profile) 14 AdvancedPageGtk::AdvancedPageGtk(Profile* profile)
15 : OptionsPageBase(profile), 15 : OptionsPageBase(profile),
16 advanced_contents_(profile), 16 advanced_contents_(profile),
17 managed_prefs_banner_(profile->GetPrefs(), OPTIONS_PAGE_ADVANCED) { 17 managed_prefs_banner_(profile->GetPrefs(), OPTIONS_PAGE_ADVANCED) {
18 Init(); 18 Init();
19 } 19 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 gtk_util::ShowDialog(dialog_); 75 gtk_util::ShowDialog(dialog_);
76 } 76 }
77 77
78 void AdvancedPageGtk::OnResetToDefaultsResponse(GtkWidget* dialog, 78 void AdvancedPageGtk::OnResetToDefaultsResponse(GtkWidget* dialog,
79 int response_id) { 79 int response_id) {
80 if (response_id == GTK_RESPONSE_OK) { 80 if (response_id == GTK_RESPONSE_OK) {
81 OptionsUtil::ResetToDefaults(profile()); 81 OptionsUtil::ResetToDefaults(profile());
82 } 82 }
83 gtk_widget_destroy(dialog); 83 gtk_widget_destroy(dialog);
84 } 84 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/options/advanced_contents_gtk.cc ('k') | chrome/browser/gtk/options/content_filter_page_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698