summaryrefslogtreecommitdiffstats
path: root/views/window/window_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/window/window_delegate.h')
-rw-r--r--views/window/window_delegate.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/views/window/window_delegate.h b/views/window/window_delegate.h
index 30174c8..a5144d0 100644
--- a/views/window/window_delegate.h
+++ b/views/window/window_delegate.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,6 +8,7 @@
#include <string>
#include "base/scoped_ptr.h"
+#include "views/accessibility/accessibility_types.h"
class SkBitmap;
@@ -54,6 +55,14 @@ class WindowDelegate {
return false;
}
+ virtual AccessibilityTypes::Role accessible_role() const {
+ return AccessibilityTypes::ROLE_WINDOW;
+ }
+
+ virtual AccessibilityTypes::State accessible_state() const {
+ return 0;
+ }
+
// Returns the text to be displayed in the window title.
virtual std::wstring GetWindowTitle() const {
return L"";