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

Unified Diff: chrome/browser/resources/cloud_print/cloud_print_setup_flow.js

Issue 10873038: Replacing WebUIBindings use of CPPBoundClass with v8::Extension. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Using typeof == "function" Created 8 years, 1 month 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
« no previous file with comments | « chrome/browser/resources/certificate_viewer.js ('k') | chrome/browser/resources/http_auth.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/cloud_print/cloud_print_setup_flow.js
diff --git a/chrome/browser/resources/cloud_print/cloud_print_setup_flow.js b/chrome/browser/resources/cloud_print/cloud_print_setup_flow.js
index 614ba4b97e99aed71bfd28b1ffc393ffb8af5373..25758f10da2ae3a1f8073f85f9554d083723bd1a 100644
--- a/chrome/browser/resources/cloud_print/cloud_print_setup_flow.js
+++ b/chrome/browser/resources/cloud_print/cloud_print_setup_flow.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-cr.define('cloudprint', function () {
+cr.define('cloudprint', function() {
function hideAllPages() {
var pages = ['cloudprintsetup', 'setupdone'];
for (var i = 0; i < pages.length; ++i) {
@@ -18,7 +18,7 @@ cr.define('cloudprint', function () {
}
function showInitialPage() {
- var args = JSON.parse(chrome.dialogArguments);
+ var args = JSON.parse(chrome.getVariableValue('dialogArguments'));
showPage(args.pageToShow);
}
« no previous file with comments | « chrome/browser/resources/certificate_viewer.js ('k') | chrome/browser/resources/http_auth.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698