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

Unified Diff: chrome/browser/resources/tab_modal_confirm_dialog.html

Issue 10873038: Replacing WebUIBindings use of CPPBoundClass with v8::Extension. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor fix. 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
Index: chrome/browser/resources/tab_modal_confirm_dialog.html
diff --git a/chrome/browser/resources/tab_modal_confirm_dialog.html b/chrome/browser/resources/tab_modal_confirm_dialog.html
index 8637543beaff7e976460777ded1ed1569dd4a6f0..97fe0975a856e1a530c87f80bca982ea1d9bab2f 100644
--- a/chrome/browser/resources/tab_modal_confirm_dialog.html
+++ b/chrome/browser/resources/tab_modal_confirm_dialog.html
@@ -52,7 +52,8 @@
}
function load() {
- i18nTemplate.process(document, JSON.parse(chrome.dialogArguments));
+ i18nTemplate.process(document, JSON.parse(
+ chrome.getVariableValue('dialogArguments')));
document.addEventListener('keydown', handleKeyDown);
$('form').onsubmit = handleSubmit;
$('cancel').onclick = cancel;

Powered by Google App Engine
This is Rietveld 408576698