| 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 1974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1985 { | 1985 { |
| 1986 m_fullscreenController->exitFullScreenForElement(element); | 1986 m_fullscreenController->exitFullScreenForElement(element); |
| 1987 } | 1987 } |
| 1988 | 1988 |
| 1989 void WebViewImpl::clearCompositedSelectionBounds() | 1989 void WebViewImpl::clearCompositedSelectionBounds() |
| 1990 { | 1990 { |
| 1991 if (m_layerTreeView) | 1991 if (m_layerTreeView) |
| 1992 m_layerTreeView->clearSelection(); | 1992 m_layerTreeView->clearSelection(); |
| 1993 } | 1993 } |
| 1994 | 1994 |
| 1995 void WebViewImpl::updateCompositedSelectionBounds(const WebSelectionBound& ancho
r, const WebSelectionBound& focus) | 1995 void WebViewImpl::updateCompositedSelectionBounds(const WebSelectionBounds& boun
ds) |
| 1996 { | 1996 { |
| 1997 if (m_layerTreeView) | 1997 if (m_layerTreeView) |
| 1998 m_layerTreeView->registerSelection(anchor, focus); | 1998 m_layerTreeView->registerSelection(bounds); |
| 1999 } | 1999 } |
| 2000 | 2000 |
| 2001 bool WebViewImpl::hasHorizontalScrollbar() | 2001 bool WebViewImpl::hasHorizontalScrollbar() |
| 2002 { | 2002 { |
| 2003 return mainFrameImpl()->frameView()->horizontalScrollbar(); | 2003 return mainFrameImpl()->frameView()->horizontalScrollbar(); |
| 2004 } | 2004 } |
| 2005 | 2005 |
| 2006 bool WebViewImpl::hasVerticalScrollbar() | 2006 bool WebViewImpl::hasVerticalScrollbar() |
| 2007 { | 2007 { |
| 2008 return mainFrameImpl()->frameView()->verticalScrollbar(); | 2008 return mainFrameImpl()->frameView()->verticalScrollbar(); |
| (...skipping 2606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4615 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width | 4615 return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width |
| 4616 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); | 4616 || (constraints.minimumScale == constraints.maximumScale && constraints.
minimumScale != -1); |
| 4617 } | 4617 } |
| 4618 | 4618 |
| 4619 void WebViewImpl::forceNextWebGLContextCreationToFail() | 4619 void WebViewImpl::forceNextWebGLContextCreationToFail() |
| 4620 { | 4620 { |
| 4621 WebGLRenderingContext::forceNextWebGLContextCreationToFail(); | 4621 WebGLRenderingContext::forceNextWebGLContextCreationToFail(); |
| 4622 } | 4622 } |
| 4623 | 4623 |
| 4624 } // namespace blink | 4624 } // namespace blink |
| OLD | NEW |