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

Unified Diff: chrome/browser/resources/task_manager/main.html

Issue 8993007: WebUI TaskManager: Delay scripts loading. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: marge with master Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/task_manager/includes.js ('k') | chrome/browser/resources/task_manager/main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/task_manager/main.html
diff --git a/chrome/browser/resources/task_manager/main.html b/chrome/browser/resources/task_manager/main.html
index 20bc62f27d981e71c71f0b26d3fe102c5f8316b4..af4f5fa185c4647c16d1615ec9c07f606d316623 100644
--- a/chrome/browser/resources/task_manager/main.html
+++ b/chrome/browser/resources/task_manager/main.html
@@ -8,14 +8,24 @@
<head>
<meta charset="utf-8">
<title i18n-content="title"></title>
- <script src="chrome://tasks/includes.js"></script>
- <script src="chrome://tasks/main.js"></script>
+ <script src="measure_time.js"></script>
+
+ <script src="includes.js"></script>
+ <script src="main.js"></script>
<script src="chrome://tasks/strings.js"></script>
+
+ <!-- For accurate load performance tracking
+ place all scripts above this line -->
+ <script>
+ measureTime.recordInterval('Load.Script');
+ </script>
+
<link rel="stylesheet" href="task_manager.css">
</head>
<body>
- <div class="dialog-title" i18n-content="title"
- visibleif='this.opt_.isShowTitle'></div>
+ <if expr="pp_ifdef('chromeos')">
+ <div class="dialog-title" id="dialog-title" i18n-content="title"></div>
+ </if>
<div class="dialog-body">
<div class="list-container">
<div class="detail-table"></div>
@@ -28,12 +38,10 @@
<div class="footer-right-container">
<button id="kill-process"
i18n-content="killChromeOS" disabled></button>
- <button id="close-window" i18n-content="closeWindow"
- visibleif='this.opt_.isShowCloseButton'></button>
+ <if expr="pp_ifdef('chromeos')">
+ <button id="close-window" i18n-content="closeWindow"></button>
+ </if>
</div>
</div>
- <script src="chrome://resources/js/i18n_template.js"></script>
- <script src="chrome://resources/js/i18n_process.js"></script>
</body>
</html>
-
« no previous file with comments | « chrome/browser/resources/task_manager/includes.js ('k') | chrome/browser/resources/task_manager/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698