| 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 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 void WebFrameWidgetImpl::willCloseLayerTreeView() { | 862 void WebFrameWidgetImpl::willCloseLayerTreeView() { |
| 863 if (m_layerTreeView) | 863 if (m_layerTreeView) |
| 864 page()->willCloseLayerTreeView(*m_layerTreeView); | 864 page()->willCloseLayerTreeView(*m_layerTreeView); |
| 865 | 865 |
| 866 setIsAcceleratedCompositingActive(false); | 866 setIsAcceleratedCompositingActive(false); |
| 867 m_mutator = nullptr; | 867 m_mutator = nullptr; |
| 868 m_layerTreeView = nullptr; | 868 m_layerTreeView = nullptr; |
| 869 m_layerTreeViewClosed = true; | 869 m_layerTreeViewClosed = true; |
| 870 } | 870 } |
| 871 | 871 |
| 872 void WebFrameWidgetImpl::didChangeWindowResizerRect() { | |
| 873 if (m_localRoot->frameView()) | |
| 874 m_localRoot->frameView()->windowResizerRectChanged(); | |
| 875 } | |
| 876 | |
| 877 void WebFrameWidgetImpl::didAcquirePointerLock() { | 872 void WebFrameWidgetImpl::didAcquirePointerLock() { |
| 878 page()->pointerLockController().didAcquirePointerLock(); | 873 page()->pointerLockController().didAcquirePointerLock(); |
| 879 } | 874 } |
| 880 | 875 |
| 881 void WebFrameWidgetImpl::didNotAcquirePointerLock() { | 876 void WebFrameWidgetImpl::didNotAcquirePointerLock() { |
| 882 page()->pointerLockController().didNotAcquirePointerLock(); | 877 page()->pointerLockController().didNotAcquirePointerLock(); |
| 883 } | 878 } |
| 884 | 879 |
| 885 void WebFrameWidgetImpl::didLosePointerLock() { | 880 void WebFrameWidgetImpl::didLosePointerLock() { |
| 886 page()->pointerLockController().didLosePointerLock(); | 881 page()->pointerLockController().didLosePointerLock(); |
| (...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1521 return flags; | 1516 return flags; |
| 1522 } | 1517 } |
| 1523 | 1518 |
| 1524 LocalFrame* WebFrameWidgetImpl::focusedLocalFrameAvailableForIme() const { | 1519 LocalFrame* WebFrameWidgetImpl::focusedLocalFrameAvailableForIme() const { |
| 1525 if (!m_imeAcceptEvents) | 1520 if (!m_imeAcceptEvents) |
| 1526 return nullptr; | 1521 return nullptr; |
| 1527 return focusedLocalFrameInWidget(); | 1522 return focusedLocalFrameInWidget(); |
| 1528 } | 1523 } |
| 1529 | 1524 |
| 1530 } // namespace blink | 1525 } // namespace blink |
| OLD | NEW |