| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 WebLocalFrameImpl* frame = WebLocalFrameImpl::fromFrame(localFrame); | 202 WebLocalFrameImpl* frame = WebLocalFrameImpl::fromFrame(localFrame); |
| 203 if (frame && frame->client()) { | 203 if (frame && frame->client()) { |
| 204 frame->client()->didAddMessageToConsole( | 204 frame->client()->didAddMessageToConsole( |
| 205 WebConsoleMessage(static_cast<WebConsoleMessage::Level>(level), mess
age), | 205 WebConsoleMessage(static_cast<WebConsoleMessage::Level>(level), mess
age), |
| 206 sourceID, | 206 sourceID, |
| 207 lineNumber, | 207 lineNumber, |
| 208 stackTrace); | 208 stackTrace); |
| 209 } | 209 } |
| 210 } | 210 } |
| 211 | 211 |
| 212 void ChromeClientImpl::scheduleAnimation() | 212 void ChromeClientImpl::scheduleVisualUpdate() |
| 213 { | 213 { |
| 214 m_webView->scheduleAnimation(); | 214 m_webView->scheduleVisualUpdate(); |
| 215 } | 215 } |
| 216 | 216 |
| 217 IntRect ChromeClientImpl::rootViewToScreen(const IntRect& rect) const | 217 IntRect ChromeClientImpl::rootViewToScreen(const IntRect& rect) const |
| 218 { | 218 { |
| 219 IntRect screenRect(rect); | 219 IntRect screenRect(rect); |
| 220 | 220 |
| 221 if (m_webView->client()) { | 221 if (m_webView->client()) { |
| 222 WebRect windowRect = m_webView->client()->windowRect(); | 222 WebRect windowRect = m_webView->client()->windowRect(); |
| 223 screenRect.move(windowRect.x, windowRect.y); | 223 screenRect.move(windowRect.x, windowRect.y); |
| 224 } | 224 } |
| (...skipping 23 matching lines...) Expand all Loading... |
| 248 String ChromeClientImpl::acceptLanguages() | 248 String ChromeClientImpl::acceptLanguages() |
| 249 { | 249 { |
| 250 return m_webView->client()->acceptLanguages(); | 250 return m_webView->client()->acceptLanguages(); |
| 251 } | 251 } |
| 252 | 252 |
| 253 void ChromeClientImpl::willSetInputMethodState() | 253 void ChromeClientImpl::willSetInputMethodState() |
| 254 { | 254 { |
| 255 } | 255 } |
| 256 | 256 |
| 257 } // namespace blink | 257 } // namespace blink |
| OLD | NEW |