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

Side by Side Diff: remoting/webapp/me2mom/choice.html

Issue 7583018: Add beforeUnload handler to confirm exit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed client/host confusion. Created 9 years, 4 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
1 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <html> 8 <html>
9 <head> 9 <head>
10 <meta charset="utf-8" /> 10 <meta charset="utf-8" />
11 <link href="http://fonts.googleapis.com/css?family=Droid+Sans&amp;v1" 11 <link href="http://fonts.googleapis.com/css?family=Droid+Sans&amp;v1"
12 rel="stylesheet" type="text/css"> 12 rel="stylesheet" type="text/css">
13 <link rel="shortcut icon" href="chromoting128.png" /> 13 <link rel="shortcut icon" href="chromoting128.png" />
14 <link rel="stylesheet" href="debug_log.css" /> 14 <link rel="stylesheet" href="debug_log.css" />
15 <link rel="stylesheet" href="main.css" /> 15 <link rel="stylesheet" href="main.css" />
16 <link rel="stylesheet" href="choice.css" /> 16 <link rel="stylesheet" href="choice.css" />
17 <link rel="stylesheet" href="toolbar.css" /> 17 <link rel="stylesheet" href="toolbar.css" />
18 <script src="client_session.js"></script> 18 <script src="client_session.js"></script>
19 <script src="debug_log.js"></script> 19 <script src="debug_log.js"></script>
20 <script src="l10n.js"></script> 20 <script src="l10n.js"></script>
21 <script src="oauth2.js"></script> 21 <script src="oauth2.js"></script>
22 <script src="plugin_settings.js"></script> 22 <script src="plugin_settings.js"></script>
23 <script src="remoting.js"></script> 23 <script src="remoting.js"></script>
24 <script src="xhr.js"></script> 24 <script src="xhr.js"></script>
25 <title i18n-content="pageTitle"></title> 25 <title i18n-content="pageTitle"></title>
26 </head> 26 </head>
27 27
28 <body onLoad="remoting.init();" 28 <body onBeforeUnload="return remoting.promptClose();"
29 onLoad="remoting.init();"
29 onUnload="remoting.disconnect();"> 30 onUnload="remoting.disconnect();">
30 31
31 <!-- loading-mode is initially visible, but becomes hidden as soon as an 32 <!-- loading-mode is initially visible, but becomes hidden as soon as an
32 AppMode is selected by remoting.init. All other divs are initially 33 AppMode is selected by remoting.init. All other divs are initially
33 hidden, but are shown appropriately when the mode changes. --> 34 hidden, but are shown appropriately when the mode changes. -->
34 <!-- TODO(jamiewalch): This string is not localized because by the time we 35 <!-- TODO(jamiewalch): This string is not localized because by the time we
35 get around to running localize(), it's hidden anyway. --> 36 get around to running localize(), it's hidden anyway. -->
36 <section id="loading-mode" data-ui-mode=""> 37 <section id="loading-mode" data-ui-mode="">
37 <em>Loading&hellip;</em> 38 <em>Loading&hellip;</em>
38 </section> <!-- loading-mode --> 39 </section> <!-- loading-mode -->
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 233
233 <section id="debug-log" hidden> 234 <section id="debug-log" hidden>
234 <div id="statistics"> 235 <div id="statistics">
235 </div> 236 </div>
236 <div id="debug-messages"> 237 <div id="debug-messages">
237 </div> 238 </div>
238 </section> <!-- debug-log --> 239 </section> <!-- debug-log -->
239 240
240 </body> 241 </body>
241 </html> 242 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698