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

Unified Diff: experimental/visual_studio_plugin/src/NaClVsx.Package/Templates/ProjectItems/HtmlFile/file.html

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 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
Index: experimental/visual_studio_plugin/src/NaClVsx.Package/Templates/ProjectItems/HtmlFile/file.html
diff --git a/experimental/visual_studio_plugin/src/NaClVsx.Package/Templates/ProjectItems/HtmlFile/file.html b/experimental/visual_studio_plugin/src/NaClVsx.Package/Templates/ProjectItems/HtmlFile/file.html
deleted file mode 100644
index ad56290b0a0b01acb533d103b566bd4317ae53ed..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/src/NaClVsx.Package/Templates/ProjectItems/HtmlFile/file.html
+++ /dev/null
@@ -1,86 +0,0 @@
-<!DOCTYPE html>
-<html>
- <!--
- Copyright (c) 2010 The Native Client Authors. All rights reserved.
- Use of this source code is governed by a BSD-style license that can be
- found in the LICENSE file.
-
- This html example is copied from stub.html, from the examples/stub/ directory
- of the NativeClient SDK web site: http://code.google.com/p/nativeclient-sdk/.
- -->
-<head>
- <title>$safeprojectname$</title>
-
- <script type="text/javascript">
- $safeprojectname$Module = null; // Global application object.
- statusText = 'NO-STATUS';
-
- function moduleDidLoad() {
- $safeprojectname$Module = document.getElementById('$safeprojectname$');
- updateStatus('SUCCESS');
- }
-
- // If the page loads before the Native Client module loads, then set the
- // status message indicating that the module is still loading. Otherwise,
- // do not change the status message.
- function pageDidLoad() {
- if ($safeprojectname$Module == null) {
- updateStatus('LOADING...');
- } else {
- // It's possible that the Native Client module onload event fired
- // before the page's onload event. In this case, the status message
- // will reflect 'SUCCESS', but won't be displayed. This call will
- // display the current message.
- updateStatus();
- }
- }
-
- // Set the global status message. If the element with id 'statusField'
- // exists, then set its HTML to the status message as well.
- // opt_message The message test. If this is null or undefined, then
- // attempt to set the element with id 'statusField' to the value of
- // |statusText|.
- function updateStatus(opt_message) {
- if (opt_message)
- statusText = opt_message;
- var statusField = document.getElementById('status_field');
- if (statusField) {
- statusField.innerHTML = statusText;
- }
- }
- </script>
-</head>
-<body onload="pageDidLoad()">
-
-<h1>Native Client $safeprojectname$ Module</h1>
-<p>
- <!-- Load the published .nexe. This includes the 'src' attribute which
- shows how to load multi-architecture modules. Each entry in the "nexes"
- object in the .nmf manifest file is a key-value pair: the key is the
- runtime ('x86-32', 'x86-64', etc.); the value is a URL for the desired NaCl
- module. To load the debug versions of your .nexes, set the 'src'
- attribute to the _dbg.nmf version of the manifest file.
-
- Note that the <EMBED> element is wrapped inside a <DIV>, which has a 'load'
- event listener attached. This method is used instead of attaching the
- 'load' event listener directly to the <EMBED> element to ensure that the
- listener is active before the NaCl module 'load' event fires.
- -->
- <div id="listener">
- <script type="text/javascript">
- document.getElementById('listener')
- .addEventListener('load', moduleDidLoad, true);
- </script>
- <embed name="nacl_module"
- id="$safeprojectname$"
- width=0 height=0
- src="$safeprojectname$.nmf"
- type="application/x-nacl"
- onload="moduleDidLoad();" />
- </div>
-</p>
-
-<h2>Status</h2>
-<div id="status_field">NO-STATUS</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698