| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 | 290 |
| 291 if (m_layerTreeView) | 291 if (m_layerTreeView) |
| 292 m_layerTreeView->setHasTransparentBackground(isTransparent); | 292 m_layerTreeView->setHasTransparentBackground(isTransparent); |
| 293 } | 293 } |
| 294 | 294 |
| 295 bool WebFrameWidgetImpl::isTransparent() const | 295 bool WebFrameWidgetImpl::isTransparent() const |
| 296 { | 296 { |
| 297 return m_isTransparent; | 297 return m_isTransparent; |
| 298 } | 298 } |
| 299 | 299 |
| 300 void WebFrameWidgetImpl::layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback* cal
lback) | |
| 301 { | |
| 302 m_layerTreeView->layoutAndPaintAsync(callback); | |
| 303 } | |
| 304 | |
| 305 void WebFrameWidgetImpl::compositeAndReadbackAsync(WebCompositeAndReadbackAsyncC
allback* callback) | 300 void WebFrameWidgetImpl::compositeAndReadbackAsync(WebCompositeAndReadbackAsyncC
allback* callback) |
| 306 { | 301 { |
| 307 m_layerTreeView->compositeAndReadbackAsync(callback); | 302 m_layerTreeView->compositeAndReadbackAsync(callback); |
| 308 } | 303 } |
| 309 | 304 |
| 310 void WebFrameWidgetImpl::themeChanged() | 305 void WebFrameWidgetImpl::themeChanged() |
| 311 { | 306 { |
| 312 FrameView* view = m_localRoot->frameView(); | 307 FrameView* view = m_localRoot->frameView(); |
| 313 | 308 |
| 314 WebRect damagedRect(0, 0, m_size.width, m_size.height); | 309 WebRect damagedRect(0, 0, m_size.width, m_size.height); |
| (...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1110 | 1105 |
| 1111 HitTestResult WebFrameWidgetImpl::hitTestResultForRootFramePos(const IntPoint& p
osInRootFrame) | 1106 HitTestResult WebFrameWidgetImpl::hitTestResultForRootFramePos(const IntPoint& p
osInRootFrame) |
| 1112 { | 1107 { |
| 1113 IntPoint docPoint(m_localRoot->frame()->view()->rootFrameToContents(posInRoo
tFrame)); | 1108 IntPoint docPoint(m_localRoot->frame()->view()->rootFrameToContents(posInRoo
tFrame)); |
| 1114 HitTestResult result = m_localRoot->frame()->eventHandler().hitTestResultAtP
oint(docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active); | 1109 HitTestResult result = m_localRoot->frame()->eventHandler().hitTestResultAtP
oint(docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active); |
| 1115 result.setToShadowHostIfInUserAgentShadowRoot(); | 1110 result.setToShadowHostIfInUserAgentShadowRoot(); |
| 1116 return result; | 1111 return result; |
| 1117 } | 1112 } |
| 1118 | 1113 |
| 1119 } // namespace blink | 1114 } // namespace blink |
| OLD | NEW |