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

Unified Diff: views/controls/textfield/native_textfield_win.h

Issue 2791003: Add accessibility support for Textfields in Windows. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
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);
};
« no previous file with comments | « no previous file | views/controls/textfield/native_textfield_win.cc » ('j') | views/controls/textfield/native_textfield_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698