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

Unified Diff: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc

Issue 10692075: Enhance chrome://omnibox Presentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Sync to tree for final review. Created 8 years, 5 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: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc
===================================================================
--- chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc (revision 148107)
+++ chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc (working copy)
@@ -125,6 +125,9 @@
output->SetString(item_prefix + ".keyword", it->keyword);
output->SetBoolean(item_prefix + ".starred", it->starred);
output->SetBoolean(item_prefix + ".from_previous", it->from_previous);
+ for (std::map<std::string, std::string>::const_iterator j =
+ it->diagnostics.begin(); j != it->diagnostics.end(); ++j)
Evan Stade 2012/07/26 03:56:21 curlies
Peter Kasting 2012/07/26 05:25:43 Not necessary (and I discourage them), since the b
Evan Stade 2012/07/27 00:04:42 I don't like that rule for loops, and the style gu
mrossetti 2012/07/27 17:55:36 Done.
+ output->SetString(item_prefix + ".diagnostics." + j->first, j->second);
}
output->SetInteger(prefix + ".num_items", i);
}
« chrome/browser/resources/omnibox/omnibox.js ('K') | « chrome/browser/resources/omnibox/omnibox.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698