* platform/qt/EditorClientQt.cpp:
(WebCore::EditorClientQt::shouldShowDeleteInterface):
* platform/qt/EditorClientQt.h:
* platform/qt/FrameQt.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17207
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-10-21 Darin Adler <darin@apple.com>
+
+ - fix the Qt build
+
+ * platform/qt/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::shouldShowDeleteInterface):
+ * platform/qt/EditorClientQt.h:
+ * platform/qt/FrameQt.cpp:
+
2006-10-21 Darin Adler <darin@apple.com>
Reviewed by Adele.
/*
* Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
+ * Copyright (C) 2006 Apple Computer, Inc.
*
* All rights reserved.
*
return false;
}
+bool EditorClientQt::shouldShowDeleteInterface(HTMLElement*)
+{
+ return false;
+}
+
}
// vim: ts=4 sw=4 et
/*
* Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
+ * Copyright (C) 2006 Apple Computer, Inc.
*
* All rights reserved.
*
namespace WebCore {
-class Range;
-
class EditorClientQt : public EditorClient {
public:
- virtual ~EditorClientQt() { }
-
virtual bool shouldDeleteRange(Range*);
+ virtual bool shouldShowDeleteInterface(HTMLElement*);
};
}
#include "config.h"
#include "FrameQt.h"
+
#include "Element.h"
#include "RenderObject.h"
#include "RenderWidget.h"
namespace WebCore {
+// FIXME: Turned this off to fix buildbot. This function be either deleted or used.
+#if 0
static void doScroll(const RenderObject* r, bool isHorizontal, int multiplier)
{
// FIXME: The scrolling done here should be done in the default handlers
r->layer()->scrollToOffset(x, y, true, true);
}
+#endif
FrameQt::FrameQt(Page* page, Element* ownerElement, FrameQtClient* frameClient, EditorClient* editorClient)
: Frame(page, ownerElement, (editorClient ? editorClient : new EditorClientQt()))