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

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: Re-land without offending line for now. Created 8 years 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 | « content/browser/accessibility/browser_accessibility_state_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4c89f5aa6930afbb8eac7429c33982f6d84ef34b 100644
--- a/content/public/browser/browser_accessibility_state.h
+++ b/content/public/browser/browser_accessibility_state.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_PUBLIC_BROWSER_BROWSER_ACCESSIBILITY_STATE_H_
#define CONTENT_PUBLIC_BROWSER_BROWSER_ACCESSIBILITY_STATE_H_
+#include "base/callback_forward.h"
#include "content/common/content_export.h"
namespace content {
@@ -27,6 +28,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
« no previous file with comments | « content/browser/accessibility/browser_accessibility_state_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698