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

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

Issue 14740025: Simplify and add caching for accessible bounding box calculation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update comment Created 7 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2010 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual AccessibilityRole roleValue() const { return MenuListOptionRole; } 47 virtual AccessibilityRole roleValue() const { return MenuListOptionRole; }
48 virtual bool canHaveChildren() const { return false; } 48 virtual bool canHaveChildren() const { return false; }
49 49
50 virtual Element* actionElement() const; 50 virtual Element* actionElement() const;
51 virtual bool isEnabled() const; 51 virtual bool isEnabled() const;
52 virtual bool isVisible() const; 52 virtual bool isVisible() const;
53 virtual bool isOffScreen() const; 53 virtual bool isOffScreen() const;
54 virtual bool isSelected() const; 54 virtual bool isSelected() const;
55 virtual void setSelected(bool); 55 virtual void setSelected(bool);
56 virtual bool canSetSelectedAttribute() const; 56 virtual bool canSetSelectedAttribute() const;
57 virtual LayoutRect elementRect() const; 57 virtual LayoutRect elementRect();
58 virtual String stringValue() const; 58 virtual String stringValue() const;
59 virtual bool computeAccessibilityIsIgnored() const; 59 virtual bool computeAccessibilityIsIgnored() const;
60 60
61 RefPtr<HTMLElement> m_element; 61 RefPtr<HTMLElement> m_element;
62 }; 62 };
63 63
64 } // namespace WebCore 64 } // namespace WebCore
65 65
66 #endif // AccessibilityMenuListOption_h 66 #endif // AccessibilityMenuListOption_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698