diff options
Diffstat (limited to 'views/window/dialog_delegate.h')
-rw-r--r-- | views/window/dialog_delegate.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/window/dialog_delegate.h b/views/window/dialog_delegate.h index ac6d4e9..36090ca 100644 --- a/views/window/dialog_delegate.h +++ b/views/window/dialog_delegate.h @@ -6,8 +6,8 @@ #define VIEWS_WINDOW_DIALOG_DELEGATE_H_ #pragma once +#include "ui/base/accessibility/accessibility_types.h" #include "ui/base/message_box_flags.h" -#include "views/accessibility/accessibility_types.h" #include "views/window/dialog_client_view.h" #include "views/window/window_delegate.h" @@ -122,10 +122,10 @@ class DialogDelegate : public WindowDelegate { // delegate's Window. DialogClientView* GetDialogClientView() const; - private: + protected: // Overridden from WindowDelegate: - AccessibilityTypes::Role accessible_role() const { - return AccessibilityTypes::ROLE_DIALOG; + virtual ui::AccessibilityTypes::Role GetAccessibleRole() const { + return ui::AccessibilityTypes::ROLE_DIALOG; } }; |