OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // | 105 // |
106 // See http://www.w3.org/TR/html4/interact/forms.html#h-17.11.1 | 106 // See http://www.w3.org/TR/html4/interact/forms.html#h-17.11.1 |
107 inline Node* findFocusableNode(FocusDirection, FocusNavigationScope, Node* s
tart); | 107 inline Node* findFocusableNode(FocusDirection, FocusNavigationScope, Node* s
tart); |
108 | 108 |
109 Node* nextFocusableNode(FocusNavigationScope, Node* start); | 109 Node* nextFocusableNode(FocusNavigationScope, Node* start); |
110 Node* previousFocusableNode(FocusNavigationScope, Node* start); | 110 Node* previousFocusableNode(FocusNavigationScope, Node* start); |
111 | 111 |
112 Node* findNodeWithExactTabIndex(Node* start, int tabIndex, FocusDirection); | 112 Node* findNodeWithExactTabIndex(Node* start, int tabIndex, FocusDirection); |
113 | 113 |
114 bool advanceFocusDirectionallyInContainer(Node* container, const LayoutRect&
startingRect, FocusDirection); | 114 bool advanceFocusDirectionallyInContainer(Node* container, const LayoutRect&
startingRect, FocusDirection); |
115 void findFocusCandidateInContainer(Node* container, const LayoutRect& starti
ngRect, FocusDirection, FocusCandidate& closest); | 115 void findFocusCandidateInContainer(Node& container, const LayoutRect& starti
ngRect, FocusDirection, FocusCandidate& closest); |
116 | 116 |
117 Page* m_page; | 117 Page* m_page; |
118 RefPtr<Frame> m_focusedFrame; | 118 RefPtr<Frame> m_focusedFrame; |
119 bool m_isActive; | 119 bool m_isActive; |
120 bool m_isFocused; | 120 bool m_isFocused; |
121 bool m_isChangingFocusedFrame; | 121 bool m_isChangingFocusedFrame; |
122 bool m_containingWindowIsVisible; | 122 bool m_containingWindowIsVisible; |
123 | 123 |
124 }; | 124 }; |
125 | 125 |
126 } // namespace WebCore | 126 } // namespace WebCore |
127 | 127 |
128 #endif // FocusController_h | 128 #endif // FocusController_h |
OLD | NEW |