Changeset 109590 in webkit
- Timestamp:
- Mar 2, 2012 11:44:57 AM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r109570 r109590 1 2012-03-02 Dana Jansens <danakj@chromium.org> 2 3 [Chromium] Allow plugins to set opaque() on their platform layer 4 https://bugs.webkit.org/show_bug.cgi?id=80171 5 6 Reviewed by James Robinson. 7 8 * public/WebPluginContainer.h: 9 (WebPluginContainer): 10 * src/WebPluginContainerImpl.cpp: 11 (WebKit::WebPluginContainerImpl::setOpaque): 12 (WebKit): 13 * src/WebPluginContainerImpl.h: 14 (WebPluginContainerImpl): 15 1 16 2012-03-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> 2 17 -
trunk/Source/WebKit/chromium/public/WebPluginContainer.h
r107960 r109590 101 101 virtual void zoomLevelChanged(double zoomLevel) = 0; 102 102 103 // Notifies whether the contents of the plugin are entirely opaque. 104 virtual void setOpaque(bool) = 0; 105 103 106 // Determines whether the given rectangle in this plugin is above all other 104 107 // content. The rectangle is in the plugin's coordinate system. -
trunk/Source/WebKit/chromium/src/WebPluginContainerImpl.cpp
r109469 r109590 436 436 } 437 437 438 void WebPluginContainerImpl::setOpaque(bool opaque) 439 { 440 #if USE(ACCELERATED_COMPOSITING) 441 if (m_platformLayer) 442 m_platformLayer->setOpaque(opaque); 443 #endif 444 } 445 438 446 bool WebPluginContainerImpl::isRectTopmost(const WebRect& rect) 439 447 { -
trunk/Source/WebKit/chromium/src/WebPluginContainerImpl.h
r107960 r109590 105 105 virtual void loadFrameRequest(const WebURLRequest&, const WebString& target, bool notifyNeeded, void* notifyData); 106 106 virtual void zoomLevelChanged(double zoomLevel); 107 virtual void setOpaque(bool); 107 108 virtual bool isRectTopmost(const WebRect&); 108 109
Note: See TracChangeset
for help on using the changeset viewer.