| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 m_client->runOpenPanel(frame, fileChooser); | 329 m_client->runOpenPanel(frame, fileChooser); |
| 330 } | 330 } |
| 331 | 331 |
| 332 void Chrome::dispatchViewportPropertiesDidChange(const ViewportDescription& desc
ription) const | 332 void Chrome::dispatchViewportPropertiesDidChange(const ViewportDescription& desc
ription) const |
| 333 { | 333 { |
| 334 m_client->dispatchViewportPropertiesDidChange(description); | 334 m_client->dispatchViewportPropertiesDidChange(description); |
| 335 } | 335 } |
| 336 | 336 |
| 337 void Chrome::setCursor(const Cursor& cursor) | 337 void Chrome::setCursor(const Cursor& cursor) |
| 338 { | 338 { |
| 339 m_lastSetMouseCursorForTesting = cursor; |
| 339 m_client->setCursor(cursor); | 340 m_client->setCursor(cursor); |
| 340 } | 341 } |
| 341 | 342 |
| 343 Cursor Chrome::getLastSetCursorForTesting() const |
| 344 { |
| 345 return m_lastSetMouseCursorForTesting; |
| 346 } |
| 347 |
| 342 void Chrome::scheduleAnimation() | 348 void Chrome::scheduleAnimation() |
| 343 { | 349 { |
| 344 m_page->animator().setAnimationFramePending(); | 350 m_page->animator().setAnimationFramePending(); |
| 345 m_client->scheduleAnimation(); | 351 m_client->scheduleAnimation(); |
| 346 } | 352 } |
| 347 | 353 |
| 348 // -------- | 354 // -------- |
| 349 | 355 |
| 350 void Chrome::scheduleAnimationForFrame(LocalFrame* localRoot) | 356 void Chrome::scheduleAnimationForFrame(LocalFrame* localRoot) |
| 351 { | 357 { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 { | 394 { |
| 389 m_client->registerViewportLayers(); | 395 m_client->registerViewportLayers(); |
| 390 } | 396 } |
| 391 | 397 |
| 392 void Chrome::willBeDestroyed() | 398 void Chrome::willBeDestroyed() |
| 393 { | 399 { |
| 394 m_client->chromeDestroyed(); | 400 m_client->chromeDestroyed(); |
| 395 } | 401 } |
| 396 | 402 |
| 397 } // namespace blink | 403 } // namespace blink |
| OLD | NEW |