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

Side by Side Diff: content/public/browser/browser_accessibility_state.h

Issue 11778045: Add test for accessibility histograms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed extraneous comments Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/accessibility/browser_accessibility_state_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_ACCESSIBILITY_STATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_ACCESSIBILITY_STATE_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_ACCESSIBILITY_STATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_ACCESSIBILITY_STATE_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
(...skipping 16 matching lines...) Expand all
27 virtual void OnScreenReaderDetected() = 0; 27 virtual void OnScreenReaderDetected() = 0;
28 28
29 // Returns true if the browser should be customized for accessibility. 29 // Returns true if the browser should be customized for accessibility.
30 virtual bool IsAccessibleBrowser() = 0; 30 virtual bool IsAccessibleBrowser() = 0;
31 31
32 // Add a callback method that will be called once, a small while after the 32 // Add a callback method that will be called once, a small while after the
33 // browser starts up, when accessibility state histograms are updated. 33 // browser starts up, when accessibility state histograms are updated.
34 // Use this to register a method to update additional accessibility 34 // Use this to register a method to update additional accessibility
35 // histograms. 35 // histograms.
36 virtual void AddHistogramCallback(base::Closure callback) = 0; 36 virtual void AddHistogramCallback(base::Closure callback) = 0;
37
38 virtual void UpdateHistogramsForTesting() = 0;
37 }; 39 };
38 40
39 } // namespace content 41 } // namespace content
40 42
41 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_ACCESSIBILITY_STATE_H_ 43 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_ACCESSIBILITY_STATE_H_
OLDNEW
« 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