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

Unified Diff: content/public/browser/browser_accessibility_state.h

Issue 11414232: Add Chrome OS accessibility histograms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: content/public/browser/browser_accessibility_state.h
diff --git a/content/public/browser/browser_accessibility_state.h b/content/public/browser/browser_accessibility_state.h
index fdf4d6c21563ff704774059d5eaa25b3f8c84501..87bc4f4c5cb3da2293ff05ba09208fb0f73a5ff8 100644
--- a/content/public/browser/browser_accessibility_state.h
+++ b/content/public/browser/browser_accessibility_state.h
@@ -27,6 +27,12 @@ class CONTENT_EXPORT BrowserAccessibilityState {
// Returns true if the browser should be customized for accessibility.
virtual bool IsAccessibleBrowser() = 0;
+
+ // Add a callback method that will be called once, a small while after the
+ // browser starts up, when accessibility state histograms are updated.
+ // Use this to register a method to update additional accessibility
+ // histograms.
+ virtual void AddHistogramCallback(base::Closure callback) = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698