OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. |
3 * Copyright (C) 2008 Collabora Ltd. All rights reserved. | 3 * Copyright (C) 2008 Collabora Ltd. All rights reserved. |
4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 virtual IntPoint convertToContainingView(const IntPoint&) const; | 126 virtual IntPoint convertToContainingView(const IntPoint&) const; |
127 virtual IntPoint convertFromContainingView(const IntPoint&) const; | 127 virtual IntPoint convertFromContainingView(const IntPoint&) const; |
128 | 128 |
129 // Virtual methods to convert points to/from child widgets | 129 // Virtual methods to convert points to/from child widgets |
130 virtual IntPoint convertChildToSelf(const Widget*, const IntPoint&) const; | 130 virtual IntPoint convertChildToSelf(const Widget*, const IntPoint&) const; |
131 virtual IntPoint convertSelfToChild(const Widget*, const IntPoint&) const; | 131 virtual IntPoint convertSelfToChild(const Widget*, const IntPoint&) const; |
132 | 132 |
133 // Notifies this widget that it will no longer be receiving events. | 133 // Notifies this widget that it will no longer be receiving events. |
134 virtual void eventListenersRemoved() { } | 134 virtual void eventListenersRemoved() { } |
135 | 135 |
| 136 #if ENABLE(OILPAN) |
| 137 virtual void detach() { } |
| 138 #endif |
| 139 |
136 private: | 140 private: |
137 Widget* m_parent; | 141 Widget* m_parent; |
138 IntRect m_frame; | 142 IntRect m_frame; |
139 bool m_selfVisible; | 143 bool m_selfVisible; |
140 bool m_parentVisible; | 144 bool m_parentVisible; |
141 }; | 145 }; |
142 | 146 |
143 } // namespace WebCore | 147 } // namespace WebCore |
144 | 148 |
145 #endif // Widget_h | 149 #endif // Widget_h |
OLD | NEW |