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

Side by Side Diff: content/browser/accessibility/browser_accessibility.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // aria-selected (selectable) 247 // aria-selected (selectable)
248 // aria-grabbed (grabbable) 248 // aria-grabbed (grabbable)
249 // aria-expanded (expandable) 249 // aria-expanded (expandable)
250 // aria-pressed (toggleable/pressable) -- supports 4th "mixed" state 250 // aria-pressed (toggleable/pressable) -- supports 4th "mixed" state
251 // aria-checked (checkable) -- supports 4th "mixed state" 251 // aria-checked (checkable) -- supports 4th "mixed state"
252 bool GetAriaTristate(const char* attr_name, 252 bool GetAriaTristate(const char* attr_name,
253 bool* is_defined, 253 bool* is_defined,
254 bool* is_mixed) const; 254 bool* is_mixed) const;
255 255
256 // Returns true if the bit corresponding to the given state enum is 1. 256 // Returns true if the bit corresponding to the given state enum is 1.
257 bool HasState(WebKit::WebAXState state_enum) const; 257 bool HasState(blink::WebAXState state_enum) const;
258 258
259 // Returns true if this node is an editable text field of any kind. 259 // Returns true if this node is an editable text field of any kind.
260 bool IsEditableText() const; 260 bool IsEditableText() const;
261 261
262 // Append the text from this node and its children. 262 // Append the text from this node and its children.
263 std::string GetTextRecursive() const; 263 std::string GetTextRecursive() const;
264 264
265 protected: 265 protected:
266 // Perform platform specific initialization. This can be called multiple times 266 // Perform platform specific initialization. This can be called multiple times
267 // during the lifetime of this instance after the members of this base object 267 // during the lifetime of this instance after the members of this base object
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 // immediately return failure. 313 // immediately return failure.
314 bool instance_active_; 314 bool instance_active_;
315 315
316 private: 316 private:
317 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); 317 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
318 }; 318 };
319 319
320 } // namespace content 320 } // namespace content
321 321
322 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 322 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « content/browser/accessibility/accessibility_win_browsertest.cc ('k') | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698