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

Side by Side Diff: chrome_frame/test/data/window_open.html

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <title>window open</title>
4 <script type="text/javascript">
5 var new_window;
6
7 function OnClick() {
8 // Open popup to the url from the given query string.
9 var url = window.location.search.substring(1);
10 if (!new_window) {
11 new_window = window.open(url, "_blank",
12 "left=10, top=10, height=250, width=250");
13 }
14 }
15
16 function OnKeyPress() {
17 var char_code = String.fromCharCode(event.keyCode);
18 if (char_code == 'c') {
19 new_window.close();
20 }
21 }
22 </script>
23 </head>
24 <body onkeypress="OnKeyPress();" onclick="OnClick();">
25 ChromeFrame full tab mode window open popup test
26 </body>
27 </html>
OLDNEW
« no previous file with comments | « chrome_frame/test/data/window_close_frame.html ('k') | chrome_frame/test/data/window_print.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698