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

Unified Diff: chrome/views/label.h

Issue 18757: Porting in chrome/views/ (Closed)
Patch Set: sync with trunk Created 11 years, 11 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
« no previous file with comments | « chrome/views/SConscript ('k') | chrome/views/label.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/label.h
diff --git a/chrome/views/label.h b/chrome/views/label.h
index 3ac82d12caf593a05e94af67e677dbd18bb1a544..385518d79511733b948b7fb61edba0090e9ecef4 100644
--- a/chrome/views/label.h
+++ b/chrome/views/label.h
@@ -126,6 +126,9 @@ class Label : public View {
// wrapped). If 0, no maximum width is enforced.
void SizeToFit(int max_width);
+#if defined(OS_WIN)
+ // TODO(port): Make portable equivalents of accessibility-related functions.
+
// Returns the MSAA role of the current view. The role is what assistive
// technologies (ATs) use to determine what behavior to expect from a given
// control.
@@ -138,6 +141,7 @@ class Label : public View {
// appropriately, and returns true if a change was performed successfully.
// Overriden from View.
virtual bool GetAccessibleState(VARIANT* state);
+#endif // defined(OS_WIN)
private:
// These tests call CalculateDrawStringParams in order to verify the
« no previous file with comments | « chrome/views/SConscript ('k') | chrome/views/label.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698