| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 2085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2096 void WebViewImpl::enterFullScreenForElement(Element* element) | 2096 void WebViewImpl::enterFullScreenForElement(Element* element) |
| 2097 { | 2097 { |
| 2098 m_fullscreenController->enterFullScreenForElement(element); | 2098 m_fullscreenController->enterFullScreenForElement(element); |
| 2099 } | 2099 } |
| 2100 | 2100 |
| 2101 void WebViewImpl::exitFullScreenForElement(Element* element) | 2101 void WebViewImpl::exitFullScreenForElement(Element* element) |
| 2102 { | 2102 { |
| 2103 m_fullscreenController->exitFullScreenForElement(element); | 2103 m_fullscreenController->exitFullScreenForElement(element); |
| 2104 } | 2104 } |
| 2105 | 2105 |
| 2106 void WebViewImpl::clearCompositedSelection() | |
| 2107 { | |
| 2108 if (m_layerTreeView) | |
| 2109 m_layerTreeView->clearSelection(); | |
| 2110 } | |
| 2111 | |
| 2112 void WebViewImpl::updateCompositedSelection(const WebSelection& selection) | |
| 2113 { | |
| 2114 if (m_layerTreeView) | |
| 2115 m_layerTreeView->registerSelection(selection); | |
| 2116 } | |
| 2117 | |
| 2118 bool WebViewImpl::hasHorizontalScrollbar() | 2106 bool WebViewImpl::hasHorizontalScrollbar() |
| 2119 { | 2107 { |
| 2120 return mainFrameImpl()->frameView()->horizontalScrollbar(); | 2108 return mainFrameImpl()->frameView()->horizontalScrollbar(); |
| 2121 } | 2109 } |
| 2122 | 2110 |
| 2123 bool WebViewImpl::hasVerticalScrollbar() | 2111 bool WebViewImpl::hasVerticalScrollbar() |
| 2124 { | 2112 { |
| 2125 return mainFrameImpl()->frameView()->verticalScrollbar(); | 2113 return mainFrameImpl()->frameView()->verticalScrollbar(); |
| 2126 } | 2114 } |
| 2127 | 2115 |
| (...skipping 2490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4618 return nullptr; | 4606 return nullptr; |
| 4619 return focusedFrame; | 4607 return focusedFrame; |
| 4620 } | 4608 } |
| 4621 | 4609 |
| 4622 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const | 4610 LocalFrame* WebViewImpl::focusedLocalFrameAvailableForIme() const |
| 4623 { | 4611 { |
| 4624 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; | 4612 return m_imeAcceptEvents ? focusedLocalFrameInWidget() : nullptr; |
| 4625 } | 4613 } |
| 4626 | 4614 |
| 4627 } // namespace blink | 4615 } // namespace blink |
| OLD | NEW |