| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_EVENT_WIN_H_ |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_EVENT_WIN_H_ |
| 7 |
| 8 #include <oleacc.h> |
| 9 |
| 10 #include "content/browser/accessibility/browser_accessibility_event.h" |
| 11 |
| 12 namespace content { |
| 13 |
| 14 class CONTENT_EXPORT BrowserAccessibilityEventWin |
| 15 : public BrowserAccessibilityEvent { |
| 16 public: |
| 17 BrowserAccessibilityEventWin(Source source, |
| 18 ui::AXEvent event_type, |
| 19 LONG win_event_type, |
| 20 const BrowserAccessibility* target); |
| 21 ~BrowserAccessibilityEventWin() override; |
| 22 |
| 23 LONG win_event_type() { return win_event_type_; } |
| 24 |
| 25 Result Fire() override; |
| 26 |
| 27 protected: |
| 28 std::string GetEventNameStr() override; |
| 29 |
| 30 LONG win_event_type_; |
| 31 |
| 32 private: |
| 33 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityEventWin); |
| 34 }; |
| 35 |
| 36 } // namespace content |
| 37 |
| 38 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_EVENT_WIN_H_ |
| OLD | NEW |