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 18 matching lines...) Expand all Loading... |
29 #include "core/page/FocusType.h" | 29 #include "core/page/FocusType.h" |
30 #include "platform/geometry/LayoutRect.h" | 30 #include "platform/geometry/LayoutRect.h" |
31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
32 #include "wtf/Forward.h" | 32 #include "wtf/Forward.h" |
33 #include "wtf/Noncopyable.h" | 33 #include "wtf/Noncopyable.h" |
34 #include "wtf/RefPtr.h" | 34 #include "wtf/RefPtr.h" |
35 | 35 |
36 namespace blink { | 36 namespace blink { |
37 | 37 |
38 struct FocusCandidate; | 38 struct FocusCandidate; |
39 class Document; | |
40 class Element; | 39 class Element; |
41 class Frame; | 40 class Frame; |
42 class HTMLFrameOwnerElement; | 41 class HTMLFrameOwnerElement; |
43 class HTMLShadowElement; | 42 class HTMLShadowElement; |
44 class IntRect; | |
45 class KeyboardEvent; | |
46 class Node; | 43 class Node; |
47 class Page; | 44 class Page; |
48 class TreeScope; | 45 class TreeScope; |
49 | 46 |
50 class FocusNavigationScope { | 47 class FocusNavigationScope { |
51 STACK_ALLOCATED(); | 48 STACK_ALLOCATED(); |
52 public: | 49 public: |
53 Node* rootNode() const; | 50 Node* rootNode() const; |
54 Element* owner() const; | 51 Element* owner() const; |
55 static FocusNavigationScope focusNavigationScopeOf(Node*); | 52 static FocusNavigationScope focusNavigationScopeOf(Node*); |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 RawPtrWillBeMember<Page> m_page; | 116 RawPtrWillBeMember<Page> m_page; |
120 RefPtrWillBeMember<Frame> m_focusedFrame; | 117 RefPtrWillBeMember<Frame> m_focusedFrame; |
121 bool m_isActive; | 118 bool m_isActive; |
122 bool m_isFocused; | 119 bool m_isFocused; |
123 bool m_isChangingFocusedFrame; | 120 bool m_isChangingFocusedFrame; |
124 }; | 121 }; |
125 | 122 |
126 } // namespace blink | 123 } // namespace blink |
127 | 124 |
128 #endif // FocusController_h | 125 #endif // FocusController_h |
OLD | NEW |