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

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: Renaming, nts 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..8794eb8e48206141a6a3a2d938c0193694481a74 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.MARGIN_LINE_MOUSE_DOWN);
},
/**
« no previous file with comments | « chrome/browser/resources/print_preview/margins_ui.js ('k') | chrome/browser/resources/print_preview/page_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698