| 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 { | 336 { |
| 337 if (m_webView->client()) | 337 if (m_webView->client()) |
| 338 m_webView->client()->didChangeCursor(cursor); | 338 m_webView->client()->didChangeCursor(cursor); |
| 339 } | 339 } |
| 340 | 340 |
| 341 String ChromeClientImpl::acceptLanguages() | 341 String ChromeClientImpl::acceptLanguages() |
| 342 { | 342 { |
| 343 return m_webView->client()->acceptLanguages(); | 343 return m_webView->client()->acceptLanguages(); |
| 344 } | 344 } |
| 345 | 345 |
| 346 bool ChromeClientImpl::paintCustomOverhangArea(GraphicsContext* context, const I
ntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRe
ct& dirtyRect) | |
| 347 { | |
| 348 return false; | |
| 349 } | |
| 350 | |
| 351 GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const | 346 GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const |
| 352 { | 347 { |
| 353 return m_webView->graphicsLayerFactory(); | 348 return m_webView->graphicsLayerFactory(); |
| 354 } | 349 } |
| 355 | 350 |
| 356 void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer) | 351 void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer) |
| 357 { | 352 { |
| 358 m_webView->setRootGraphicsLayer(rootLayer); | 353 m_webView->setRootGraphicsLayer(rootLayer); |
| 359 } | 354 } |
| 360 | 355 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 webFrame->client()->forwardInputEvent(&webEvent); | 411 webFrame->client()->forwardInputEvent(&webEvent); |
| 417 } else if (event->isWheelEvent()) { | 412 } else if (event->isWheelEvent()) { |
| 418 WebMouseWheelEventBuilder webEvent(webFrame->frameView(), 0, *static_cas
t<WheelEvent*>(event)); | 413 WebMouseWheelEventBuilder webEvent(webFrame->frameView(), 0, *static_cas
t<WheelEvent*>(event)); |
| 419 if (webEvent.type == WebInputEvent::Undefined) | 414 if (webEvent.type == WebInputEvent::Undefined) |
| 420 return; | 415 return; |
| 421 webFrame->client()->forwardInputEvent(&webEvent); | 416 webFrame->client()->forwardInputEvent(&webEvent); |
| 422 } | 417 } |
| 423 } | 418 } |
| 424 | 419 |
| 425 } // namespace blink | 420 } // namespace blink |
| OLD | NEW |