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

Side by Side Diff: content/browser/accessibility/browser_accessibility_com_win.h

Issue 2981083002: Migrate BrowserAccessibility windows unique id handling to AXPlatformNodeWin. (Closed)
Patch Set: Android fix. I was hoping I could get rid of this. Someday though! Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2017 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_COM_WIN_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 #include <oleacc.h> 10 #include <oleacc.h>
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 BrowserAccessibilityWin* owner() const { return owner_; } 742 BrowserAccessibilityWin* owner() const { return owner_; }
743 void SetOwner(BrowserAccessibilityWin* owner) { owner_ = owner; } 743 void SetOwner(BrowserAccessibilityWin* owner) { owner_ = owner; }
744 744
745 BrowserAccessibilityManager* Manager() const; 745 BrowserAccessibilityManager* Manager() const;
746 746
747 // 747 //
748 // AXPlatformNode overrides 748 // AXPlatformNode overrides
749 // 749 //
750 void Destroy() override; 750 void Destroy() override;
751 void Init(ui::AXPlatformNodeDelegate* delegate) override; 751 void Init(ui::AXPlatformNodeDelegate* delegate) override;
752 AXPlatformNode* GetFromUniqueId(int32_t unique_id) override;
753 752
754 // Returns the IA2 text attributes for this object. 753 // Returns the IA2 text attributes for this object.
755 std::vector<base::string16> ComputeTextAttributes() const; 754 std::vector<base::string16> ComputeTextAttributes() const;
756 755
757 // Add one to the reference count and return the same object. Always 756 // Add one to the reference count and return the same object. Always
758 // use this method when returning a BrowserAccessibilityComWin object as 757 // use this method when returning a BrowserAccessibilityComWin object as
759 // an output parameter to a COM interface, never use it otherwise. 758 // an output parameter to a COM interface, never use it otherwise.
760 BrowserAccessibilityComWin* NewReference(); 759 BrowserAccessibilityComWin* NewReference();
761 760
762 // Returns a list of IA2 attributes indicating the offsets in the text of a 761 // Returns a list of IA2 attributes indicating the offsets in the text of a
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 975
977 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityComWin); 976 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityComWin);
978 }; 977 };
979 978
980 CONTENT_EXPORT BrowserAccessibilityComWin* ToBrowserAccessibilityComWin( 979 CONTENT_EXPORT BrowserAccessibilityComWin* ToBrowserAccessibilityComWin(
981 BrowserAccessibility* obj); 980 BrowserAccessibility* obj);
982 981
983 } // namespace content 982 } // namespace content
984 983
985 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ 984 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698