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

Unified Diff: chrome/browser/input_window_dialog_gtk.cc

Issue 115831: Converts a bunch things from NativeWindow to NativeView to make it... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « chrome/browser/input_window_dialog.h ('k') | chrome/browser/input_window_dialog_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/input_window_dialog_gtk.cc
===================================================================
--- chrome/browser/input_window_dialog_gtk.cc (revision 17017)
+++ chrome/browser/input_window_dialog_gtk.cc (working copy)
@@ -148,12 +148,12 @@
}
// static
-InputWindowDialog* InputWindowDialog::Create(gfx::NativeWindow parent,
+InputWindowDialog* InputWindowDialog::Create(gfx::NativeView parent,
const std::wstring& window_title,
const std::wstring& label,
const std::wstring& contents,
Delegate* delegate) {
- return new GtkInputWindowDialog(parent,
+ return new GtkInputWindowDialog(GTK_WINDOW(gtk_widget_get_toplevel(parent)),
WideToUTF8(window_title),
WideToUTF8(label),
WideToUTF8(contents),
« no previous file with comments | « chrome/browser/input_window_dialog.h ('k') | chrome/browser/input_window_dialog_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698