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

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

Issue 5367006: Refactor: move HostContentSettingsMap to content_settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again 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 "chrome/browser/gtk/options/content_exception_editor.h" 5 #include "chrome/browser/gtk/options/content_exception_editor.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/content_exceptions_table_model.h" 11 #include "chrome/browser/content_exceptions_table_model.h"
12 #include "chrome/browser/content_settings/host_content_settings_map.h"
12 #include "chrome/browser/gtk/gtk_util.h" 13 #include "chrome/browser/gtk/gtk_util.h"
13 #include "chrome/browser/host_content_settings_map.h"
14 #include "grit/app_resources.h" 14 #include "grit/app_resources.h"
15 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
16 #include "grit/theme_resources.h" 16 #include "grit/theme_resources.h"
17 17
18 ContentExceptionEditor::ContentExceptionEditor( 18 ContentExceptionEditor::ContentExceptionEditor(
19 GtkWindow* parent, 19 GtkWindow* parent,
20 ContentExceptionEditor::Delegate* delegate, 20 ContentExceptionEditor::Delegate* delegate,
21 ContentExceptionsTableModel* model, 21 ContentExceptionsTableModel* model,
22 bool allow_off_the_record, 22 bool allow_off_the_record,
23 int index, 23 int index,
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 delegate_->AcceptExceptionEdit( 129 delegate_->AcceptExceptionEdit(
130 new_pattern, setting, is_off_the_record, index_, is_new()); 130 new_pattern, setting, is_off_the_record, index_, is_new());
131 } 131 }
132 132
133 gtk_widget_destroy(dialog_); 133 gtk_widget_destroy(dialog_);
134 } 134 }
135 135
136 void ContentExceptionEditor::OnWindowDestroy(GtkWidget* widget) { 136 void ContentExceptionEditor::OnWindowDestroy(GtkWidget* widget) {
137 MessageLoop::current()->DeleteSoon(FROM_HERE, this); 137 MessageLoop::current()->DeleteSoon(FROM_HERE, this);
138 } 138 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/content_setting_bubble_gtk.cc ('k') | chrome/browser/gtk/options/content_filter_page_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698