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

Side by Side Diff: Source/core/accessibility/AXObject.h

Issue 137783006: AX: remove unused AXObject::selectedText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/accessibility/AXRenderObject.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nuanti Ltd. 3 * Copyright (C) 2008 Nuanti Ltd.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 virtual FrameView* documentFrameView() const; 507 virtual FrameView* documentFrameView() const;
508 virtual Element* anchorElement() const { return 0; } 508 virtual Element* anchorElement() const { return 0; }
509 virtual Element* actionElement() const { return 0; } 509 virtual Element* actionElement() const { return 0; }
510 virtual Widget* widgetForAttachmentView() const { return 0; } 510 virtual Widget* widgetForAttachmentView() const { return 0; }
511 String language() const; 511 String language() const;
512 bool hasAttribute(const QualifiedName&) const; 512 bool hasAttribute(const QualifiedName&) const;
513 const AtomicString& getAttribute(const QualifiedName&) const; 513 const AtomicString& getAttribute(const QualifiedName&) const;
514 514
515 // Selected text. 515 // Selected text.
516 virtual PlainTextRange selectedTextRange() const { return PlainTextRange(); } 516 virtual PlainTextRange selectedTextRange() const { return PlainTextRange(); }
517 virtual String selectedText() const { return String(); }
518 517
519 // Modify or take an action on an object. 518 // Modify or take an action on an object.
520 virtual void increment() { } 519 virtual void increment() { }
521 virtual void decrement() { } 520 virtual void decrement() { }
522 bool performDefaultAction() const { return press(); } 521 bool performDefaultAction() const { return press(); }
523 virtual bool press() const; 522 virtual bool press() const;
524 // Make this object visible by scrolling as many nested scrollable views as needed. 523 // Make this object visible by scrolling as many nested scrollable views as needed.
525 void scrollToMakeVisible() const; 524 void scrollToMakeVisible() const;
526 // Same, but if the whole object can't be made visible, try for this subrect , in local coordinates. 525 // Same, but if the whole object can't be made visible, try for this subrect , in local coordinates.
527 void scrollToMakeVisibleWithSubFocus(const IntRect&) const; 526 void scrollToMakeVisibleWithSubFocus(const IntRect&) const;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 575
577 bool m_detached; 576 bool m_detached;
578 }; 577 };
579 578
580 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 579 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
581 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 580 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
582 581
583 } // namespace WebCore 582 } // namespace WebCore
584 583
585 #endif // AXObject_h 584 #endif // AXObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/accessibility/AXRenderObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698