From d73606289928057eb9f2879e3281a1d123bf04eb Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Sun, 17 Jun 2012 23:46:17 -0700 Subject: [PATCH] Remove unused CefPermissionHandler implementation --- Atom-Linux/client_handler.cpp | 5 ----- Atom-Linux/client_handler.h | 10 +--------- 2 files changed, 1 insertion(+), 14 deletions(-) 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() {