summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 16:17:37 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 16:17:37 +0000
commit508d27e151318b0a2ffdc6a4089ea3613462c26d (patch)
tree0aadf1f0948c5086a624e37f95bc966fa4bb8633 /chrome/browser/gtk
parentbf784d4ca187ca12d455e91ae7c0d2e0380a3154 (diff)
downloadchromium_src-508d27e151318b0a2ffdc6a4089ea3613462c26d.zip
chromium_src-508d27e151318b0a2ffdc6a4089ea3613462c26d.tar.gz
chromium_src-508d27e151318b0a2ffdc6a4089ea3613462c26d.tar.bz2
Introduce RemoveRowTableModel interface, let GeolocationExceptionsTableModel derive from it.
No functionality change. This will be used to share the content settings exceptions dialog code between geolocation and notifications. BUG=45547 Review URL: http://codereview.chromium.org/2838037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51370 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r--chrome/browser/gtk/options/geolocation_content_exceptions_window.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/options/geolocation_content_exceptions_window.cc b/chrome/browser/gtk/options/geolocation_content_exceptions_window.cc
index 79cfe20..e1e28e4 100644
--- a/chrome/browser/gtk/options/geolocation_content_exceptions_window.cc
+++ b/chrome/browser/gtk/options/geolocation_content_exceptions_window.cc
@@ -141,7 +141,7 @@ void GeolocationContentExceptionsWindow::UpdateButtonState() {
GeolocationExceptionsTableModel::Rows rows;
GetSelectedRows(&rows);
- gtk_widget_set_sensitive(remove_button_, model_->CanRemoveExceptions(rows));
+ gtk_widget_set_sensitive(remove_button_, model_->CanRemoveRows(rows));
gtk_widget_set_sensitive(remove_all_button_, row_count > 0);
}
@@ -156,7 +156,7 @@ void GeolocationContentExceptionsWindow::GetSelectedRows(
void GeolocationContentExceptionsWindow::Remove(GtkWidget* widget) {
GeolocationExceptionsTableModel::Rows rows;
GetSelectedRows(&rows);
- model_->RemoveExceptions(rows);
+ model_->RemoveRows(rows);
UpdateButtonState();
}