Index: public/web/WebViewClient.h |
diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h |
index fa39080f10f3357a060fe897c946eee91b29d73e..494ad2af7c40a5908709adfd63388136b5a88d37 100644 |
--- a/public/web/WebViewClient.h |
+++ b/public/web/WebViewClient.h |
@@ -134,6 +134,13 @@ public: |
// indicating that the default action should be suppressed. |
virtual bool handleCurrentKeyboardEvent() { return false; } |
+ // This method converts from the supplied enum value for the key |
+ // to the embedder's DOM |code| string. |
+ virtual WebString domCodeStringFromEnum(int domCode) { return ""; } |
+ |
+ // This method converts from the suppled DOM |code| string to the |
+ // embedder's enum value for the key. |
+ virtual int domEnumFromCodeString(const WebString& codeString) { return 0; } |
// Dialogs ------------------------------------------------------------- |