| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 void* ChromeClientImpl::webView() const | 128 void* ChromeClientImpl::webView() const |
| 129 { | 129 { |
| 130 return static_cast<void*>(m_webView); | 130 return static_cast<void*>(m_webView); |
| 131 } | 131 } |
| 132 | 132 |
| 133 void ChromeClientImpl::chromeDestroyed() | 133 void ChromeClientImpl::chromeDestroyed() |
| 134 { | 134 { |
| 135 // Our lifetime is bound to the WebViewImpl. | 135 // Our lifetime is bound to the WebViewImpl. |
| 136 } | 136 } |
| 137 | 137 |
| 138 void ChromeClientImpl::setWindowRectInternal(const IntRect& r) | 138 void ChromeClientImpl::setWindowRect(const IntRect& r) |
| 139 { | 139 { |
| 140 if (m_webView->client()) | 140 if (m_webView->client()) |
| 141 m_webView->client()->setWindowRect(r); | 141 m_webView->client()->setWindowRect(r); |
| 142 } | 142 } |
| 143 | 143 |
| 144 IntRect ChromeClientImpl::windowRect() | 144 IntRect ChromeClientImpl::windowRect() |
| 145 { | 145 { |
| 146 WebRect rect; | 146 WebRect rect; |
| 147 if (m_webView->client()) | 147 if (m_webView->client()) |
| 148 rect = m_webView->client()->rootWindowRect(); | 148 rect = m_webView->client()->rootWindowRect(); |
| (...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 922 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) | 922 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) |
| 923 m_webView->page()->frameHost().pinchViewport().registerLayersWithTreeVie
w(m_webView->layerTreeView()); | 923 m_webView->page()->frameHost().pinchViewport().registerLayersWithTreeVie
w(m_webView->layerTreeView()); |
| 924 } | 924 } |
| 925 | 925 |
| 926 void ChromeClientImpl::didUpdateTopControls() const | 926 void ChromeClientImpl::didUpdateTopControls() const |
| 927 { | 927 { |
| 928 m_webView->didUpdateTopControls(); | 928 m_webView->didUpdateTopControls(); |
| 929 } | 929 } |
| 930 | 930 |
| 931 } // namespace blink | 931 } // namespace blink |
| OLD | NEW |