/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | PlatformKeyboardEvent.cpp | 87 void PlatformKeyboardEvent::getCurrentModifierState(bool& shiftKey, bool& ctrlKey, bool& altKey, bool& metaKey) argument 91 ctrlKey = GetKeyState(VK_CONTROL) & HIGHBITMASKSHORT; 97 ctrlKey = currentModifiers & ::controlKey; 102 ctrlKey = false;
|
H A D | PlatformGestureEvent.h | 46 PlatformGestureEvent(Type type, const IntPoint& position, const IntPoint& globalPosition, const IntSize& area, double timestamp, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, float deltaX, float deltaY, float velocityX, float velocityY) argument 47 : PlatformEvent(type, shiftKey, ctrlKey, altKey, metaKey, timestamp)
|
H A D | PlatformMouseEvent.h | 75 PlatformMouseEvent(const IntPoint& position, const IntPoint& globalPosition, MouseButton button, PlatformEvent::Type type, int clickCount, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, double timestamp) argument 76 : PlatformEvent(type, shiftKey, ctrlKey, altKey, metaKey, timestamp)
|
H A D | PlatformEvent.h | 86 bool ctrlKey() const { return m_modifiers & CtrlKey; } function in class:WebCore::PlatformEvent 116 PlatformEvent(Type type, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, double timestamp) argument 123 if (ctrlKey)
|
H A D | PlatformWheelEvent.h | 82 PlatformWheelEvent(IntPoint position, IntPoint globalPosition, float deltaX, float deltaY, float wheelTicksX, float wheelTicksY, PlatformWheelEventGranularity granularity, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey) argument 83 : PlatformEvent(PlatformEvent::Wheel, shiftKey, ctrlKey, altKey, metaKey, 0)
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
H A D | UIEventWithKeyState.h | 33 bool ctrlKey() const { return m_ctrlKey; } function in class:WebCore::UIEventWithKeyState 48 int detail, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) 50 , m_ctrlKey(ctrlKey) 47 UIEventWithKeyState(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, int detail, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) argument
|
H A D | GestureEvent.cpp | 68 return adoptRefWillBeNoop(new GestureEvent(eventType, view, event.globalPosition().x(), event.globalPosition().y(), event.position().x(), event.position().y(), event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey(), deltaX, deltaY)); 90 GestureEvent::GestureEvent(const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView> view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, float deltaX, float deltaY) argument 91 : MouseRelatedEvent(type, true, true, view, 0, IntPoint(screenX, screenY), IntPoint(clientX, clientY), IntPoint(0, 0), ctrlKey, altKey, shiftKey, metaKey)
|
H A D | TouchEvent.cpp | 45 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool cancelable) 47 ctrlKey, altKey, shiftKey, metaKey) 63 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) 77 m_ctrlKey = ctrlKey; 42 TouchEvent(TouchList* touches, TouchList* targetTouches, TouchList* changedTouches, const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView> view, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool cancelable) argument 59 initTouchEvent(TouchList* touches, TouchList* targetTouches, TouchList* changedTouches, const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView> view, int, int, int, int, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) argument
|
H A D | TouchEvent.h | 47 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool cancelable) 50 ctrlKey, altKey, shiftKey, metaKey, cancelable)); 57 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey); 80 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool cancelable); 44 create(TouchList* touches, TouchList* targetTouches, TouchList* changedTouches, const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView> view, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool cancelable) argument
|
H A D | KeyboardEvent.cpp | 90 , ctrlKey(false) 108 true, true, view, 0, key.ctrlKey(), key.altKey(), key.shiftKey(), key.metaKey()) 119 : UIEventWithKeyState(eventType, initializer.bubbles, initializer.cancelable, initializer.view, initializer.detail, initializer.ctrlKey, initializer.altKey, initializer.shiftKey, initializer.metaKey) 130 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) 131 : UIEventWithKeyState(eventType, canBubble, cancelable, view, 0, ctrlKey, altKey, shiftKey, metaKey) 146 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) 155 m_ctrlKey = ctrlKey; 167 return ctrlKey(); 128 KeyboardEvent(const AtomicString& eventType, bool canBubble, bool cancelable, AbstractView *view, const String &keyIdentifier, unsigned location, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) argument 144 initKeyboardEvent(const AtomicString& type, bool canBubble, bool cancelable, AbstractView* view, const String &keyIdentifier, unsigned location, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) argument
|
H A D | KeyboardEvent.h | 41 bool ctrlKey; member in struct:WebCore::KeyboardEventInit 74 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) 77 ctrlKey, altKey, shiftKey, metaKey, altGraphKey)); 84 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey = false); 111 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey); 72 create(const AtomicString& type, bool canBubble, bool cancelable, AbstractView* view, const String& keyIdentifier, unsigned location, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) argument
|
H A D | MouseEvent.h | 43 bool ctrlKey; member in struct:WebCore::MouseEventInit 61 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button, 72 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, 100 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button,
|
H A D | WheelEvent.cpp | 65 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool directionInvertedFromDevice) 70 ctrlKey, altKey, shiftKey, metaKey, 0, nullptr, nullptr, false) 83 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) 91 m_ctrlKey = ctrlKey; 107 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) 110 ctrlKey, altKey, shiftKey, metaKey); 150 event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey(), event.directionInvertedFromDevice())); 63 WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta, unsigned deltaMode, PassRefPtrWillBeRawPtr<AbstractView> view, const IntPoint& screenLocation, const IntPoint& pageLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool directionInvertedFromDevice) argument 81 initWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtrWillBeRawPtr<AbstractView> view, int screenX, int screenY, int pageX, int pageY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) argument 105 initWebKitWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtrWillBeRawPtr<AbstractView> view, int screenX, int screenY, int pageX, int pageY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) argument
|
H A D | WheelEvent.h | 70 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool directionInvertedFromDevice) 73 screenLocation, pageLocation, ctrlKey, altKey, shiftKey, metaKey, directionInvertedFromDevice)); 78 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey); 82 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey); 107 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool directionInvertedFromDevice); 67 create(const FloatPoint& wheelTicks, const FloatPoint& rawDelta, unsigned deltaMode, PassRefPtrWillBeRawPtr<AbstractView> view, const IntPoint& screenLocation, const IntPoint& pageLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool directionInvertedFromDevice) argument
|
H A D | MouseEvent.cpp | 38 , ctrlKey(false) 64 event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey(), event.button(), 71 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button, 77 ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget, clipboard, isSimulated)); 90 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, 96 ctrlKey, altKey, shiftKey, metaKey, isSimulated) 109 initializer.ctrlKey, initializer.altKey, initializer.shiftKey, initializer.metaKey, false /* isSimulated */) 125 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, 134 m_ctrlKey = ctrlKey; 215 m_ctrlKey = keyStateEvent->ctrlKey(); 68 create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, int detail, int screenX, int screenY, int pageX, int pageY, int movementX, int movementY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button, PassRefPtrWillBeRawPtr<EventTarget> relatedTarget, PassRefPtrWillBeRawPtr<Clipboard> clipboard, bool isSimulated) argument 87 MouseEvent(const AtomicString& eventType, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, int detail, int screenX, int screenY, int pageX, int pageY, int movementX, int movementY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button, PassRefPtrWillBeRawPtr<EventTarget> relatedTarget, PassRefPtrWillBeRawPtr<Clipboard> clipboard, bool isSimulated) argument 123 initMouseEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button, PassRefPtrWillBeRawPtr<EventTarget> relatedTarget) argument [all...] |
H A D | MouseRelatedEvent.cpp | 58 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool isSimulated) 59 : UIEventWithKeyState(eventType, canBubble, cancelable, abstractView, detail, ctrlKey, altKey, shiftKey, metaKey) 55 MouseRelatedEvent(const AtomicString& eventType, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> abstractView, int detail, const IntPoint& screenLocation, const IntPoint& windowLocation, const IntPoint& movementDelta, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool isSimulated) argument
|
/external/chromium_org/chrome/browser/resources/chromeos/braille_ime/ |
H A D | externs.js | 145 ChromeKeyboardEvent.prototype.ctrlKey;
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
H A D | key_sequence.js | 72 * when ctrlKey.length is different from altKey.length. 83 ctrlKey: [], 221 * don't want this.keys.ctrlKey = true also because that implies that this 238 this.keys.ctrlKey[index] = false; 338 if (this.isKeyModifierActive(keyEvent, 'ctrlKey')) { 377 case 'ctrlKey': 378 return (keyEvent.ctrlKey || keyEvent.keyCode == 17); 530 seqEvent['ctrlKey'] = true;
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | DragController.cpp | 115 bool ctrlKey = static_cast<bool>(keyState & PlatformEvent::CtrlKey); local 120 LeftButton, PlatformEvent::MouseMoved, 0, shiftKey, ctrlKey, altKey,
|
H A D | EventHandler.cpp | 1632 event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey(), 2026 if (wheelEvent->ctrlKey()) 2224 if (gestureEvent.ctrlKey()) 2256 gestureEvent.shiftKey(), gestureEvent.ctrlKey(), gestureEvent.altKey(), gestureEvent.metaKey(), WTF::currentTime()); 2260 gestureEvent.shiftKey(), gestureEvent.ctrlKey(), gestureEvent.altKey(), gestureEvent.metaKey(), WTF::currentTime()); 2463 gestureEvent.shiftKey(), gestureEvent.ctrlKey(), gestureEvent.altKey(), gestureEvent.metaKey()); 2476 gestureEvent.shiftKey(), gestureEvent.ctrlKey(), gestureEvent.altKey(), gestureEvent.metaKey(), gestureEvent.timestamp()); 2773 bool ctrlKey; local 2776 PlatformKeyboardEvent::getCurrentModifierState(shiftKey, ctrlKey, altKey, metaKey); 2777 PlatformMouseEvent fakeMouseMoveEvent(m_lastKnownMousePosition, m_lastKnownMouseGlobalPosition, NoButton, PlatformEvent::MouseMoved, 0, shiftKey, ctrlKey, altKe [all...] |
/external/chromium_org/chrome/third_party/chromevox/ |
H A D | chromeVoxKbExplorerScript.js | 25 cvox.ChromeVox.entireDocumentIsHidden=!1;cvox.ChromeVox.storeOn=function(a){a.isStickyPrefOn=cvox.ChromeVox.isStickyPrefOn;cvox.ChromeVox.navigationManager.storeOn(a)};cvox.ChromeVox.readFrom=function(a){cvox.ChromeVox.isStickyPrefOn=a.isStickyPrefOn;cvox.ChromeVox.navigationManager.readFrom(a)};cvox.ChromeVox.isStickyModeOn=function(){return null!==cvox.ChromeVox.stickyOverride?cvox.ChromeVox.stickyOverride:cvox.ChromeVox.isStickyPrefOn};cvox.KeySequence=function(a,b,c,d){this.doubleTap=!!d;this.cvoxModifier=void 0==b?this.isCVoxModifierActive(a):b;this.stickyMode=!!a.stickyMode;this.prefixKey=!!a.keyPrefix;this.skipStripping=!!c;if(this.stickyMode&&this.prefixKey)throw"Prefix key and sticky mode cannot both be enabled: "+a;a=this.resolveChromeOSSpecialKeys_(a);this.keys={ctrlKey:[],searchKeyHeld:[],altKey:[],altGraphKey:[],shiftKey:[],metaKey:[],keyCode:[]};this.extractKey_(a)}; 28 cvox.KeySequence.prototype.rationalizeKeys_=function(){if(!this.skipStripping){var a=cvox.ChromeVox.modKeyStr.split(/\+/g),b=this.keys.keyCode.length-1;-1!=a.indexOf("Ctrl")&&(this.keys.ctrlKey[b]=!1);-1!=a.indexOf("Alt")&&(this.keys.altKey[b]=!1);-1!=a.indexOf("Shift")&&(this.keys.shiftKey[b]=!1);var c=this.getMetaKeyName_();if(-1!=a.indexOf(c))if("Search"==c)this.keys.searchKeyHeld[b]=!1;else if("Cmd"==c||"Win"==c)this.keys.metaKey[b]=!1}}; 30 cvox.KeySequence.prototype.isCVoxModifierActive=function(a){var b=cvox.ChromeVox.modKeyStr.split(/\+/g);this.isKeyModifierActive(a,"ctrlKey")&&(b=b.filter(function(a){return"Ctrl"!=a}));this.isKeyModifierActive(a,"altKey")&&(b=b.filter(function(a){return"Alt"!=a}));this.isKeyModifierActive(a,"shiftKey")&&(b=b.filter(function(a){return"Shift"!=a}));if(this.isKeyModifierActive(a,"metaKey")||this.isKeyModifierActive(a,"searchKeyHeld"))var c=this.getMetaKeyName_(),b=b.filter(function(a){return a!=c}); 31 return 0==b.length};cvox.KeySequence.prototype.isKeyModifierActive=function(a,b){switch(b){case "ctrlKey":return a.ctrlKey||17==a.keyCode;case "altKey":return a.altKey||18==a.keyCode;case "shiftKey":return a.shiftKey||16==a.keyCode;case "metaKey":return a.metaKey||!cvox.ChromeVox.isChromeOS&&91==a.keyCode;case "searchKeyHeld":return cvox.ChromeVox.isChromeOS&&91==a.keyCode||a.searchKeyHeld}return!1}; 34 e);d&&b.addKeyEvent(c);return b};cvox.KeySequence.setModifiersOnEvent_=function(a,b){"Ctrl"==a?(b.ctrlKey=!0,b.keyCode=17):"Alt"==a?(b.altKey=!0,b.keyCode=18):"Shift"==a?(b.shiftKey=!0,b.keyCode=16):"Search"==a?(b.searchKeyHeld=!0,b.keyCode=91):"Cmd"==a?(b.metaKey=!0,b.keyCode=91):"Win"==a?(b.metaKey=!0,b.keyCode=91):"Insert"==a&&(b.keyCode=45)}; 45 cvox.KeyUtil.keySequenceToString=function(a,b,c){for(var d="",e=a.length(),h=0;h<e;h++){""==d||c?""!=d&&(d+="+"):d+=">";var f="",g;for(g in a.keys)if(a.keys[g][h]){var k="";switch(g){case "ctrlKey":k="Ctrl";break;case "searchKeyHeld":k=cvox.KeyUtil.getReadableNameForKeyCode(91);break;case "altKey":k="Alt";break;case "altGraphKey":k="AltGraph";break;case "shiftKey":k="Shift";break;case "metaKey":k=cvox.KeyUtil.getReadableNameForKeyCode(91);break;case "keyCode":var l=a.keys[g][h];a.isModifierKey(l)||
|
H A D | chromeVoxChromeOptionsScript.js | 25 cvox.ChromeVox.entireDocumentIsHidden=!1;cvox.ChromeVox.storeOn=function(a){a.isStickyPrefOn=cvox.ChromeVox.isStickyPrefOn;cvox.ChromeVox.navigationManager.storeOn(a)};cvox.ChromeVox.readFrom=function(a){cvox.ChromeVox.isStickyPrefOn=a.isStickyPrefOn;cvox.ChromeVox.navigationManager.readFrom(a)};cvox.ChromeVox.isStickyModeOn=function(){return null!==cvox.ChromeVox.stickyOverride?cvox.ChromeVox.stickyOverride:cvox.ChromeVox.isStickyPrefOn};cvox.KeySequence=function(a,b,c,d){this.doubleTap=!!d;this.cvoxModifier=void 0==b?this.isCVoxModifierActive(a):b;this.stickyMode=!!a.stickyMode;this.prefixKey=!!a.keyPrefix;this.skipStripping=!!c;if(this.stickyMode&&this.prefixKey)throw"Prefix key and sticky mode cannot both be enabled: "+a;a=this.resolveChromeOSSpecialKeys_(a);this.keys={ctrlKey:[],searchKeyHeld:[],altKey:[],altGraphKey:[],shiftKey:[],metaKey:[],keyCode:[]};this.extractKey_(a)}; 28 cvox.KeySequence.prototype.rationalizeKeys_=function(){if(!this.skipStripping){var a=cvox.ChromeVox.modKeyStr.split(/\+/g),b=this.keys.keyCode.length-1;-1!=a.indexOf("Ctrl")&&(this.keys.ctrlKey[b]=!1);-1!=a.indexOf("Alt")&&(this.keys.altKey[b]=!1);-1!=a.indexOf("Shift")&&(this.keys.shiftKey[b]=!1);var c=this.getMetaKeyName_();if(-1!=a.indexOf(c))if("Search"==c)this.keys.searchKeyHeld[b]=!1;else if("Cmd"==c||"Win"==c)this.keys.metaKey[b]=!1}}; 30 cvox.KeySequence.prototype.isCVoxModifierActive=function(a){var b=cvox.ChromeVox.modKeyStr.split(/\+/g);this.isKeyModifierActive(a,"ctrlKey")&&(b=b.filter(function(a){return"Ctrl"!=a}));this.isKeyModifierActive(a,"altKey")&&(b=b.filter(function(a){return"Alt"!=a}));this.isKeyModifierActive(a,"shiftKey")&&(b=b.filter(function(a){return"Shift"!=a}));if(this.isKeyModifierActive(a,"metaKey")||this.isKeyModifierActive(a,"searchKeyHeld"))var c=this.getMetaKeyName_(),b=b.filter(function(a){return a!=c}); 31 return 0==b.length};cvox.KeySequence.prototype.isKeyModifierActive=function(a,b){switch(b){case "ctrlKey":return a.ctrlKey||17==a.keyCode;case "altKey":return a.altKey||18==a.keyCode;case "shiftKey":return a.shiftKey||16==a.keyCode;case "metaKey":return a.metaKey||!cvox.ChromeVox.isChromeOS&&91==a.keyCode;case "searchKeyHeld":return cvox.ChromeVox.isChromeOS&&91==a.keyCode||a.searchKeyHeld}return!1}; 35 e);d&&b.addKeyEvent(c);return b};cvox.KeySequence.setModifiersOnEvent_=function(a,b){"Ctrl"==a?(b.ctrlKey=!0,b.keyCode=17):"Alt"==a?(b.altKey=!0,b.keyCode=18):"Shift"==a?(b.shiftKey=!0,b.keyCode=16):"Search"==a?(b.searchKeyHeld=!0,b.keyCode=91):"Cmd"==a?(b.metaKey=!0,b.keyCode=91):"Win"==a?(b.metaKey=!0,b.keyCode=91):"Insert"==a&&(b.keyCode=45)}; 46 cvox.KeyUtil.keySequenceToString=function(a,b,c){for(var d="",e=a.length(),f=0;f<e;f++){""==d||c?""!=d&&(d+="+"):d+=">";var g="",h;for(h in a.keys)if(a.keys[h][f]){var k="";switch(h){case "ctrlKey":k="Ctrl";break;case "searchKeyHeld":k=cvox.KeyUtil.getReadableNameForKeyCode(91);break;case "altKey":k="Alt";break;case "altGraphKey":k="AltGraph";break;case "shiftKey":k="Shift";break;case "metaKey":k=cvox.KeyUtil.getReadableNameForKeyCode(91);break;case "keyCode":var l=a.keys[h][f];a.isModifierKey(l)|| 922 cvox.BrailleInputHandler.prototype.onBrailleKeyEvent=function(a){if(a.command===cvox.BrailleKeyCommand.DOTS)return this.onBrailleDots_(a.brailleDots);this.pendingCells_.length=0;return a.command===cvox.BrailleKeyCommand.STANDARD_KEY?(("Backspace"!==a.standardKeyCode||a.altKey||a.ctrlKey||a.shiftKey||!this.onBackspace_())&&this.sendKeyEventPair_(a),!0):!1}; 931 cvox.BrailleInputHandler.prototype.sendKeyEventPair_=function(a){var b=a.standardKeyCode,c=cvox.BrailleKeyEvent.keyCodeToLegacyCode(b);if(!goog.isDef(c))throw Error("Unknown key code in event: "+JSON.stringify(a));a={type:"keydown",keyCode:c,keyName:b,charValue:cvox.BrailleKeyEvent.keyCodeToCharValue(b),modifiers:(a.shiftKey?2:0)|(a.ctrlKey?4:0)|(a.altKey?8:0)};chrome.virtualKeyboardPrivate.sendKeyEvent(a);a.type="keyup";chrome.virtualKeyboardPrivate.sendKeyEvent(a)}; 1435 cvox.SearchWidget.prototype.onKeyDown=function(a){if(!this.isActive())return!1;var b=this.txtNode_.value;if(8==a.keyCode)0<b.length?(b=b.substring(0,b.length-1),this.txtNode_.value=b,this.beginSearch_(b)):(cvox.ChromeVox.navigationManager.updateSelToArbitraryNode(this.initialNode),cvox.ChromeVox.navigationManager.syncAll());else if(40==a.keyCode)this.next_(b,!1);else if(38==a.keyCode)this.next_(b,!0);else if(13==a.keyCode)this.hide(!0);else if(27==a.keyCode)this.hide(!1);else if(a.ctrlKey [all...] |