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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 if (m_client) | 390 if (m_client) |
391 m_client->didInvalidateRect(paintRect); | 391 m_client->didInvalidateRect(paintRect); |
392 if (m_rootLayer) | 392 if (m_rootLayer) |
393 m_rootLayer->layer()->invalidateRect(paintRect); | 393 m_rootLayer->layer()->invalidateRect(paintRect); |
394 } | 394 } |
395 | 395 |
396 void WebPopupMenuImpl::scheduleAnimation() | 396 void WebPopupMenuImpl::scheduleAnimation() |
397 { | 397 { |
398 } | 398 } |
399 | 399 |
400 IntRect WebPopupMenuImpl::rootViewToScreen(const IntRect& rect) const | 400 IntRect WebPopupMenuImpl::viewportToScreen(const IntRect& rect) const |
401 { | 401 { |
402 notImplemented(); | 402 notImplemented(); |
403 return IntRect(); | 403 return IntRect(); |
404 } | 404 } |
405 | 405 |
406 WebScreenInfo WebPopupMenuImpl::screenInfo() const | 406 WebScreenInfo WebPopupMenuImpl::screenInfo() const |
407 { | 407 { |
408 return WebScreenInfo(); | 408 return WebScreenInfo(); |
409 } | 409 } |
410 | 410 |
(...skipping 27 matching lines...) Expand all Loading... |
438 DisplayItemList* WebPopupMenuImpl::displayItemList() | 438 DisplayItemList* WebPopupMenuImpl::displayItemList() |
439 { | 439 { |
440 if (!RuntimeEnabledFeatures::slimmingPaintEnabled()) | 440 if (!RuntimeEnabledFeatures::slimmingPaintEnabled()) |
441 return nullptr; | 441 return nullptr; |
442 if (!m_displayItemList) | 442 if (!m_displayItemList) |
443 m_displayItemList = DisplayItemList::create(); | 443 m_displayItemList = DisplayItemList::create(); |
444 return m_displayItemList.get(); | 444 return m_displayItemList.get(); |
445 } | 445 } |
446 | 446 |
447 } // namespace blink | 447 } // namespace blink |
OLD | NEW |