summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/page/ChromeClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/page/ChromeClient.h')
-rw-r--r--Source/WebCore/page/ChromeClient.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/WebCore/page/ChromeClient.h b/Source/WebCore/page/ChromeClient.h
index 42ef727..7fcec2e 100644
--- a/Source/WebCore/page/ChromeClient.h
+++ b/Source/WebCore/page/ChromeClient.h
@@ -31,14 +31,11 @@
#include "PopupMenuClient.h"
#include "ScrollTypes.h"
#include "SearchPopupMenu.h"
+#include "WebCoreKeyboardUIMode.h"
#include <wtf/Forward.h>
#include <wtf/PassOwnPtr.h>
#include <wtf/Vector.h>
-#if PLATFORM(MAC)
-#include "WebCoreKeyboardUIMode.h"
-#endif
-
#ifndef __OBJC__
class NSMenu;
class NSResponder;
@@ -132,7 +129,7 @@ namespace WebCore {
virtual bool runJavaScriptPrompt(Frame*, const String& message, const String& defaultValue, String& result) = 0;
virtual void setStatusbarText(const String&) = 0;
virtual bool shouldInterruptJavaScript() = 0;
- virtual bool tabsToLinks() const = 0;
+ virtual KeyboardUIMode keyboardUIMode() = 0;
#if ENABLE(REGISTER_PROTOCOL_HANDLER)
virtual void registerProtocolHandler(const String& scheme, const String& baseURL, const String& url, const String& title) = 0;
@@ -277,8 +274,6 @@ namespace WebCore {
#endif
#if PLATFORM(MAC)
- virtual KeyboardUIMode keyboardUIMode() { return KeyboardAccessDefault; }
-
virtual NSResponder *firstResponder() { return 0; }
virtual void makeFirstResponder(NSResponder *) { }