From 630e1b54e8cac63c77733cf76dfd7b6e146f9a42 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 18 Mar 2014 14:52:45 +0800 Subject: [PATCH] gtk: Fix BrowserWindow::HasModalDialog. --- atom/browser/native_window_gtk.cc | 5 ----- atom/browser/native_window_gtk.h | 1 - 2 files changed, 6 deletions(-) diff --git a/atom/browser/native_window_gtk.cc b/atom/browser/native_window_gtk.cc index 05c8e86edc..180db861ed 100644 --- a/atom/browser/native_window_gtk.cc +++ b/atom/browser/native_window_gtk.cc @@ -256,11 +256,6 @@ bool NativeWindowGtk::IsKiosk() { return IsFullscreen(); } -bool NativeWindowGtk::HasModalDialog() { - // FIXME(zcbenz): Implement me. - return false; -} - gfx::NativeWindow NativeWindowGtk::GetNativeWindow() { return window_; } diff --git a/atom/browser/native_window_gtk.h b/atom/browser/native_window_gtk.h index 6add4f4c4d..69f5d124f5 100644 --- a/atom/browser/native_window_gtk.h +++ b/atom/browser/native_window_gtk.h @@ -60,7 +60,6 @@ class NativeWindowGtk : public NativeWindow, virtual void FlashFrame(bool flash) OVERRIDE; virtual void SetKiosk(bool kiosk) OVERRIDE; virtual bool IsKiosk() OVERRIDE; - virtual bool HasModalDialog() OVERRIDE; virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; // Set the native window menu.