diff --git a/Atom-Linux/client_handler.cpp b/Atom-Linux/client_handler.cpp index c9f8b3ff4..f8e859766 100644 --- a/Atom-Linux/client_handler.cpp +++ b/Atom-Linux/client_handler.cpp @@ -241,11 +241,6 @@ bool ClientHandler::OnDragEnter(CefRefPtr browser, return false; } -bool ClientHandler::OnBeforeScriptExtensionLoad(CefRefPtr browser, - CefRefPtr frame, const CefString& extensionName) { - return false; -} - void ClientHandler::SetWindow(GtkWidget* widget) { window = widget; } diff --git a/Atom-Linux/client_handler.h b/Atom-Linux/client_handler.h index 633e5cdce..d867117a0 100644 --- a/Atom-Linux/client_handler.h +++ b/Atom-Linux/client_handler.h @@ -25,8 +25,7 @@ class ClientHandler: public CefClient, public CefKeyboardHandler, public CefPrintHandler, public CefV8ContextHandler, - public CefDragHandler, - public CefPermissionHandler { + public CefDragHandler { public: ClientHandler(); virtual ~ClientHandler(); @@ -56,9 +55,6 @@ public: virtual CefRefPtr GetDragHandler() OVERRIDE { return this; } - virtual CefRefPtr GetPermissionHandler() OVERRIDE { - return this; - } // CefLifeSpanHandler methods virtual bool OnBeforePopup(CefRefPtr parentBrowser, @@ -117,10 +113,6 @@ public: virtual bool OnDragEnter(CefRefPtr browser, CefRefPtr dragData, DragOperationsMask mask) OVERRIDE; - // CefPermissionHandler methods. - virtual bool OnBeforeScriptExtensionLoad(CefRefPtr browser, - CefRefPtr frame, const CefString& extensionName) OVERRIDE; - void SetWindow(GtkWidget* window); void SetMainHwnd(CefWindowHandle hwnd); CefWindowHandle GetMainHwnd() {