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

Unified Diff: chrome/browser/gtk/options/content_settings_window_gtk.cc

Issue 1727012: GTK: Put options dialogs in a different window group. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/gtk/options/fonts_languages_window_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/options/content_settings_window_gtk.cc
diff --git a/chrome/browser/gtk/options/content_settings_window_gtk.cc b/chrome/browser/gtk/options/content_settings_window_gtk.cc
index 78e513507e2cc73c37dad2e0353612eb0e501dd1..3ad2a15310fec39c2757a1cc4d1066c19cedd475 100644
--- a/chrome/browser/gtk/options/content_settings_window_gtk.cc
+++ b/chrome/browser/gtk/options/content_settings_window_gtk.cc
@@ -146,11 +146,6 @@ ContentSettingsWindowGtk::~ContentSettingsWindowGtk() {
void ContentSettingsWindowGtk::ShowContentSettingsTab(
ContentSettingsType page) {
- if (Browser* b = BrowserList::GetLastActive()) {
- gtk_util::CenterOverWindow(GTK_WINDOW(dialog_),
- b->window()->GetNativeHandle());
- }
-
// Bring options window to front if it already existed and isn't already
// in front
gtk_window_present_with_time(GTK_WINDOW(dialog_),
« no previous file with comments | « no previous file | chrome/browser/gtk/options/fonts_languages_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698