WebInspectorDelegate.h [plain text]
#ifndef WebInspectorDelegate_h
#define WebInspectorDelegate_h
#include "WebKit.h"
class WebInspectorDelegate : public IWebUIDelegate {
public:
static WebInspectorDelegate* createInstance();
virtual ULONG STDMETHODCALLTYPE AddRef();
virtual ULONG STDMETHODCALLTYPE Release();
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID, void**) { return E_NOTIMPL; };
virtual HRESULT STDMETHODCALLTYPE dragDestinationActionMaskForDraggingInfo(
IWebView*,
IDataObject*,
WebDragDestinationAction* action);
virtual HRESULT STDMETHODCALLTYPE createWebViewWithRequest(
IWebView*,
IWebURLRequest*,
IWebView**) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewShow(
IWebView*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewClose(
IWebView*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewFocus(
IWebView*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewUnfocus(
IWebView*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewFirstResponder(
IWebView*,
OLE_HANDLE*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE makeFirstResponder(
IWebView*,
OLE_HANDLE) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE setStatusText(
IWebView*,
BSTR) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewStatusText(
IWebView*,
BSTR*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewAreToolbarsVisible(
IWebView*,
BOOL*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE setToolbarsVisible(
IWebView*,
BOOL) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewIsStatusBarVisible(
IWebView*,
BOOL*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE setStatusBarVisible(
IWebView*,
BOOL) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewIsResizable(
IWebView*,
BOOL*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE setResizable(
IWebView*,
BOOL) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE setFrame(
IWebView*,
RECT*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewFrame(
IWebView*,
RECT*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE setContentRect(
IWebView*,
RECT*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewContentRect(
IWebView*,
RECT*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE runJavaScriptAlertPanelWithMessage(
IWebView*,
BSTR) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE runJavaScriptConfirmPanelWithMessage(
IWebView*,
BSTR,
BOOL*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE runJavaScriptTextInputPanelWithPrompt(
IWebView*,
BSTR ,
BSTR ,
BSTR*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE runBeforeUnloadConfirmPanelWithMessage(
IWebView*,
BSTR ,
IWebFrame* ,
BOOL*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE runOpenPanelForFileButtonWithResultListener(
IWebView*,
IWebOpenPanelResultListener*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE mouseDidMoveOverElement(
IWebView*,
IPropertyBag*,
UINT ) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE contextMenuItemsForElement(
IWebView*,
IPropertyBag*,
OLE_HANDLE,
OLE_HANDLE*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE validateUserInterfaceItem(
IWebView*,
UINT,
BOOL,
BOOL*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE shouldPerformAction(
IWebView*,
UINT ,
UINT ) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE willPerformDragDestinationAction(
IWebView*,
WebDragDestinationAction,
IDataObject*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE dragSourceActionMaskForPoint(
IWebView*,
LPPOINT,
WebDragSourceAction*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE willPerformDragSourceAction(
IWebView*,
WebDragSourceAction,
LPPOINT,
IDataObject*,
IDataObject**) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE contextMenuItemSelected(
IWebView*,
void* ,
IPropertyBag*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE hasCustomMenuImplementation(
BOOL*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE trackCustomPopupMenu(
IWebView*,
OLE_HANDLE,
LPPOINT) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE measureCustomMenuItem(
IWebView*,
void* ) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE drawCustomMenuItem(
IWebView*,
void* ) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE addCustomMenuDrawingData(
IWebView*,
OLE_HANDLE) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE cleanUpCustomMenuDrawingData(
IWebView*,
OLE_HANDLE) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE canTakeFocus(
IWebView*,
BOOL ,
BOOL*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE takeFocus(
IWebView*,
BOOL ) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE registerUndoWithTarget(
IWebUndoTarget*,
BSTR ,
IUnknown* ) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE removeAllActionsWithTarget(
IWebUndoTarget*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE setActionTitle(
BSTR) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE undo() { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE redo() { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE canUndo(
BOOL*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE canRedo(
BOOL*) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE printFrame(
IWebView *webView,
IWebFrame *frame) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE ftpDirectoryTemplatePath(
IWebView *webView,
BSTR *path) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewHeaderHeight(
IWebView *webView,
float *result) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewFooterHeight(
IWebView *webView,
float *result) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE drawHeaderInRect(
IWebView *webView,
RECT *rect,
OLE_HANDLE drawingContext) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE drawFooterInRect(
IWebView *webView,
RECT *rect,
OLE_HANDLE drawingContext,
UINT pageIndex,
UINT pageCount) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE webViewPrintingMarginRect(
IWebView *webView,
RECT *rect) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE canRunModal(
IWebView *webView,
BOOL *canRunBoolean) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE createModalDialog(
IWebView *sender,
IWebURLRequest *request,
IWebView **newWebView) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE runModal(
IWebView *webView) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE isMenuBarVisible(
IWebView *webView,
BOOL *visible) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE setMenuBarVisible(
IWebView *webView,
BOOL visible) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE runDatabaseSizeLimitPrompt(
IWebView *webView,
BSTR displayName,
IWebFrame *initiatedByFrame,
BOOL *allowed) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE paintCustomScrollbar(
IWebView *webView,
HDC hDC,
RECT rect,
WebScrollBarControlSize size,
WebScrollbarControlState state,
WebScrollbarControlPart pressedPart,
BOOL vertical,
float value,
float proportion,
WebScrollbarControlPartMask parts) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE paintCustomScrollCorner(
IWebView *webView,
HDC hDC,
RECT rect) { return E_NOTIMPL; }
virtual HRESULT STDMETHODCALLTYPE desktopNotificationsDelegate(
IWebDesktopNotificationsDelegate **result) { return E_NOTIMPL; }
private:
WebInspectorDelegate();
ULONG m_refCount;
};
#endif // WebInspectorDelegate_h