Index: chrome/browser/views/location_bar_view.h |
=================================================================== |
--- chrome/browser/views/location_bar_view.h (revision 23961) |
+++ chrome/browser/views/location_bar_view.h (working copy) |
@@ -112,11 +112,11 @@ |
virtual SkBitmap GetFavIcon() const; |
virtual std::wstring GetTitle() const; |
- // Returns the accessibility role. |
- bool GetAccessibleRole(AccessibilityTypes::Role* role); |
- |
// Overridden from views::View: |
virtual bool SkipDefaultKeyEventProcessing(const views::KeyEvent& e); |
+ virtual bool GetAccessibleName(std::wstring* name); |
+ virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); |
+ virtual void SetAccessibleName(const std::wstring& name); |
// Overridden from LocationBar: |
virtual void ShowFirstRunBubble(bool use_OEM_bubble); |
@@ -510,6 +510,9 @@ |
// The positioner that places the autocomplete popup. |
AutocompletePopupPositioner* popup_positioner_; |
+ |
+ // Storage of string needed for accessibility. |
+ std::wstring accessible_name_; |
}; |
sky
2009/08/21 21:33:39
Can you add DISALLOW_COPY_AND_ASSIGN while you're
|
#endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H_ |