| Index: public/platform/Platform.h
|
| diff --git a/public/platform/Platform.h b/public/platform/Platform.h
|
| index 0f2d2bbfb334aa8f8fdb842a0fb158eb3bf0d8af..43bf102bc2db34d7660253a588a806d018fd5416 100644
|
| --- a/public/platform/Platform.h
|
| +++ b/public/platform/Platform.h
|
| @@ -618,6 +618,18 @@ public:
|
| // Returns 0, if DOM code enum is not found.
|
| virtual int domEnumFromCodeString(const WebString& codeString) { return 0; }
|
|
|
| + // This method converts from the supplied DOM key enum to the
|
| + // embedder's DOM key string value for the key pressed. |domKey| values are
|
| + // based on the value defined in ui/events/keycodes/dom3/dom_key_data.h.
|
| + // Returns null string, if DOM key value is not found.
|
| + virtual WebString domKeyStringFromEnum(int domKey) { return WebString(); }
|
| +
|
| + // This method converts from the suppled DOM Key value to the
|
| + // embedder's DOM key enum for the key pressed. |keyString| is defined in
|
| + // ui/events/keycodes/dom3/dom_key_data.h.
|
| + // Returns 0, if DOM key enum is not found.
|
| + virtual int domEnumFromKeyString(const WebString& keyString) { return 0; }
|
| +
|
| // Quota -----------------------------------------------------------
|
|
|
| // Queries the storage partition's storage usage and quota information.
|
|
|