Index: views/controls/textfield/native_textfield_win.h |
=================================================================== |
--- views/controls/textfield/native_textfield_win.h (revision 49543) |
+++ views/controls/textfield/native_textfield_win.h (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 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. |
@@ -10,6 +10,7 @@ |
#include <atlcrack.h> |
#include <atlctrls.h> |
#include <atlmisc.h> |
+#include <oleacc.h> |
#include <tom.h> // For ITextDocument, a COM interface to CRichEditCtrl |
#include <vsstyle.h> |
@@ -71,6 +72,11 @@ |
menus::Accelerator* accelerator); |
virtual void ExecuteCommand(int command_id); |
+ // Update accessibility information. |
+ void InitializeAccessibilityInfo(); |
+ void UpdateAccessibleState(uint32 state_flag, bool set_value); |
+ void UpdateAccessibleValue(const std::wstring& value); |
+ |
// CWindowImpl |
BEGIN_MSG_MAP(Edit) |
MSG_WM_CHAR(OnChar) |
@@ -217,6 +223,9 @@ |
COLORREF bg_color_; |
+ // The accessibility state of this object. |
+ int accessibility_state_; |
+ |
DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin); |
}; |