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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 12210082: content: convert accessibility notifications to observer usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: windows Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 7d57852228eed7aa35d9390d22bdea8f6a2efc11..36a098611a9ab56a2afdc9d2b911f121d963d009 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -208,6 +208,12 @@ class CONTENT_EXPORT RenderViewHostImpl
virtual void UpdateWebkitPreferences(
const webkit_glue::WebPreferences& prefs) OVERRIDE;
virtual void NotifyTimezoneChange() OVERRIDE;
+ virtual void SetAccessibilityLayoutCompleteCallbackForTesting(
+ const base::Closure& callback) OVERRIDE;
+ virtual void SetAccessibilityLoadCompleteCallbackForTesting(
+ const base::Closure& callback) OVERRIDE;
+ virtual void SetAccessibilityOtherCallbackForTesting(
+ const base::Closure& callback) OVERRIDE;
#if defined(OS_ANDROID)
virtual void ActivateNearestFindResult(int request_id,
@@ -652,6 +658,11 @@ class CONTENT_EXPORT RenderViewHostImpl
// callbacks.
std::map<int, JavascriptResultCallback> javascript_callbacks_;
+ // Accessibility callbacks.
+ base::Closure accessibility_layout_callback_;
+ base::Closure accessibility_load_callback_;
+ base::Closure accessibility_other_callback_;
+
// True if the render view can be shut down suddenly.
bool sudden_termination_allowed_;

Powered by Google App Engine
This is Rietveld 408576698