OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 var remoting = remoting || {}; | 5 var remoting = remoting || {}; |
6 | 6 |
7 (function() { | 7 (function() { |
8 'use strict'; | 8 'use strict'; |
9 | 9 |
10 window.addEventListener('blur', pluginLostFocus_, false); | 10 window.addEventListener('blur', pluginLostFocus_, false); |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 case remoting.AppMode.HOST_SHARED: | 627 case remoting.AppMode.HOST_SHARED: |
628 case remoting.AppMode.IN_SESSION: | 628 case remoting.AppMode.IN_SESSION: |
629 var result = chrome.i18n.getMessage(/*i18n-content*/'CLOSE_PROMPT'); | 629 var result = chrome.i18n.getMessage(/*i18n-content*/'CLOSE_PROMPT'); |
630 return result; | 630 return result; |
631 default: | 631 default: |
632 return NULL; | 632 return NULL; |
633 } | 633 } |
634 } | 634 } |
635 | 635 |
636 }()); | 636 }()); |
| 637 |
| 638 // Shortcut to save typing now that this is the only way to show the debug log. |
| 639 var tdl = remoting.toggleDebugLog; |
OLD | NEW |