OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple 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) 2009 Girish Ramakrishnan <girish@forwardbias.in> | 4 * Copyright (C) 2009 Girish Ramakrishnan <girish@forwardbias.in> |
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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 void disconnectStream(PluginStream*); | 203 void disconnectStream(PluginStream*); |
204 void streamDidFinishLoading(PluginStream* stream) { disconnectStream(str
eam); } | 204 void streamDidFinishLoading(PluginStream* stream) { disconnectStream(str
eam); } |
205 | 205 |
206 // Widget functions | 206 // Widget functions |
207 virtual void setFrameRect(const IntRect&); | 207 virtual void setFrameRect(const IntRect&); |
208 virtual void frameRectsChanged(); | 208 virtual void frameRectsChanged(); |
209 virtual void setFocus(bool); | 209 virtual void setFocus(bool); |
210 virtual void show(); | 210 virtual void show(); |
211 virtual void hide(); | 211 virtual void hide(); |
212 virtual void paint(GraphicsContext*, const IntRect&); | 212 virtual void paint(GraphicsContext*, const IntRect&); |
| 213 virtual void clipRectChanged() OVERRIDE; |
213 | 214 |
214 // This method is used by plugins on all platforms to obtain a clip rect
that includes clips set by WebCore, | 215 // This method is used by plugins on all platforms to obtain a clip rect
that includes clips set by WebCore, |
215 // e.g., in overflow:auto sections. The clip rects coordinates are in t
he containing window's coordinate space. | 216 // e.g., in overflow:auto sections. The clip rects coordinates are in t
he containing window's coordinate space. |
216 // This clip includes any clips that the widget itself sets up for its c
hildren. | 217 // This clip includes any clips that the widget itself sets up for its c
hildren. |
217 IntRect windowClipRect() const; | 218 IntRect windowClipRect() const; |
218 | 219 |
219 virtual void handleEvent(Event*); | 220 virtual void handleEvent(Event*); |
220 virtual void setParent(ScrollView*); | 221 virtual void setParent(ScrollView*); |
221 virtual void setParentVisible(bool); | 222 virtual void setParentVisible(bool); |
222 | 223 |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 bool m_isJavaScriptPaused; | 468 bool m_isJavaScriptPaused; |
468 | 469 |
469 bool m_haveCalledSetWindow; | 470 bool m_haveCalledSetWindow; |
470 | 471 |
471 static PluginView* s_currentPluginView; | 472 static PluginView* s_currentPluginView; |
472 }; | 473 }; |
473 | 474 |
474 } // namespace WebCore | 475 } // namespace WebCore |
475 | 476 |
476 #endif | 477 #endif |
OLD | NEW |