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

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

Issue 2822016: [chrome_frame] Refactor/merge IE no interference tests with other mock event ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
« no previous file with comments | « chrome_frame/test/data/simple.html ('k') | chrome_frame/test/ie_event_sink.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script type="text/javascript">
4 var new_window;
5
6 function OnDblClick() {
7 // Open popup to the url from the given query string.
8 var url = window.location.search.substring(1);
9 new_window = window.open(url, "_blank",
10 "left=10, top=10, height=250, width=250");
11 }
12
13 function OnKeyPress() {
14 var char_code = String.fromCharCode(event.keyCode);
15 if (char_code == 'C') {
16 new_window.close();
17 }
18 }
19 </script>
20 </head>
21 <body onkeypress="OnKeyPress();" ondblclick="OnDblClick();">
22 ChromeFrame full tab mode window open popup test
23 </body>
24 </html>
OLDNEW
« no previous file with comments | « chrome_frame/test/data/simple.html ('k') | chrome_frame/test/ie_event_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698