| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 PassOwnPtr<Chrome> Chrome::create(Page* page, ChromeClient* client) | 62 PassOwnPtr<Chrome> Chrome::create(Page* page, ChromeClient* client) |
| 63 { | 63 { |
| 64 return adoptPtr(new Chrome(page, client)); | 64 return adoptPtr(new Chrome(page, client)); |
| 65 } | 65 } |
| 66 | 66 |
| 67 void Chrome::invalidateRect(const IntRect& updateRect) | 67 void Chrome::invalidateRect(const IntRect& updateRect) |
| 68 { | 68 { |
| 69 m_client->invalidateRect(updateRect); | 69 m_client->invalidateRect(updateRect); |
| 70 } | 70 } |
| 71 | 71 |
| 72 IntRect Chrome::rootViewToScreen(const IntRect& rect) const | 72 IntRect Chrome::viewportToScreen(const IntRect& rect) const |
| 73 { | 73 { |
| 74 return m_client->rootViewToScreen(rect); | 74 return m_client->viewportToScreen(rect); |
| 75 } | 75 } |
| 76 | 76 |
| 77 blink::WebScreenInfo Chrome::screenInfo() const | 77 blink::WebScreenInfo Chrome::screenInfo() const |
| 78 { | 78 { |
| 79 return m_client->screenInfo(); | 79 return m_client->screenInfo(); |
| 80 } | 80 } |
| 81 | 81 |
| 82 void Chrome::contentsSizeChanged(LocalFrame* frame, const IntSize& size) const | 82 void Chrome::contentsSizeChanged(LocalFrame* frame, const IntSize& size) const |
| 83 { | 83 { |
| 84 m_client->contentsSizeChanged(frame, size); | 84 m_client->contentsSizeChanged(frame, size); |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 { | 408 { |
| 409 m_client->registerViewportLayers(); | 409 m_client->registerViewportLayers(); |
| 410 } | 410 } |
| 411 | 411 |
| 412 void Chrome::willBeDestroyed() | 412 void Chrome::willBeDestroyed() |
| 413 { | 413 { |
| 414 m_client->chromeDestroyed(); | 414 m_client->chromeDestroyed(); |
| 415 } | 415 } |
| 416 | 416 |
| 417 } // namespace blink | 417 } // namespace blink |
| OLD | NEW |