| 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 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlcom.h> | 9 #include <atlcom.h> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 // This is used to call UpdateStep1ComputeWinAttributes, ... above when | 22 // This is used to call UpdateStep1ComputeWinAttributes, ... above when |
| 23 // a node needs to be updated for some other reason other than via | 23 // a node needs to be updated for some other reason other than via |
| 24 // OnAtomicUpdateFinished. | 24 // OnAtomicUpdateFinished. |
| 25 void UpdatePlatformAttributes() override; | 25 void UpdatePlatformAttributes() override; |
| 26 | 26 |
| 27 // | 27 // |
| 28 // BrowserAccessibility methods. | 28 // BrowserAccessibility methods. |
| 29 // | 29 // |
| 30 void OnSubtreeWillBeDeleted() override; | 30 void OnSubtreeWillBeDeleted() override; |
| 31 bool IsNative() const override; | 31 bool IsNative() const override; |
| 32 void Destroy() override; | |
| 33 void OnLocationChanged() override; | 32 void OnLocationChanged() override; |
| 34 base::string16 GetText() const override; | 33 base::string16 GetText() const override; |
| 35 | 34 |
| 36 class BrowserAccessibilityComWin* GetCOM() const; | 35 class BrowserAccessibilityComWin* GetCOM() const; |
| 37 | 36 |
| 38 private: | 37 private: |
| 39 CComObject<BrowserAccessibilityComWin>* browser_accessibility_com_; | 38 CComObject<BrowserAccessibilityComWin>* browser_accessibility_com_; |
| 40 // Give BrowserAccessibility::Create access to our constructor. | 39 // Give BrowserAccessibility::Create access to our constructor. |
| 41 friend class BrowserAccessibility; | 40 friend class BrowserAccessibility; |
| 42 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); | 41 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); |
| 43 }; | 42 }; |
| 44 | 43 |
| 45 CONTENT_EXPORT BrowserAccessibilityWin* | 44 CONTENT_EXPORT BrowserAccessibilityWin* |
| 46 ToBrowserAccessibilityWin(BrowserAccessibility* obj); | 45 ToBrowserAccessibilityWin(BrowserAccessibility* obj); |
| 47 | 46 |
| 48 CONTENT_EXPORT const BrowserAccessibilityWin* | 47 CONTENT_EXPORT const BrowserAccessibilityWin* |
| 49 ToBrowserAccessibilityWin(const BrowserAccessibility* obj); | 48 ToBrowserAccessibilityWin(const BrowserAccessibility* obj); |
| 50 | 49 |
| 51 } // namespace content | 50 } // namespace content |
| 52 | 51 |
| 53 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 52 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
| OLD | NEW |