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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2412753002: Add UMA for documents calling window.print(). (Closed)
Patch Set: Improve description. Created 4 years, 2 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:
Download patch
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 032008b68c3031f8a39bd7f5a6a53beb16e8152f..99c2e5af84fa88c58675ff9b3b5c5b3003b9374d 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -47287,6 +47287,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="PrintPreview.InitiatedByScript" enum="BooleanMainFrame">
+ <owner>nasko@chromium.org</owner>
+ <summary>
+ Logged when a document calls the window.print() API. The boolean value
+ indicates whether it is invoked by the main frame. It will be false for
+ documents in subframes.
+ </summary>
+</histogram>
+
<histogram name="PrintPreview.ManagePrinters">
<owner>vitalybuka@chromium.org</owner>
<summary>
@@ -47301,6 +47310,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="PrintPreview.OutOfProcessSubframe" enum="Boolean">
+ <owner>nasko@chromium.org</owner>
+ <summary>
+ Logged when a document calls the window.print() API in any frame. The
+ boolean value will be true when the API call is invoked by a document which
+ is in a process different than the top level document. It will be false in
+ all other cases.
+ </summary>
+</histogram>
+
<histogram name="PrintPreview.PageCount.Initial">
<owner>vitalybuka@chromium.org</owner>
<summary>
@@ -73378,6 +73397,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="1" label="Loaded"/>
</enum>
+<enum name="BooleanMainFrame" type="int">
+ <int value="0" label="Subframe"/>
+ <int value="1" label="Main frame"/>
+</enum>
+
<enum name="BooleanMatched" type="int">
<int value="0" label="Not matched"/>
<int value="1" label="Matched"/>
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698