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

Unified Diff: mojo/spy/ui/spy.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.html
diff --git a/mojo/spy/ui/spy.html b/mojo/spy/ui/spy.html
new file mode 100644
index 0000000000000000000000000000000000000000..6bd7ca07c8194b34d5ec04ca36385101518d3c15
--- /dev/null
+++ b/mojo/spy/ui/spy.html
@@ -0,0 +1,36 @@
+<!--
+Copyright (c) 2013 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.
+-->
+<style>
+ x-spy-log-message {
+ display: block;
+ border-style: 1px solid black;
+ margin-top: 4px;
+ margin-bottom: 4px;
+ }
+
+ x-spy {
+ display: -webkit-flex;
+ -webkit-flex-direction: column;
+ }
+ x-spy > messages {
+ display: block;
+ -webkit-flex: 1 1 auto;
+ }
+ x-spy > form {
+ -webkit-flex: 0 0 auto;
+ }
+ x-spy > form > input {
+ width: 300px;
+ }
+</style>
+
+
+<template id="x-spy-template">
+ <messages>
+ </messages>
+ <input type="text" id="command" placeholder="enter spy command + enter" />
+</template>
+

Powered by Google App Engine
This is Rietveld 408576698