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

Unified Diff: chrome/browser/resources/print_preview/margins_ui_pair.js

Issue 8357009: Print Preview Cleanup: Creating enum with all custom events used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/print_preview/margins_ui_pair.js
diff --git a/chrome/browser/resources/print_preview/margins_ui_pair.js b/chrome/browser/resources/print_preview/margins_ui_pair.js
index 713514566e0705027dd2f08681d45d39cc54b4ce..07e20426e9c7ed1d76261cc8242bdeb1d92c7441 100644
--- a/chrome/browser/resources/print_preview/margins_ui_pair.js
+++ b/chrome/browser/resources/print_preview/margins_ui_pair.js
@@ -176,7 +176,7 @@ cr.define('print_preview', function() {
this.originBeforeDragging = { x: this.offsetLeft, y: this.offsetTop };
this.mousePointerOffset =
{ x: point.x - this.offsetLeft, y: point.y - this.offsetTop };
- cr.dispatchSimpleEvent(this, 'MarginsLineMouseDown');
+ cr.dispatchSimpleEvent(this, customEvents.MARGINS_LINE_MOUSE_DOWN);
},
/**

Powered by Google App Engine
This is Rietveld 408576698