| 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 * | 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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 IntRect convertFromContainingWindow(const IntRect&) const; | 199 IntRect convertFromContainingWindow(const IntRect&) const; |
| 200 | 200 |
| 201 IntPoint convertToContainingWindow(const IntPoint&) const; | 201 IntPoint convertToContainingWindow(const IntPoint&) const; |
| 202 IntPoint convertFromContainingWindow(const IntPoint&) const; | 202 IntPoint convertFromContainingWindow(const IntPoint&) const; |
| 203 | 203 |
| 204 virtual void frameRectsChanged(); | 204 virtual void frameRectsChanged(); |
| 205 | 205 |
| 206 // Notifies this widget that other widgets on the page have been repositione
d. | 206 // Notifies this widget that other widgets on the page have been repositione
d. |
| 207 virtual void widgetPositionsUpdated() {} | 207 virtual void widgetPositionsUpdated() {} |
| 208 | 208 |
| 209 // Notifies this widget that its clip rect changed. |
| 210 virtual void clipRectChanged() { } |
| 211 |
| 209 // Whether transforms affect the frame rect. FIXME: We get rid of this and h
ave | 212 // Whether transforms affect the frame rect. FIXME: We get rid of this and h
ave |
| 210 // the frame rects be the same no matter what transforms are applied. | 213 // the frame rects be the same no matter what transforms are applied. |
| 211 virtual bool transformsAffectFrameRect() { return true; } | 214 virtual bool transformsAffectFrameRect() { return true; } |
| 212 | 215 |
| 213 #if PLATFORM(MAC) | 216 #if PLATFORM(MAC) |
| 214 NSView* getOuterView() const; | 217 NSView* getOuterView() const; |
| 215 | 218 |
| 216 void removeFromSuperview(); | 219 void removeFromSuperview(); |
| 217 #endif | 220 #endif |
| 218 | 221 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 | 309 |
| 307 inline void Widget::retainPlatformWidget() | 310 inline void Widget::retainPlatformWidget() |
| 308 { | 311 { |
| 309 } | 312 } |
| 310 | 313 |
| 311 #endif | 314 #endif |
| 312 | 315 |
| 313 } // namespace WebCore | 316 } // namespace WebCore |
| 314 | 317 |
| 315 #endif // Widget_h | 318 #endif // Widget_h |
| OLD | NEW |