summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/options/cookies_view.h
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-12 18:24:07 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-12 18:24:07 +0000
commit25a20177fff41648b629679522415d8966be521f (patch)
tree41ce40dbef40dc1b7808a7dec1a256f3f1f317ee /chrome/browser/gtk/options/cookies_view.h
parent4e676aa41d39aada2731e64f2807611cfad2c785 (diff)
downloadchromium_src-25a20177fff41648b629679522415d8966be521f.zip
chromium_src-25a20177fff41648b629679522415d8966be521f.tar.gz
chromium_src-25a20177fff41648b629679522415d8966be521f.tar.bz2
GTK: Make the cookies view modal to its parent since its parent will always be modal.
BUG=35461 TEST=none Review URL: http://codereview.chromium.org/600089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38906 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/options/cookies_view.h')
-rw-r--r--chrome/browser/gtk/options/cookies_view.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/gtk/options/cookies_view.h b/chrome/browser/gtk/options/cookies_view.h
index 80cad06..80e768f 100644
--- a/chrome/browser/gtk/options/cookies_view.h
+++ b/chrome/browser/gtk/options/cookies_view.h
@@ -34,6 +34,7 @@ class CookiesView : public gtk_tree::TreeAdapter::Delegate {
// Create (if necessary) and show the cookie manager window.
static void Show(
+ GtkWindow* parent,
Profile* profile,
BrowsingDataDatabaseHelper* browsing_data_database_helper,
BrowsingDataLocalStorageHelper* browsing_data_local_storage_helper);
@@ -44,12 +45,13 @@ class CookiesView : public gtk_tree::TreeAdapter::Delegate {
private:
CookiesView(
+ GtkWindow* parent,
Profile* profile,
BrowsingDataDatabaseHelper* browsing_data_database_helper,
BrowsingDataLocalStorageHelper* browsing_data_local_storage_helper);
// Initialize the dialog contents and layout.
- void Init();
+ void Init(GtkWindow* parent);
// Initialize the widget styles and display the dialog.
void InitStylesAndShow();