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

Unified Diff: chrome/test/data/webui/print_preview.js

Issue 2863183004: Print Preview: Fix top level directory compile errors (Closed)
Patch Set: Created 3 years, 7 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/test/data/webui/print_preview.js
diff --git a/chrome/test/data/webui/print_preview.js b/chrome/test/data/webui/print_preview.js
index 7d64f2e42b9a485728d405cba2aec18c546b4556..d01c54386aa7e1136bc30143b09c7c7f751aa252 100644
--- a/chrome/test/data/webui/print_preview.js
+++ b/chrome/test/data/webui/print_preview.js
@@ -111,9 +111,9 @@ PrintPreviewWebUITest.prototype = {
__proto__: cr.EventTarget.prototype,
search: function(isRecent) {}
};
- var oldCpInterfaceEventType = cloudprint.CloudPrintInterface.EventType;
+ var oldCpInterfaceEventType = cloudprint.CloudPrintInterfaceEventType;
cloudprint.CloudPrintInterface = CloudPrintInterfaceStub;
- cloudprint.CloudPrintInterface.EventType = oldCpInterfaceEventType;
+ cloudprint.CloudPrintInterfaceEventType = oldCpInterfaceEventType;
print_preview.PreviewArea.prototype.checkPluginCompatibility_ =
function() {
@@ -311,7 +311,7 @@ TEST_F('PrintPreviewWebUITest', 'TestPrinterListCloudEmpty', function() {
this.nativeLayer_.dispatchEvent(cloudPrintEnableEvent);
var searchDoneEvent =
- new Event(cloudprint.CloudPrintInterface.EventType.SEARCH_DONE);
+ new Event(cloudprint.CloudPrintInterfaceEventType.SEARCH_DONE);
searchDoneEvent.printers = [];
searchDoneEvent.isRecent = true;
searchDoneEvent.email = 'foo@chromium.org';

Powered by Google App Engine
This is Rietveld 408576698