Home
last modified time | relevance | path

Searched refs:Grabber (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/resources/ntp4/
Dgrabber.js19 var Grabber = (function() { class
27 function Grabber(element) { class in Grabber
82 Grabber.EventType = {
108 Grabber.Event = function(type, grabbedElement) {
111 event.__proto__ = Grabber.Event.prototype;
124 Grabber.Event.prototype = {
134 Grabber.PRESSED_CLASS = 'grabber-pressed';
141 Grabber.GRAB_CLASS = 'grabber-grabbed';
147 Grabber.DRAGGING_CLASS = 'grabber-dragging';
149 Grabber.prototype = {
[all …]
Dnew_tab.js149 document.addEventListener(Grabber.EventType.DRAG_ENTER, appDragEnter);
152 document.addEventListener(Grabber.EventType.DROP, appDrop);
157 sliderFrame.addEventListener(Grabber.EventType.GRAB, enterRearrangeMode);
158 sliderFrame.addEventListener(Grabber.EventType.RELEASE, leaveRearrangeMode);
161 trash.addEventListener(Grabber.EventType.DRAG_ENTER, function(e) {
166 trash.addEventListener(Grabber.EventType.DRAG_LEAVE, function(e) {
170 trash.addEventListener(Grabber.EventType.DROP, appTrash);
369 newDot.addEventListener(Grabber.EventType.DRAG_ENTER, switchPage);
/external/chromium/chrome/browser/resources/touch_ntp/
Dgrabber.js19 var Grabber = (function() { class
27 function Grabber(element) { class in Grabber
82 Grabber.EventType = {
108 Grabber.Event = function(type, grabbedElement) {
111 event.__proto__ = Grabber.Event.prototype;
124 Grabber.Event.prototype = {
134 Grabber.PRESSED_CLASS = 'grabber-pressed';
141 Grabber.GRAB_CLASS = 'grabber-grabbed';
147 Grabber.DRAGGING_CLASS = 'grabber-dragging';
149 Grabber.prototype = {
[all …]
Dnewtab.js153 document.addEventListener(Grabber.EventType.DRAG_ENTER, appDragEnter);
156 document.addEventListener(Grabber.EventType.DROP, appDrop);
161 appsFrame.addEventListener(Grabber.EventType.GRAB, enterRearrangeMode);
162 appsFrame.addEventListener(Grabber.EventType.RELEASE, leaveRearrangeMode);
165 trash.addEventListener(Grabber.EventType.DRAG_ENTER, function(e) {
170 trash.addEventListener(Grabber.EventType.DRAG_LEAVE, function(e) {
174 trash.addEventListener(Grabber.EventType.DROP, appTrash);
397 var grabber = new Grabber(appElement);
401 appEvents.add(appElement, Grabber.EventType.DRAG_START, appDragStart,
403 appEvents.add(appElement, Grabber.EventType.DRAG_END, appDragEnd,
[all …]