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

Unified Diff: chrome_frame/frame.html

Issue 218019: Initial import of the Chrome Frame codebase. Integration in chrome.gyp coming... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 3 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
« no previous file with comments | « chrome_frame/find_dialog.cc ('k') | chrome_frame/frame_w_controls.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/frame.html
===================================================================
--- chrome_frame/frame.html (revision 0)
+++ chrome_frame/frame.html (revision 0)
@@ -0,0 +1,20 @@
+<html>
+<!-- TODO(slightlyoff): Move to tests directory? -->
+<head>
+<title>Script test</title>
+<script>
+function OnLoad() {
+ var host = window.externalHost;
+ host.onmessage = OnHostMessage;
+ host.ForwardMessageToExternalHost("Hello from ChromeFrame");
+}
+
+function OnHostMessage(text) {
+ window.alert("In ChromeFrame: \r\n Message from host: " + text);
+}
+</script>
+</head>
+<body onload="OnLoad();">
+Test script
+</body>
+</html>
« no previous file with comments | « chrome_frame/find_dialog.cc ('k') | chrome_frame/frame_w_controls.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698