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

Unified Diff: mojo/spy/ui/spy_shell_to_html

Issue 278703002: Initial mojo spy skeleton based on tvcm (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready to land Created 6 years, 7 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: mojo/spy/ui/spy_shell_to_html
diff --git a/mojo/spy/ui/spy_shell_to_html b/mojo/spy/ui/spy_shell_to_html
new file mode 100755
index 0000000000000000000000000000000000000000..543215cc58a9743d2f36e24cb7b622de8f322280
--- /dev/null
+++ b/mojo/spy/ui/spy_shell_to_html
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+# Copyright (c) 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import os
+import sys
+
+if __name__ == '__main__':
+ top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
+ sys.path.append(top_dir)
+ from ui import spy_shell_to_html
+ sys.exit(spy_shell_to_html.Main(sys.argv))

Powered by Google App Engine
This is Rietveld 408576698