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

Side by Side Diff: Source/modules/accessibility/AXRenderObject.h

Issue 753663003: Input type file should return ButtonRole. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // Overridden from AXObject. 75 // Overridden from AXObject.
76 // 76 //
77 77
78 virtual void init() override; 78 virtual void init() override;
79 virtual void detach() override; 79 virtual void detach() override;
80 virtual bool isDetached() const override { return !m_renderer; } 80 virtual bool isDetached() const override { return !m_renderer; }
81 virtual bool isAXRenderObject() const override { return true; } 81 virtual bool isAXRenderObject() const override { return true; }
82 82
83 // Check object role or purpose. 83 // Check object role or purpose.
84 virtual bool isAttachment() const override; 84 virtual bool isAttachment() const override;
85 virtual bool isFileUploadButton() const override;
86 virtual bool isLinked() const override; 85 virtual bool isLinked() const override;
87 virtual bool isLoaded() const override; 86 virtual bool isLoaded() const override;
88 virtual bool isOffScreen() const override; 87 virtual bool isOffScreen() const override;
89 virtual bool isReadOnly() const override; 88 virtual bool isReadOnly() const override;
90 virtual bool isVisited() const override; 89 virtual bool isVisited() const override;
91 90
92 // Check object state. 91 // Check object state.
93 virtual bool isFocused() const override; 92 virtual bool isFocused() const override;
94 virtual bool isSelected() const override; 93 virtual bool isSelected() const override;
95 94
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 VisibleSelection selection() const; 218 VisibleSelection selection() const;
220 int indexForVisiblePosition(const VisiblePosition&) const; 219 int indexForVisiblePosition(const VisiblePosition&) const;
221 void accessibilityChildrenFromAttribute(QualifiedName attr, AccessibilityChi ldrenVector&) const; 220 void accessibilityChildrenFromAttribute(QualifiedName attr, AccessibilityChi ldrenVector&) const;
222 }; 221 };
223 222
224 DEFINE_AX_OBJECT_TYPE_CASTS(AXRenderObject, isAXRenderObject()); 223 DEFINE_AX_OBJECT_TYPE_CASTS(AXRenderObject, isAXRenderObject());
225 224
226 } // namespace blink 225 } // namespace blink
227 226
228 #endif // AXRenderObject_h 227 #endif // AXRenderObject_h
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXObject.h ('k') | Source/modules/accessibility/AXRenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698