summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h
diff options
context:
space:
mode:
authorerikchen@chromium.org <erikchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-26 00:59:19 +0000
committererikchen@chromium.org <erikchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-26 00:59:19 +0000
commitc697ff5478789456f95810cdd47f6ac0ac3363de (patch)
treeeaa6e06162e6b10ba826358d823108d1c58968ad /chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h
parent8095fb59d9447bca6dfe0988baf100e43736f1ee (diff)
downloadchromium_src-c697ff5478789456f95810cdd47f6ac0ac3363de.zip
chromium_src-c697ff5478789456f95810cdd47f6ac0ac3363de.tar.gz
chromium_src-c697ff5478789456f95810cdd47f6ac0ac3363de.tar.bz2
Revert of Makes PrintDialogGtk2 modal. (https://codereview.chromium.org/210023009/)
Reason for revert: This CL causes a test failure. http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%281%29/builds/31374/steps/browser_tests/logs/stdio Original issue's description: > Makes PrintDialogGtk2 modal. > > Moves the transient parent utilities to gtk2_util and makes both > dialogs use it. > > BUG=334331 > R=erg@chromium.org > TEST=manually > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259318 TBR=erg@chromium.org,mukai@chromium.org NOTREECHECKS=true NOTRY=true BUG=334331 Review URL: https://codereview.chromium.org/211433007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259428 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h')
-rw-r--r--chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h b/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h
index ecbb6ec..d314842 100644
--- a/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h
+++ b/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h
@@ -16,7 +16,6 @@
#include "content/public/browser/browser_thread.h"
#include "printing/print_dialog_gtk_interface.h"
#include "printing/printing_context_linux.h"
-#include "ui/aura/window_observer.h"
namespace printing {
class Metafile;
@@ -29,8 +28,7 @@ using printing::PrintingContextLinux;
class PrintDialogGtk2
: public printing::PrintDialogGtkInterface,
public base::RefCountedThreadSafe<
- PrintDialogGtk2, content::BrowserThread::DeleteOnUIThread>,
- public aura::WindowObserver {
+ PrintDialogGtk2, content::BrowserThread::DeleteOnUIThread> {
public:
// Creates and returns a print dialog.
static printing::PrintDialogGtkInterface* CreatePrintDialog(
@@ -72,9 +70,6 @@ class PrintDialogGtk2
// |settings|.
void InitPrintSettings(printing::PrintSettings* settings);
- // aura::WindowObserver implementation.
- virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
-
// Printing dialog callback.
PrintingContextLinux::PrintSettingsCallback callback_;
PrintingContextLinux* context_;