| OLD | NEW |
| 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_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #include <atlcom.h> | 10 #include <atlcom.h> |
| 11 #include <oleacc.h> | 11 #include <oleacc.h> |
| 12 #include <UIAutomationCore.h> | 12 #include <UIAutomationCore.h> |
| 13 | 13 |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/compiler_specific.h" | |
| 17 #include "content/browser/accessibility/browser_accessibility.h" | 16 #include "content/browser/accessibility/browser_accessibility.h" |
| 18 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
| 19 #include "third_party/iaccessible2/ia2_api_all.h" | 18 #include "third_party/iaccessible2/ia2_api_all.h" |
| 20 #include "third_party/isimpledom/ISimpleDOMDocument.h" | 19 #include "third_party/isimpledom/ISimpleDOMDocument.h" |
| 21 #include "third_party/isimpledom/ISimpleDOMNode.h" | 20 #include "third_party/isimpledom/ISimpleDOMNode.h" |
| 22 #include "third_party/isimpledom/ISimpleDOMText.h" | 21 #include "third_party/isimpledom/ISimpleDOMText.h" |
| 23 #include "webkit/glue/webaccessibility.h" | 22 #include "webkit/glue/webaccessibility.h" |
| 24 | 23 |
| 25 class BrowserAccessibilityRelation; | 24 class BrowserAccessibilityRelation; |
| 26 | 25 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 93 |
| 95 CONTENT_EXPORT virtual ~BrowserAccessibilityWin(); | 94 CONTENT_EXPORT virtual ~BrowserAccessibilityWin(); |
| 96 | 95 |
| 97 // | 96 // |
| 98 // BrowserAccessibility methods. | 97 // BrowserAccessibility methods. |
| 99 // | 98 // |
| 100 CONTENT_EXPORT virtual void PreInitialize(); | 99 CONTENT_EXPORT virtual void PreInitialize(); |
| 101 CONTENT_EXPORT virtual void PostInitialize(); | 100 CONTENT_EXPORT virtual void PostInitialize(); |
| 102 CONTENT_EXPORT virtual void NativeAddReference(); | 101 CONTENT_EXPORT virtual void NativeAddReference(); |
| 103 CONTENT_EXPORT virtual void NativeReleaseReference(); | 102 CONTENT_EXPORT virtual void NativeReleaseReference(); |
| 104 CONTENT_EXPORT virtual BrowserAccessibilityWin* ToBrowserAccessibilityWin() | |
| 105 OVERRIDE; | |
| 106 | 103 |
| 107 // | 104 // |
| 108 // IAccessible methods. | 105 // IAccessible methods. |
| 109 // | 106 // |
| 110 | 107 |
| 111 // Performs the default action on a given object. | 108 // Performs the default action on a given object. |
| 112 CONTENT_EXPORT STDMETHODIMP accDoDefaultAction(VARIANT var_id); | 109 CONTENT_EXPORT STDMETHODIMP accDoDefaultAction(VARIANT var_id); |
| 113 | 110 |
| 114 // Retrieves the child element or child object at a given point on the screen. | 111 // Retrieves the child element or child object at a given point on the screen. |
| 115 CONTENT_EXPORT STDMETHODIMP accHitTest(LONG x_left, LONG y_top, | 112 CONTENT_EXPORT STDMETHODIMP accHitTest(LONG x_left, LONG y_top, |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 861 std::vector<int32> hyperlinks_; | 858 std::vector<int32> hyperlinks_; |
| 862 | 859 |
| 863 // Give BrowserAccessibility::Create access to our constructor. | 860 // Give BrowserAccessibility::Create access to our constructor. |
| 864 friend class BrowserAccessibility; | 861 friend class BrowserAccessibility; |
| 865 friend class BrowserAccessibilityRelation; | 862 friend class BrowserAccessibilityRelation; |
| 866 | 863 |
| 867 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); | 864 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); |
| 868 }; | 865 }; |
| 869 | 866 |
| 870 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 867 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
| OLD | NEW |