summaryrefslogtreecommitdiffstats
path: root/WebCore/page/chromium
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/chromium')
-rw-r--r--WebCore/page/chromium/ChromeClientChromium.h11
-rw-r--r--WebCore/page/chromium/EventHandlerChromium.cpp4
2 files changed, 2 insertions, 13 deletions
diff --git a/WebCore/page/chromium/ChromeClientChromium.h b/WebCore/page/chromium/ChromeClientChromium.h
index 44e005f..02e2a94 100644
--- a/WebCore/page/chromium/ChromeClientChromium.h
+++ b/WebCore/page/chromium/ChromeClientChromium.h
@@ -31,12 +31,10 @@
#ifndef ChromeClientChromium_h
#define ChromeClientChromium_h
-#include "AXObjectCache.h"
#include "ChromeClient.h"
#include <wtf/Forward.h>
namespace WebCore {
-class AccessibilityObject;
class IntRect;
class PopupContainer;
@@ -53,15 +51,6 @@ public:
// Notifies the client a popup was closed.
virtual void popupClosed(PopupContainer* popupContainer) = 0;
-
- // Notifies embedder that the state of an accessibility object has changed.
- virtual void didChangeAccessibilityObjectState(AccessibilityObject*) = 0;
-
- // Notified embedder that the children of an accessibility object has changed.
- virtual void didChangeAccessibilityObjectChildren(AccessibilityObject*) = 0;
-
- // Notifies embedder about an accessibility notification.
- virtual void postAccessibilityNotification(AccessibilityObject*, AXObjectCache::AXNotification) = 0;
};
} // namespace WebCore
diff --git a/WebCore/page/chromium/EventHandlerChromium.cpp b/WebCore/page/chromium/EventHandlerChromium.cpp
index dd6cf99..6bf907e 100644
--- a/WebCore/page/chromium/EventHandlerChromium.cpp
+++ b/WebCore/page/chromium/EventHandlerChromium.cpp
@@ -129,7 +129,7 @@ bool EventHandler::eventActivatedView(const PlatformMouseEvent& event) const
PassRefPtr<Clipboard> EventHandler::createDraggingClipboard() const
{
RefPtr<ChromiumDataObject> dataObject = ChromiumDataObject::create();
- return ClipboardChromium::create(true, dataObject.get(), ClipboardWritable, m_frame);
+ return ClipboardChromium::create(Clipboard::DragAndDrop, dataObject.get(), ClipboardWritable, m_frame);
}
void EventHandler::focusDocumentView()
@@ -154,7 +154,7 @@ unsigned EventHandler::accessKeyModifiers()
#endif
}
-#if OS(LINUX)
+#if OS(LINUX) || OS(FREEBSD)
// GTK+ must scroll horizontally if the mouse pointer is on top of the
// horizontal scrollbar while scrolling with the wheel.
// This code comes from gtk/EventHandlerGtk.cpp.