diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-24 02:30:52 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-24 02:30:52 +0000 |
commit | e368b67df7834a909875fb04afed933f420bec06 (patch) | |
tree | eb614e32a59ae52828f18867fbb1ee1563f3cb9c /printing/print_dialog_gtk_interface.h | |
parent | 052209eeec814f1421877fe8947bda85fb1209c1 (diff) | |
download | chromium_src-e368b67df7834a909875fb04afed933f420bec06.zip chromium_src-e368b67df7834a909875fb04afed933f420bec06.tar.gz chromium_src-e368b67df7834a909875fb04afed933f420bec06.tar.bz2 |
Remove use of BrowserList::GetLastActive from PrintDialogGtk. Pass through the parent GtkWidget instead and locate a parent window from that.
http://crbug.com/129187
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10436002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138714 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/print_dialog_gtk_interface.h')
-rw-r--r-- | printing/print_dialog_gtk_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/printing/print_dialog_gtk_interface.h b/printing/print_dialog_gtk_interface.h index 41fafe0..46531be 100644 --- a/printing/print_dialog_gtk_interface.h +++ b/printing/print_dialog_gtk_interface.h @@ -7,6 +7,7 @@ #include "base/string16.h" #include "printing/printing_context_gtk.h" +#include "ui/gfx/native_widget_types.h" namespace printing { @@ -32,6 +33,7 @@ class PrintDialogGtkInterface { // Shows the dialog and handles the response with |callback|. Only used when // printing with the native print dialog. virtual void ShowDialog( + gfx::NativeView parent_view, bool has_selection, const PrintingContextGtk::PrintSettingsCallback& callback) = 0; |