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

Unified Diff: content/browser/accessibility/browser_accessibility_event_win.h

Issue 1925473002: Add verbose logging for native accessibility events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@load_complete
Patch Set: address all feedback Created 4 years, 8 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/accessibility/browser_accessibility_event_win.h
diff --git a/content/browser/accessibility/browser_accessibility_event_win.h b/content/browser/accessibility/browser_accessibility_event_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..1d1ac4eaf31c08c731d1cce4ed19f70958a8ae44
--- /dev/null
+++ b/content/browser/accessibility/browser_accessibility_event_win.h
@@ -0,0 +1,38 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_EVENT_WIN_H_
+#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_EVENT_WIN_H_
+
+#include <oleacc.h>
+
+#include "content/browser/accessibility/browser_accessibility_event.h"
+
+namespace content {
+
+class CONTENT_EXPORT BrowserAccessibilityEventWin
+ : public BrowserAccessibilityEvent {
+ public:
+ BrowserAccessibilityEventWin(Source source,
+ ui::AXEvent event_type,
+ LONG win_event_type,
+ const BrowserAccessibility* target);
+ ~BrowserAccessibilityEventWin() override;
+
+ LONG win_event_type() { return win_event_type_; }
+
+ Result Fire() override;
+
+ protected:
+ std::string GetEventNameStr() override;
+
+ LONG win_event_type_;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityEventWin);
+};
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_EVENT_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698