Remove unused CefPermissionHandler implementation

This commit is contained in:
Kevin Sawicki
2012-06-17 23:46:17 -07:00
parent bb73af22e2
commit d736062899
2 changed files with 1 additions and 14 deletions

View File

@@ -241,11 +241,6 @@ bool ClientHandler::OnDragEnter(CefRefPtr<CefBrowser> browser,
return false;
}
bool ClientHandler::OnBeforeScriptExtensionLoad(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame, const CefString& extensionName) {
return false;
}
void ClientHandler::SetWindow(GtkWidget* widget) {
window = widget;
}

View File

@@ -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<CefDragHandler> GetDragHandler() OVERRIDE {
return this;
}
virtual CefRefPtr<CefPermissionHandler> GetPermissionHandler() OVERRIDE {
return this;
}
// CefLifeSpanHandler methods
virtual bool OnBeforePopup(CefRefPtr<CefBrowser> parentBrowser,
@@ -117,10 +113,6 @@ public:
virtual bool OnDragEnter(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefDragData> dragData, DragOperationsMask mask) OVERRIDE;
// CefPermissionHandler methods.
virtual bool OnBeforeScriptExtensionLoad(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame, const CefString& extensionName) OVERRIDE;
void SetWindow(GtkWidget* window);
void SetMainHwnd(CefWindowHandle hwnd);
CefWindowHandle GetMainHwnd() {