/external/chromium_org/chrome/browser/resources/feedback/js/ |
topbar_handlers.js | 14 $('minimize-button').addEventListener('mousedown', function(e) { 22 $('close-button').addEventListener('mousedown', function(e) {
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebPluginScrollbarImpl.cpp | 247 case WebInputEvent::MouseDown: 286 WebMouseEvent mousedown = *static_cast<const WebMouseEvent*>(&event); local 287 if (!m_scrollbar->frameRect().contains(mousedown.x, mousedown.y)) 290 mousedown.x -= m_scrollbar->x(); 291 mousedown.y -= m_scrollbar->y(); 292 m_scrollbar->mouseDown(PlatformMouseEventBuilder(m_scrollbar.get(), mousedown));
|
/external/chromium_org/chrome/browser/resources/chromeos/first_run/app/ |
main.js | 18 closeButton.addEventListener('mousedown', function(e) {
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
GlobalEventHandlers.h | 70 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(mousedown);
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
ClearButtonElement.cpp | 88 if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) {
|
TextControlInnerElements.cpp | 184 // On mousedown, focus the search field 186 if (input && event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { 237 if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) { 326 if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) {
|
SpinButtonElement.cpp | 93 if (mouseEvent->type() == EventTypeNames::mousedown && mouseEvent->button() == LeftButton) {
|
MediaControlElements.cpp | 218 if (event->type() == EventTypeNames::mousedown && event->target() == this) { 488 if (event->type() == EventTypeNames::mousedown)
|
SliderThumbElement.cpp | 354 if (eventType == EventTypeNames::mousedown && isLeftButton) {
|
/external/chromium_org/chrome/third_party/chromevox/extensions/searchvox/ |
util.js | 113 * Clicks go in the sequence of mousedown, mouseup, and click. 153 // Send a mousedown (or simply a double click if requested). 155 var evtType = opt_double ? 'dblclick' : 'mousedown';
|
/external/chromium/chrome/browser/resources/ntp/ |
drag_drop_controller.js | 38 // Install the 'mousedown' handler, the entry point to drag and drop. 40 el.addEventListener('mousedown', this.handleMouseDown_.bind(this)); 96 // Listen to mousedown to get the relative position of the cursor when 139 // Use the item that the mouse was above when 'mousedown' fired.
|
/external/chromium_org/remoting/host/ |
client_session_unittest.cc | 436 protocol::MouseEvent mousedown; local 437 mousedown.set_button(protocol::MouseEvent::BUTTON_LEFT); 438 mousedown.set_button_down(true); 458 InjectMouseEvent(connection_, mousedown),
|
/external/chromium/chrome/browser/resources/net_internals/ |
resizableverticalsplitview.js | 38 'mousedown', this.onDragSizerStart_.bind(this), true);
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
EventDispatcher.cpp | 89 EventDispatcher(node, SimulatedMouseEvent::create(EventTypeNames::mousedown, node->document().domWindow(), underlyingEvent)).dispatch();
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGElementInstance.cpp | 54 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(SVGElementInstance, correspondingElement(), mousedown);
|
SVGElementInstance.h | 113 DECLARE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(correspondingElement(), mousedown); member in class:WebCore::SVGElementInstance
|
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/ |
ui.js | 40 document.removeEventListener('mousedown', ui.popup._handleMouseDown, false); 51 document.addEventListener('mousedown', ui.popup._handleMouseDown, false);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLAnchorElement.cpp | 217 if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() != RightButton && document().frame()) { 564 else if (event->type() == EventTypeNames::mousedown && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton)
|
/external/chromium_org/third_party/flot/ |
jquery.flot.selection.min.js | 79 */(function(e){function t(t){function s(e){n.active&&(h(e),t.getPlaceholder().trigger("plotselecting",[a()]))}function o(t){if(t.which!=1)return;document.body.focus(),document.onselectstart!==undefined&&r.onselectstart==null&&(r.onselectstart=document.onselectstart,document.onselectstart=function(){return!1}),document.ondrag!==undefined&&r.ondrag==null&&(r.ondrag=document.ondrag,document.ondrag=function(){return!1}),c(n.first,t),n.active=!0,i=function(e){u(e)},e(document).one("mouseup",i)}function u(e){return i=null,document.onselectstart!==undefined&&(document.onselectstart=r.onselectstart),document.ondrag!==undefined&&(document.ondrag=r.ondrag),n.active=!1,h(e),m()?f():(t.getPlaceholder().trigger("plotunselected",[]),t.getPlaceholder().trigger("plotselecting",[null])),!1}function a(){if(!m())return null;if(!n.show)return null;var r={},i=n.first,s=n.second;return e.each(t.getAxes(),function(e,t){if(t.used){var n=t.c2p(i[t.direction]),o=t.c2p(s[t.direction]);r[e]={from:Math.min(n,o),to:Math.max(n,o)}}}),r}function f(){var e=a();t.getPlaceholder().trigger("plotselected",[e]),e.xaxis&&e.yaxis&&t.getPlaceholder().trigger("selected",[{x1:e.xaxis.from,y1:e.yaxis.from,x2:e.xaxis.to,y2:e.yaxis.to}])}function l(e,t,n){return t<e?e:t>n?n:t}function c(e,r){var i=t.getOptions(),s=t.getPlaceholder().offset(),o=t.getPlotOffset();e.x=l(0,r.pageX-s.left-o.left,t.width()),e.y=l(0,r.pageY-s.top-o.top,t.height()),i.selection.mode=="y"&&(e.x=e==n.first?0:t.width()),i.selection.mode=="x"&&(e.y=e==n.first?0:t.height())}function h(e){if(e.pageX==null)return;c(n.second,e),m()?(n.show=!0,t.triggerRedrawOverlay()):p(!0)}function p(e){n.show&&(n.show=!1,t.triggerRedrawOverlay(),e||t.getPlaceholder().trigger("plotunselected",[]))}function d(e,n){var r,i,s,o,u=t.getAxes();for(var a in u){r=u[a];if(r.direction==n){o=n+r.n+"axis",!e[o]&&r.n==1&&(o=n+"axis");if(e[o]){i=e[o].from,s=e[o].to;break}}}e[o]||(r=n=="x"?t.getXAxes()[0]:t.getYAxes()[0],i=e[n+"1"],s=e[n+"2"]);if(i!=null&&s!=null&&i>s){var f=i;i=s,s=f}return{from:i,to:s,axis:r}}function v(e,r){var i,s,o=t.getOptions();o.selection.mode=="y"?(n.first.x=0,n.second.x=t.width()):(s=d(e,"x"),n.first.x=s.axis.p2c(s.from),n.second.x=s.axis.p2c(s.to)),o.selection.mode=="x"?(n.first.y=0,n.second.y=t.height()):(s=d(e,"y"),n.first.y=s.axis.p2c(s.from),n.second.y=s.axis.p2c(s.to)),n.show=!0,t.triggerRedrawOverlay(),!r&&m()&&f()}function m(){var e=t.getOptions().selection.minSize;return Math.abs(n.second.x-n.first.x)>=e&&Math.abs(n.second.y-n.first.y)>=e}var n={first:{x:-1,y:-1},second:{x:-1,y:-1},show:!1,active:!1},r={},i=null;t.clearSelection=p,t.setSelection=v,t.getSelection=a,t.hooks.bindEvents.push(function(e,t){var n=e.getOptions();n.selection.mode!=null&&(t.mousemove(s),t.mousedown(o))}),t.hooks.drawOverlay.push(function(t,r){if(n.show&&m()){var i=t.getPlotOffset(),s=t.getOptions();r.save(),r.translate(i.left,i.top);var o=e.color.parse(s.selection.color);r.strokeStyle=o.scale("a",.8).toString(),r.lineWidth=1,r.lineJoin=s.selection.shape,r.fillStyle=o.scale("a",.4).toString();var u=Math.min(n.first.x,n.second.x)+.5,a=Math.min(n.first.y,n.second.y)+.5,f=Math.abs(n.second.x-n.first.x)-1,l=Math.abs(n.second.y-n.first.y)-1;r.fillRect(u,a,f,l),r.strokeRect(u,a,f,l),r.restore()}}),t.hooks.shutdown.push(function(t,n){n.unbind("mousemove",s),n.unbind("mousedown",o),i&&e(document).unbind("mouseup",i)})}e.plot.plugins.push({init:t,options:{selection:{mode:null (…)
|
/external/chromium_org/chrome/browser/resources/file_manager/background/js/ |
test_util.js | 421 * whether the target is found and mousedown and click events are sent. 453 // To change the selected volume, we have to send both events 'mousedown' 570 * specified by |targetQuery|. This sends 'mouseover', 'mousedown', 'mouseup' 584 var mouseDownEvent = new MouseEvent('mousedown', {bubbles: true, detail: 1}); 641 var event = new MouseEvent('mousedown', { bubbles: true });
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
TextFieldInputType.cpp | 75 // Chromium opens autofill popup in a mousedown event listener 78 // FIXME: We should dispatch mousedown events even in such case. 79 if (event->type() == EventTypeNames::mousedown)
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ |
scrollbar.js | 53 this.button_.addEventListener('mousedown',
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/ |
scene.js | 214 rendererContainer.addEventListener('mousedown', onMouseDown, false);
|
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
colorSuggestionPicker.js | 90 this._element.addEventListener("mousedown", this._handleMouseDown.bind(this));
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/photo/ |
gallery.js | 186 maximizeButton.addEventListener('mousedown', preventDefault); 193 closeButton.addEventListener('mousedown', preventDefault);
|