| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. | 3 * Copyright (C) 2014 Opera Software ASA. 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 are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 | 184 |
| 185 void calculateGeometry( | 185 void calculateGeometry( |
| 186 IntRect& windowRect, | 186 IntRect& windowRect, |
| 187 IntRect& clipRect, | 187 IntRect& clipRect, |
| 188 IntRect& unobscuredRect, | 188 IntRect& unobscuredRect, |
| 189 Vector<IntRect>& cutOutRects); | 189 Vector<IntRect>& cutOutRects); |
| 190 void windowCutOutRects( | 190 void windowCutOutRects( |
| 191 const IntRect& frameRect, | 191 const IntRect& frameRect, |
| 192 Vector<IntRect>& cutOutRects); | 192 Vector<IntRect>& cutOutRects); |
| 193 | 193 |
| 194 friend class WebPluginContainerTest; |
| 195 |
| 194 RawPtrWillBeMember<HTMLPlugInElement> m_element; | 196 RawPtrWillBeMember<HTMLPlugInElement> m_element; |
| 195 WebPlugin* m_webPlugin; | 197 WebPlugin* m_webPlugin; |
| 196 | 198 |
| 197 WebLayer* m_webLayer; | 199 WebLayer* m_webLayer; |
| 198 | 200 |
| 199 IntRect m_pendingInvalidationRect; | 201 IntRect m_pendingInvalidationRect; |
| 200 | 202 |
| 201 TouchEventRequestType m_touchEventRequestType; | 203 TouchEventRequestType m_touchEventRequestType; |
| 202 bool m_wantsWheelEvents; | 204 bool m_wantsWheelEvents; |
| 203 | 205 |
| 204 bool m_inDispose; | 206 bool m_inDispose; |
| 205 }; | 207 }; |
| 206 | 208 |
| 207 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); | 209 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai
ner(), widget.isPluginContainer()); |
| 208 // Unlike Widget, we need not worry about object type for container. | 210 // Unlike Widget, we need not worry about object type for container. |
| 209 // WebPluginContainerImpl is the only subclass of WebPluginContainer. | 211 // WebPluginContainerImpl is the only subclass of WebPluginContainer. |
| 210 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); | 212 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t
rue); |
| 211 | 213 |
| 212 } // namespace blink | 214 } // namespace blink |
| 213 | 215 |
| 214 #endif | 216 #endif |
| OLD | NEW |