summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/WebViewCore.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-03-06 14:30:50 -0800
committerJohn Reck <jreck@google.com>2012-03-06 14:30:50 -0800
commita7151f16f5233a27b2e2ea837ed801e8ac85ccfd (patch)
tree10cbd99b95e7208db983dddb5c8466658f934074 /Source/WebKit/android/jni/WebViewCore.h
parentcc845c6b387500f968dea35d760d4a6bddae805a (diff)
downloadexternal_webkit-a7151f16f5233a27b2e2ea837ed801e8ac85ccfd.zip
external_webkit-a7151f16f5233a27b2e2ea837ed801e8ac85ccfd.tar.gz
external_webkit-a7151f16f5233a27b2e2ea837ed801e8ac85ccfd.tar.bz2
Support passing focus to the chrome
Bug: 6109044 This is primarily for tab navigation, arrow keys are handled differently Change-Id: I72968014535afe21bbcb43913bd11cbb676daaf9
Diffstat (limited to 'Source/WebKit/android/jni/WebViewCore.h')
-rw-r--r--Source/WebKit/android/jni/WebViewCore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.h b/Source/WebKit/android/jni/WebViewCore.h
index 4cbc566..1db498b 100644
--- a/Source/WebKit/android/jni/WebViewCore.h
+++ b/Source/WebKit/android/jni/WebViewCore.h
@@ -29,6 +29,7 @@
#include "DeviceMotionAndOrientationManager.h"
#include "DOMSelection.h"
#include "FileChooser.h"
+#include "FocusDirection.h"
#include "HitTestResult.h"
#include "PictureSet.h"
#include "PlatformGraphicsContext.h"
@@ -318,6 +319,8 @@ namespace android {
* @return Whether keyCode was handled by this class.
*/
bool key(const WebCore::PlatformKeyboardEvent& event);
+ bool chromeCanTakeFocus(FocusDirection direction);
+ void chromeTakeFocus(FocusDirection direction);
/**
* Handle (trackball) click event / dpad center press from Java.