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

Unified Diff: chrome/browser/resources/snippets_internals.html

Issue 1927993002: Allow dumping raw json fetched from the server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: After code review #1 Created 4 years, 8 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/snippets_internals.css ('k') | chrome/browser/resources/snippets_internals.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/snippets_internals.html
diff --git a/chrome/browser/resources/snippets_internals.html b/chrome/browser/resources/snippets_internals.html
index b214bf3f26e778308bd5402fd20079f6b66cbbab..eacdf72cc86e105d65917f99cba16504d7c93146 100644
--- a/chrome/browser/resources/snippets_internals.html
+++ b/chrome/browser/resources/snippets_internals.html
@@ -18,7 +18,7 @@ found in the LICENSE file.
<script src="snippets_internals.js"></script>
<div id="info">
- <div class="section">
+ <div>
<h2>Properties</h2>
<table class="section-details">
<tr>
@@ -30,14 +30,14 @@ found in the LICENSE file.
</table>
</div>
- <div id="snippets" class="section">
+ <div id="snippets">
<h2>Snippets <span class="detail">(click for details)</span></h2>
<table class="section-details">
<tr jsselect="list" style="display:none">
<td class="title-link">
<span class="snippet-title" jsvalues="snippet-id:id">
<span jscontent="title"></span>&gt;&gt;</span>
- <div jsvalues="id:id" class="snippet-detail snippet-hidden">
+ <div jsvalues="id:id" class="snippet-detail hidden">
<table>
<tr>
<td>Validity
@@ -67,25 +67,34 @@ found in the LICENSE file.
<div class="detail" id="snippets-empty"></div>
<div class="forms">
<input id="submit-clear" type="submit" value="Clear the list">
- <input id="submit-dump" type="submit" value="Dump the list to downloads">
+ <input id="submit-dump" type="submit" value="Dump the list">
</div>
<div class="forms">
<input id="submit-download" type="submit" value="Add snippets">
from hosts <span id="hosts-help" class="detail"></span>:
<textarea id="hosts-input" placeholder="www.wired.com www.bbc.co.uk"
rows="5"></textarea>
- <div id="hosts-status" class="detail"></div>
+ <span id="hosts-status" class="detail"></span>
</div>
</div>
- <div id="discarded-snippets" class="section">
+ <div id="last-json" class="hidden">
+ <h2>Last json</h2>
Bernhard Bauer 2016/04/29 15:10:48 Nit: JSON in caps
+ <a id="last-json-button">Show the last json &gt;&gt;</a>
+ <div id="last-json-container" class="hidden">
+ <div id="last-json-text"></div>
+ <input id="last-json-dump" type="submit" value="Dump the last JSON">
+ </div>
+ </div>
+
+ <div id="discarded-snippets">
<h2>Discarded snippets <span class="detail">(click for details)</span></h2>
<table class="section-details">
<tr jsselect="list" style="display:none">
<td class="title-link">
<span class="discarded-snippet-title" jsvalues="snippet-id:id">
<span jscontent="title"></span> &gt;&gt;</span>
- <div jsvalues="id:id" class="snippet-detail snippet-hidden">
+ <div jsvalues="id:id" class="snippet-detail hidden">
<table>
<tr>
<td>Validity
@@ -118,7 +127,7 @@ found in the LICENSE file.
</div>
</div>
- <div id="hosts" class="section">
+ <div id="hosts">
<h2>Suggestion hosts</h2>
<table class="section-details">
<tr jsselect="list">
« no previous file with comments | « chrome/browser/resources/snippets_internals.css ('k') | chrome/browser/resources/snippets_internals.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698