From 97e3f850ea57773864ed85b4e7e2c71fa8a90c45 Mon Sep 17 00:00:00 2001 From: "dmazzoni@chromium.org" Date: Fri, 30 Nov 2012 23:20:56 +0000 Subject: Add Chrome OS accessibility histograms. BUG=99504 TBR=joi Review URL: https://chromiumcodereview.appspot.com/11414232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170590 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/accessibility/browser_accessibility_state_impl.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'content/browser/accessibility/browser_accessibility_state_impl.h') diff --git a/content/browser/accessibility/browser_accessibility_state_impl.h b/content/browser/accessibility/browser_accessibility_state_impl.h index fd2bd39..40d99fd 100644 --- a/content/browser/accessibility/browser_accessibility_state_impl.h +++ b/content/browser/accessibility/browser_accessibility_state_impl.h @@ -5,6 +5,8 @@ #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_STATE_IMPL_H_ #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_STATE_IMPL_H_ +#include + #include "base/basictypes.h" #include "base/compiler_specific.h" #include "base/memory/singleton.h" @@ -41,6 +43,7 @@ class CONTENT_EXPORT BrowserAccessibilityStateImpl virtual void OnAccessibilityEnabledManually() OVERRIDE; virtual void OnScreenReaderDetected() OVERRIDE; virtual bool IsAccessibleBrowser() OVERRIDE; + virtual void AddHistogramCallback(base::Closure callback) OVERRIDE; // Called a short while after startup to allow time for the accessibility // state to be determined. Updates a histogram with the current state. @@ -60,6 +63,8 @@ class CONTENT_EXPORT BrowserAccessibilityStateImpl AccessibilityMode accessibility_mode_; + std::vector histogram_callbacks_; + DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityStateImpl); }; -- cgit v1.1