| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 } | 595 } |
| 596 | 596 |
| 597 bool WebPluginContainerImpl::wantsWheelEvents() | 597 bool WebPluginContainerImpl::wantsWheelEvents() |
| 598 { | 598 { |
| 599 return m_wantsWheelEvents; | 599 return m_wantsWheelEvents; |
| 600 } | 600 } |
| 601 | 601 |
| 602 void WebPluginContainerImpl::willDestroyPluginLoadObserver(WebPluginLoadObserver
* observer) | 602 void WebPluginContainerImpl::willDestroyPluginLoadObserver(WebPluginLoadObserver
* observer) |
| 603 { | 603 { |
| 604 size_t pos = m_pluginLoadObservers.find(observer); | 604 size_t pos = m_pluginLoadObservers.find(observer); |
| 605 if (pos == notFound) | 605 if (pos == kNotFound) |
| 606 return; | 606 return; |
| 607 m_pluginLoadObservers.remove(pos); | 607 m_pluginLoadObservers.remove(pos); |
| 608 } | 608 } |
| 609 | 609 |
| 610 ScrollbarGroup* WebPluginContainerImpl::scrollbarGroup() | 610 ScrollbarGroup* WebPluginContainerImpl::scrollbarGroup() |
| 611 { | 611 { |
| 612 if (!m_scrollbarGroup) | 612 if (!m_scrollbarGroup) |
| 613 m_scrollbarGroup = adoptPtr(new ScrollbarGroup(m_element->document().fra
me()->view(), frameRect())); | 613 m_scrollbarGroup = adoptPtr(new ScrollbarGroup(m_element->document().fra
me()->view(), frameRect())); |
| 614 return m_scrollbarGroup.get(); | 614 return m_scrollbarGroup.get(); |
| 615 } | 615 } |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 892 // Take our element and get the clip rect from the enclosing layer and | 892 // Take our element and get the clip rect from the enclosing layer and |
| 893 // frame view. | 893 // frame view. |
| 894 clipRect.intersect( | 894 clipRect.intersect( |
| 895 m_element->document().view()->windowClipRectForFrameOwner(m_element,
true)); | 895 m_element->document().view()->windowClipRectForFrameOwner(m_element,
true)); |
| 896 } | 896 } |
| 897 | 897 |
| 898 return clipRect; | 898 return clipRect; |
| 899 } | 899 } |
| 900 | 900 |
| 901 } // namespace WebKit | 901 } // namespace WebKit |
| OLD | NEW |