| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 if (!event->defaultHandled()) | 214 if (!event->defaultHandled()) |
| 215 m_element->Node::defaultEventHandler(event); | 215 m_element->Node::defaultEventHandler(event); |
| 216 } | 216 } |
| 217 | 217 |
| 218 void WebPluginContainerImpl::frameRectsChanged() | 218 void WebPluginContainerImpl::frameRectsChanged() |
| 219 { | 219 { |
| 220 Widget::frameRectsChanged(); | 220 Widget::frameRectsChanged(); |
| 221 reportGeometry(); | 221 reportGeometry(); |
| 222 } | 222 } |
| 223 | 223 |
| 224 void WebPluginContainerImpl::widgetPositionsUpdated() | 224 void WebPluginContainerImpl::widgetGeometriesUpdated() |
| 225 { | 225 { |
| 226 Widget::widgetPositionsUpdated(); | 226 Widget::widgetGeometriesUpdated(); |
| 227 reportGeometry(); | 227 reportGeometry(); |
| 228 } | 228 } |
| 229 | 229 |
| 230 void WebPluginContainerImpl::eventListenersRemoved() | 230 void WebPluginContainerImpl::eventListenersRemoved() |
| 231 { | 231 { |
| 232 // We're no longer registered to receive touch events, so don't try to remov
e | 232 // We're no longer registered to receive touch events, so don't try to remov
e |
| 233 // the touch event handlers in our destructor. | 233 // the touch event handlers in our destructor. |
| 234 m_touchEventRequestType = TouchEventRequestTypeNone; | 234 m_touchEventRequestType = TouchEventRequestTypeNone; |
| 235 } | 235 } |
| 236 | 236 |
| (...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 977 // frame view. | 977 // frame view. |
| 978 computeClipRectsForPlugin(m_element, windowRect, clipRect, unobscuredRec
t); | 978 computeClipRectsForPlugin(m_element, windowRect, clipRect, unobscuredRec
t); |
| 979 } | 979 } |
| 980 getPluginOcclusions(m_element, this->parent(), frameRect(), cutOutRects); | 980 getPluginOcclusions(m_element, this->parent(), frameRect(), cutOutRects); |
| 981 // Convert to the plugin position. | 981 // Convert to the plugin position. |
| 982 for (size_t i = 0; i < cutOutRects.size(); i++) | 982 for (size_t i = 0; i < cutOutRects.size(); i++) |
| 983 cutOutRects[i].move(-frameRect().x(), -frameRect().y()); | 983 cutOutRects[i].move(-frameRect().x(), -frameRect().y()); |
| 984 } | 984 } |
| 985 | 985 |
| 986 } // namespace blinkf | 986 } // namespace blinkf |
| OLD | NEW |