Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1204)

Side by Side Diff: tools/telemetry/telemetry/internal/actions/drag.js

Issue 1056133003: Move page/actions to internal/actions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add copyright header. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file provides the DragAction object, which performs drag on a page 5 // This file provides the DragAction object, which performs drag on a page
6 // using given start and end positions: 6 // using given start and end positions:
7 // 1. var action = new __DragAction(callback) 7 // 1. var action = new __DragAction(callback)
8 // 2. action.start(drag_options) 8 // 2. action.start(drag_options)
9 'use strict'; 9 'use strict';
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 this.endMeasuringHook(); 61 this.endMeasuringHook();
62 62
63 // We're done. 63 // We're done.
64 if (this.callback_) 64 if (this.callback_)
65 this.callback_(); 65 this.callback_();
66 }; 66 };
67 67
68 window.__DragAction = DragAction; 68 window.__DragAction = DragAction;
69 window.__DragAction_SupportedByBrowser = supportedByBrowser; 69 window.__DragAction_SupportedByBrowser = supportedByBrowser;
70 })(); 70 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698