| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 IntRect convertFromContainingWindow(const IntRect&) const; | 203 IntRect convertFromContainingWindow(const IntRect&) const; |
| 204 | 204 |
| 205 IntPoint convertToContainingWindow(const IntPoint&) const; | 205 IntPoint convertToContainingWindow(const IntPoint&) const; |
| 206 IntPoint convertFromContainingWindow(const IntPoint&) const; | 206 IntPoint convertFromContainingWindow(const IntPoint&) const; |
| 207 | 207 |
| 208 virtual void frameRectsChanged(); | 208 virtual void frameRectsChanged(); |
| 209 | 209 |
| 210 // Notifies this widget that other widgets on the page have been repositione
d. | 210 // Notifies this widget that other widgets on the page have been repositione
d. |
| 211 virtual void widgetPositionsUpdated() {} | 211 virtual void widgetPositionsUpdated() {} |
| 212 | 212 |
| 213 // Notifies this widget that its clip rect changed. |
| 214 virtual void clipRectChanged() { } |
| 215 |
| 213 // Whether transforms affect the frame rect. FIXME: We get rid of this and h
ave | 216 // Whether transforms affect the frame rect. FIXME: We get rid of this and h
ave |
| 214 // the frame rects be the same no matter what transforms are applied. | 217 // the frame rects be the same no matter what transforms are applied. |
| 215 virtual bool transformsAffectFrameRect() { return true; } | 218 virtual bool transformsAffectFrameRect() { return true; } |
| 216 | 219 |
| 217 #if PLATFORM(MAC) | 220 #if PLATFORM(MAC) |
| 218 NSView* getOuterView() const; | 221 NSView* getOuterView() const; |
| 219 | 222 |
| 220 void removeFromSuperview(); | 223 void removeFromSuperview(); |
| 221 #endif | 224 #endif |
| 222 | 225 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 | 313 |
| 311 inline void Widget::retainPlatformWidget() | 314 inline void Widget::retainPlatformWidget() |
| 312 { | 315 { |
| 313 } | 316 } |
| 314 | 317 |
| 315 #endif | 318 #endif |
| 316 | 319 |
| 317 } // namespace WebCore | 320 } // namespace WebCore |
| 318 | 321 |
| 319 #endif // Widget_h | 322 #endif // Widget_h |
| OLD | NEW |